[
https://issues.apache.org/jira/browse/MAPREDUCE-3190?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Todd Lipcon updated MAPREDUCE-3190:
-----------------------------------
Status: Patch Available (was: Open)
> 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
>
>
> 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