[ 
https://issues.apache.org/jira/browse/MAPREDUCE-3190?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Arun C Murthy updated MAPREDUCE-3190:
-------------------------------------

    Attachment: mr-3190.txt

Added a check for HADOOP_CONF_DIR too. Also removed the useless 
YARN_USER_CLASSPATH_FIRST, a relic from TT which isn't relevant anymore.
                
> 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
>         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

        

Reply via email to