Hadoop shows Cannot initialize cluster. Please check your configuration for mapreduce. Framework. Name

Source: Internet
Author: User
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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.