You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Vinod Kumar Vavilapalli (JIRA)" <ji...@apache.org> on 2011/07/06 08:06:16 UTC

[jira] [Commented] (MAPREDUCE-2645) Updates to MRv2 INSTALL documentation

    [ https://issues.apache.org/jira/browse/MAPREDUCE-2645?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13060312#comment-13060312 ] 

Vinod Kumar Vavilapalli commented on MAPREDUCE-2645:
----------------------------------------------------

Josh,

-Dtest.skip=true skips tests altogether, even compilcation. -Dmaven.test.skip.exec=true OTOH will compile them at the least. I guess we can differentiate these?

I just did a review of the current INSTALL doc to cover anything else that is missing. Some more points I'd like get added:
 - Required version for Protobuf library is proto 2.4.0 and above. I found that the compilation gets broken with 2.3 erring on the option "java_generate_equals_and_hash" as unknown.
 - Before starting NM, we should set HADOOP_HDFS_HOME specifically. Without HDFS_HDFS_HOME, NM fails localization.
 - For launching MR jobs, we also need these configured in yarn-site.xml
   <property>
    <name>nodemanager.auxiluary.services</name>
    <value>mapreduce.shuffle</value>
   </property>

   <property>
    <name>nodemanager.aux.service.mapreduce.shuffle.class</name>
    <value>org.apache.hadoop.mapred.ShuffleHandler</value>
   </property>

When you try to run with security enabled, you will need more settings, but that's for later :)

Thanks for looking into this!

> Updates to MRv2 INSTALL documentation
> -------------------------------------
>
>                 Key: MAPREDUCE-2645
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-2645
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: mrv2
>            Reporter: Josh Wills
>            Assignee: Josh Wills
>         Attachments: MAPREDUCE-2645.patch
>
>
> There are a few issues w/the current INSTALL document for MRv2 that I came across when I attempted to get it running:
> 1) Correct the mvn arg for skipping tests,
> 2) Add a step to start the yarn historyserver,
> 3) Add instructions to explicitly build the examples jar file and specify the mapreduce.clientfactory.class.name parameter correctly for MRv2.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira