Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
Hive >> mail # user >> Exception when attempting to run a mapReduce job


Copy link to this message
-
Exception when attempting to run a mapReduce job
Hi!  I am getting the following error when attempting to run a mapReduce job.  Any suggestions on how to fix this?

14/07/21 18:00:10 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
14/07/21 18:00:11 INFO zookeeper.RecoverableZooKeeper: Process identifier=hconnection-0x6b12da40 connecting to ZooKeeper ensemble=localhost:2181
14/07/21 18:00:11 WARN security.UserGroupInformation: PriviledgedActionException as:myuser (auth:SIMPLE) cause:java.io.IOException: Cannot initialize Cluster. Please check your configuration for mapreduce.framework.name and the correspond server addresses.
Exception in thread "main" 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:120)
                at org.apache.hadoop.mapreduce.Cluster.<init>(Cluster.java:82)
                at org.apache.hadoop.mapreduce.Cluster.<init>(Cluster.java:75)
                at org.apache.hadoop.mapreduce.Job$9.run(Job.java:1265)
                at org.apache.hadoop.mapreduce.Job$9.run(Job.java:1261)
                at java.security.AccessController.doPrivileged(Native Method)
                at javax.security.auth.Subject.doAs(Subject.java:396)
                at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1548)
                at org.apache.hadoop.mapreduce.Job.connect(Job.java:1260)
                at org.apache.hadoop.mapreduce.Job.submit(Job.java:1289)
                at org.apache.hadoop.mapreduce.Job.waitForCompletion(Job.java:1313)
                at tData.cImport.main(cImport.java:86)

Properties from mapred-site.xml:

  <property>
    <name>mapred.jobtracker.address</name>
      <value>localhost:8021</value>
  </property>
  <property>
    <name>mapreduce.framework.name</name>
       <value>yarn</value>
  </property>

Carlotta Hicks

 
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB