hadoop出现Cannot initialize Cluster. Please check your configuration for mapreduce.framework.name
2014-09-24 20:42
405 查看
PriviledgedActionException as:man (auth:SIMPLE) cause:java.io.IOException: Cannot initialize Cluster. Please check your configuration for mapreduce.framework.name and the correspond server addresses. 2014-09-24 12:57:41,567 ERROR [RunService.java:206] - [thread-id:17 thread-name:Thread-6] threadId:17,Excpetion:java.io.IOException: Cannot initialize Cluster. Please check your configuration for mapreduce.framework.name and the correspond server addresses. at org.apache.hadoop.mapreduce.Cluster.initialize(Cluster.java:121) at org.apache.hadoop.mapreduce.Cluster.<init>(Cluster.java:83) at org.apache.hadoop.mapreduce.Cluster.<init>(Cluster.java:76) at org.apache.hadoop.mapreduce.Job$10.run(Job.java:1186) at org.apache.hadoop.mapreduce.Job$10.run(Job.java:1182) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAs(Subject.java:415) at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1332) at org.apache.hadoop.mapreduce.Job.connect(Job.java:1181) at org.apache.hadoop.mapreduce.Job.submit(Job.java:1210) at org.apache.hadoop.mapreduce.Job.waitForCompletion(Job.java:1234) at com.pzoom.hadoop.nerd.biz.job.DomainStatsJob.startJob(DomainStatsJob.java:78) at com.pzoom.hadoop.nerd.biz.job.DomainStatsJob.run(DomainStatsJob.java:56) at com.pzoom.hadoop.nerd.thrift.service.RunService.runMapReduce(RunService.java:141) at com.pzoom.hadoop.nerd.thrift.service.RunService.run(RunService.java:191) at java.lang.Thread.run(Thread.java:745)
Hadoop在执行job任务时,有时容易出现这个错误,但是我们在编译的时间并没有发生到什么异常和错误,但是在执行的过程中可能会出现这个初始化异常,一看这个错误,好像是自己配置的地址不对,但是出现这类异常大部分是因为缺少像这样的jar包 :hadoop-mapreduce-client-common
还有一种可能就是你的jar包引入的版本不正确导致的。或者缺少jar包,仔细根据异常去排查,最终都会解决这类错误。
相关文章推荐
- Cannot initialize Cluster. Please check your configuration for mapreduce.framework.name and the correspond server addresses.
- 解决Cannot initialize Cluster. Please check your configuration for mapreduce.framework.name and the co
- Cannot initialize Cluster. Please check your configuration for mapreduce.framework.name and the co
- Hadoop1.x程序升级到Hadoop2.x需要的依赖库,Cannot initialize Cluster.Please check your configuration for ma
- 【解决办法】Cannot initialize Cluster. Please check you..
- PK3Err0040: The target device is not ready for debugging. Please check your configuration bit settin
- 运行phpize时出现:Cannot find autoconf. Please check your autoconf installation
- phpmyadmin出现“Cannot start session without errors, please check errors given in your PHP and/or webs”
- Cannot load mcrypt extension. Please check your PHP configuration
- 解决configure: error: Cannot find pam headers. Please check if your system is ready for pam module development
- unity 4 Please check your configuration file and verify this type name.
- windows下maven环境开发hadoop mapreduce程序报Cannot initialize Cluster
- phpmyadmin (Invalid hostname for server 1. Please review your configuration)
- 运行phpize时出现:Cannot find autoconf. Please check your autoconf installation
- 在maven中新建hadoop项目说明与mapreduce.framework.name的initialize异常
- configuration for mapreduce.framework.name and the correspond server addresses.
- mysql远程访问出现MySQL错误1042-Can't get hostname for your address解决方法
- phpMyAdmin 表底部出现 Connection for controluser as defined in your configuration failed.
- phpmyadmin错误:Cannot start session without errors, please check errors given in your PHP and/or we
- Cannot find autoconf. Please check your autoconf installation and the $PHP_AUTOCONF environment variable. Then, rerun this scrip