AnsweredAssumed Answered

WordCount executing error on MapR

Question asked by li_wei on Feb 11, 2012
Latest reply on Mar 7, 2012 by tc_dev
Hello ,please help me see this error:

   /opt/mapr/hadoop/hadoop-0.20.2/bin/hadoop jar ./wordcount.jar  com.felix.WordCount /mt /mt/output

    12/02/11 08:50:44 INFO fs.JobTrackerWatcher: Current running JobTracker is: node1/192.168.172.139:9001
     12/02/11 08:50:44 WARN mapred.JobClient: Use GenericOptionsParser for parsing the arguments. Applications should implement Tool for the same.
     12/02/11 08:50:44 WARN snappy.LoadSnappy: Snappy native library is not available
     12/02/11 08:50:44 INFO util.NativeCodeLoader: Loaded the native-hadoop library
     12/02/11 08:50:44 WARN snappy.LoadSnappy: Snappy native library not loaded
     12/02/11 08:50:44 INFO mapred.FileInputFormat: Total input paths to process : 1
     12/02/11 08:50:46 INFO mapred.JobClient: Running job: job_201202110652_0003
     12/02/11 08:50:47 INFO mapred.JobClient:  map 0% reduce 0%
     12/02/11 08:50:56 INFO mapred.JobClient: Task Id : attempt_201202110652_0003_m_000000_0, Status : FAILED on node node1
     Error: Java heap space
     12/02/11 08:50:57 INFO mapred.JobClient: Task Id : attempt_201202110652_0003_m_000001_0, Status : FAILED on node node1
     Error: Java heap space
     12/02/11 08:51:01 INFO mapred.JobClient: Task Id : attempt_201202110652_0003_m_000000_1, Status : FAILED on node node1
     Error: Java heap space
     12/02/11 08:51:02 INFO mapred.JobClient: Task Id : attempt_201202110652_0003_m_000001_1, Status : FAILED on node node1
     Error: Java heap space
     12/02/11 08:51:05 INFO mapred.JobClient: Task Id : attempt_201202110652_0003_m_000000_2, Status : FAILED on node node1
     Error: Java heap space
     12/02/11 08:51:08 INFO mapred.JobClient: Task Id : attempt_201202110652_0003_m_000001_2, Status : FAILED on node node1
     Error: Java heap space
     12/02/11 08:51:12 INFO mapred.JobClient: Job complete: job_201202110652_0003
     12/02/11 08:51:12 INFO mapred.JobClient: Counters: 7
     12/02/11 08:51:12 INFO mapred.JobClient:   Job Counters
     12/02/11 08:51:12 INFO mapred.JobClient:     Aggregate execution time of mappers(ms)=10509
     12/02/11 08:51:12 INFO mapred.JobClient:     Total time spent by all reduces waiting after reserving slots (ms)=0
     12/02/11 08:51:12 INFO mapred.JobClient:     Total time spent by all maps waiting after reserving slots (ms)=0
     12/02/11 08:51:12 INFO mapred.JobClient:     Launched map tasks=8
     12/02/11 08:51:12 INFO mapred.JobClient:     Data-local map tasks=8
     12/02/11 08:51:12 INFO mapred.JobClient:     Failed map tasks=1
     12/02/11 08:51:12 INFO mapred.JobClient:     Aggregate execution time of reducers(ms)=0
     12/02/11 08:51:12 INFO mapred.JobClient: Job Failed: NA
     Exception in thread "main" java.io.IOException: Job failed!
        at org.apache.hadoop.mapred.JobClient.runJob(JobClient.java:1280)
        at com.felix.WordCount.main(WordCount.java:112)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.hadoop.util.RunJar.main(RunJar.java:186)

Outcomes