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
MapReduce >> mail # user >> Run mr example wordcount error on hadoop-2.0.1 alpha HA


Copy link to this message
-
Re: Run mr example wordcount error on hadoop-2.0.1 alpha HA
The console output as well as the AM logs show that the TaskAttempts are failing because they are out of heap-space. See your configuration below, you should bump them up.

HTH,

+Vinod Kumar Vavilapalli
Hortonworks Inc.
http://hortonworks.com/

On Sep 14, 2012, at 6:15 AM, Tao wrote:

>         <!-- Larger heap-size for child jvms of maps  -->
>         <property>
>                <name>mapreduce.map.java.opts</name>
>                 <value>-Xmx128m</value>
>         </property>
>  
>         <!-- Larger resource limit for reduces  -->
>         <property>
>                 <name>mapreduce.reduce.memory.mb</name>
>                 <value>512</value>
>         </property>
>  
>         <!-- Larger heap-size for child jvms of reduces  -->
>         <property>
>                 <name>mapreduce.reduce.java.opts</name>
>                 <value>-Xmx256m</value>
>         </property>

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