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 is prone to this error when executing job tasks, but we didn't encounter any exceptions or errors during compilation, however, this initialization exception may occur during execution. It seems that the address configured by myself is incorrect, but most of these exceptions are caused by the lack of jar packages like this: hadoop-mapreduce-client-common
Another possibility is that the version introduced by your jar package is incorrect. Or, if the jar package is missing, you can troubleshoot the exception carefully, and the errors will eventually be solved.
Hadoop shows Cannot initialize cluster. Please check your configuration for mapreduce. Framework. Name