[
https://issues.apache.org/jira/browse/MAPREDUCE-3190?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Arun C Murthy updated MAPREDUCE-3190:
-------------------------------------
Resolution: Fixed
Fix Version/s: 0.23.0
Status: Resolved (was: Patch Available)
I just committed this. Thanks Todd!
> 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