AnsweredAssumed Answered

mapreduce job failed

Question asked by satish on Dec 23, 2012
Latest reply on Apr 15, 2015 by nishant5s
Hi All,

I am beginner in hadoop and installed CDH4.1.2 on Ubuntu. I started all nodes and JPS command also shows all nodes without any issues. But when I try to run my first program I am getting below error.

I spent almost 2 weeks on this but no clue. I appreciate all the help if any one can help in resolving the problem.

    hadoop@ubuntu:/usr/local/hadoop/hadoop-2.0.0-mr1-cdh4.1.2$ jps
    9893 NameNode
    10371 SecondaryNameNode
    10726 TaskTracker
    10524 JobTracker
    10846 Jps
    10101 DataNode
    hadoop@ubuntu:/usr/local/hadoop/hadoop-2.0.0-mr1-cdh4.1.2$ hadoop jar /usr/local/hadoop/FirstHadoopProgram/target/FirstHadoopProgram-1.0-SNAPSHOT.jar org.apache.maven.archetypes.App /usr/local/hadoop/InputWordCount/file1 /usr/local/hadoop/InputWordCount/file2
    12/12/23 09:15:25 WARN fs.MapRFileSystem: Could not find any cluster, defaulting to localhost
    2012-12-23 09:15:25,5708 ERROR Client fs/client/fileclient/cc/ Thread: 140434478728960 Failed to initialize client for cluster, error Connection reset by peer(104)
    12/12/23 09:15:25 ERROR ipc.RPC: FailoverProxy: Failing this Call: getStagingAreaDir. Error while fetching JobTracker location Failed to get cluster information for maprfs:///
    Exception in thread "main" Failed to get cluster information for maprfs:///
     at com.mapr.fs.MapRFileSystem.getJobTrackerAddrs(
     at org.apache.hadoop.ipc.RPC$FailoverInvoker.invoke(
     at org.apache.hadoop.mapred.$Proxy0.getStagingAreaDir(Unknown Source)
     at org.apache.hadoop.mapred.JobClient.getStagingAreaDir(
     at org.apache.hadoop.mapreduce.JobSubmissionFiles.getStagingDir(
     at org.apache.hadoop.mapred.JobClient$
     at org.apache.hadoop.mapred.JobClient$
     at Method)
     at org.apache.hadoop.mapred.JobClient.submitJobInternal(
     at org.apache.hadoop.mapred.JobClient.submitJob(
     at org.apache.hadoop.mapred.JobClient.runJob(
     at org.apache.maven.archetypes.App.main(
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(
     at java.lang.reflect.Method.invoke(
     at org.apache.hadoop.util.RunJar.main(