Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
MapReduce, mail # user - Run mr example wordcount error on hadoop-2.0.1 alpha HA


+
Tao 2012-09-14, 13:15
Copy link to this message
-
Re: Run mr example wordcount error on hadoop-2.0.1 alpha HA
Vinod Kumar Vavilapalli 2012-09-14, 17:43
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>