hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MAPREDUCE-3190) bin/yarn should barf early if HADOOP_COMMON_HOME or HADOOP_HDFS_HOME are not set
Date Mon, 17 Oct 2011 13:21:11 GMT

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

Hudson commented on MAPREDUCE-3190:
-----------------------------------

Integrated in Hadoop-Mapreduce-trunk #863 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk/863/])
    MAPREDUCE-3190. Ensure bin/yarn fails early with a clear error message when HADOOP_COMMON_HOME
or HADOOP_HDFS_HOME are not set. Contributed by todd & acmurthy.

acmurthy : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1184975
Files : 
* /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
* /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-yarn/bin/yarn

                
> bin/yarn should barf early if HADOOP_COMMON_HOME or HADOOP_HDFS_HOME are not set
> --------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-3190
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3190
>             Project: Hadoop Map/Reduce
>          Issue Type: Improvement
>          Components: mrv2
>    Affects Versions: 0.23.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>             Fix For: 0.23.0
>
>         Attachments: mr-3190.txt, mr-3190.txt
>
>
> Currently, if these env vars are not set when you run bin/yarn, it will crash with various
ClassNotFoundExceptions, having added {{/share/hadoop/hdfs}} to the classpath. Rather, we
should check for these env vars in the wrapper script and display a reasonable error message.

--
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

        

Mime
View raw message