AnsweredAssumed Answered

Mapr vm (M7) throwing java heap errors

Question asked by dusty_iss on Sep 15, 2013
Latest reply on Sep 15, 2013 by nabeel
I downloaded the M7 VM and was walking through the tutorial and when I get to the running of the wordcount mapreduce it throws and error Java Heap error
<pre>
mapr@mapr-desktop:/mapr/my.cluster.com/user/mapr$ hadoop jar /opt/mapr/hadoop/hadoop-0.20.2/hadoop-0.20.2-dev-examples.jar wordcount /user/mapr/in /user/mapr/out
13/09/15 09:25:16 INFO fs.JobTrackerWatcher: Current running JobTracker is: mapr-desktop/10.10.0.235:9001
13/09/15 09:25:16 INFO input.FileInputFormat: Total input paths to process : 2
13/09/15 09:25:16 WARN snappy.LoadSnappy: Snappy native library not loaded
13/09/15 09:25:16 INFO mapred.JobClient: Creating job's output directory at /user/mapr/out
13/09/15 09:25:16 INFO mapred.JobClient: Creating job's user history location directory at /user/mapr/out/_logs
13/09/15 09:25:16 INFO mapred.JobClient: Running job: job_201309150722_0006
13/09/15 09:25:17 INFO mapred.JobClient:  map 0% reduce 0%
13/09/15 09:25:21 INFO mapred.JobClient: Task Id : attempt_201309150722_0006_m_000000_0, Status : FAILED on node mapr-desktop
Error: Java heap space
13/09/15 09:25:23 INFO mapred.JobClient: Task Id : attempt_201309150722_0006_m_000000_1, Status : FAILED on node mapr-desktop
Error: Java heap space
13/09/15 09:25:25 INFO mapred.JobClient: Task Id : attempt_201309150722_0006_m_000000_2, Status : FAILED on node mapr-desktop
Error: Java heap space
13/09/15 09:25:28 INFO mapred.JobClient: Job job_201309150722_0006 failed with state FAILED due to: NA
13/09/15 09:25:28 INFO mapred.JobClient: Counters: 7
13/09/15 09:25:28 INFO mapred.JobClient:   Job Counters
13/09/15 09:25:28 INFO mapred.JobClient:     Aggregate execution time of mappers(ms)=6452
13/09/15 09:25:28 INFO mapred.JobClient:     Total time spent by all reduces waiting after reserving slots (ms)=0
13/09/15 09:25:28 INFO mapred.JobClient:     Total time spent by all maps waiting after reserving slots (ms)=0
13/09/15 09:25:28 INFO mapred.JobClient:     Launched map tasks=4
13/09/15 09:25:28 INFO mapred.JobClient:     Data-local map tasks=4
13/09/15 09:25:28 INFO mapred.JobClient:     Aggregate execution time of reducers(ms)=0
13/09/15 09:25:28 INFO mapred.JobClient:     Failed map tasks=1

Outcomes