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 "Mahadev konar (Commented) (JIRA)" <ji...@apache.org> on 2011/12/03 00:47:41 UTC

[jira] [Commented] (MAPREDUCE-3456) $HADOOP_PREFIX/bin/yarn should set defaults for $HADOOP_*_HOME

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

Mahadev konar commented on MAPREDUCE-3456:
------------------------------------------

Eric,
 I am a little confused, shouldnt HADOOP_COMMON_HOME=$HADOOP_PREFIX/hadoop-common and $HADOOP_HDFS_HOME=$HADOOP_PREFIX/hadoop-hdfs?
                
> $HADOOP_PREFIX/bin/yarn should set defaults for $HADOOP_*_HOME
> --------------------------------------------------------------
>
>                 Key: MAPREDUCE-3456
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3456
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: mrv2
>    Affects Versions: 0.23.0
>            Reporter: Eric Payne
>            Assignee: Eric Payne
>            Priority: Blocker
>         Attachments: MAPREDUCE-3456.1.txt
>
>
> If the $HADOOP_PREFIX/hadoop-dist/target/hadoop-0.23.0-SNAPSHOT.tar.gz tarball is used to distribute hadoop, all of the HADOOP components (HDFS, MAPRED, COMMON) are all under one directory. In this use case, HADOOP_PREFIX should be set and should point to the root directory for all components, and it should not be necessary to set HADOOP_HDFS_HOME, HADOOP_COMMON_HOME, and HADOOP_MAPRED_HOME. However, the $HADOOP_PREFIX/bin/yarn script requires these 3 to be set explicitly in the calling environment or it won't run.
> $HADOOP_PREFIX/bin/yarn should check if $HADOOP_PREFIX is set and, if it is, use that value for the 3 other HADOOP_*_HOME variables.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira