mr-jobhistory-daemon.sh should look for mapred script in HADOOP_MAPRED_HOME
---------------------------------------------------------------------------
Key: MAPREDUCE-3980
URL: https://issues.apache.org/jira/browse/MAPREDUCE-3980
Project: Hadoop Map/Reduce
Issue Type: Bug
Components: jobhistoryserver
Affects Versions: 0.23.1
Reporter: Roman Shaposhnik
The following:
{noformat}
nohup nice -n $YARN_NICENESS "$YARN_HOME"/bin/mapred --config $YARN_CONF_DIR
$command "$@" > "$log" 2>&1 < /dev/null &
{noformat}
should be this instead:
{noformat}
nohup nice -n $YARN_NICENESS "$HADOOP_MAPRED_HOME"/bin/mapred --config
$YARN_CONF_DIR $command "$@" > "$log" 2>&1 < /dev/null &
{noformat}
--
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