MAPREDUCE-6250. deprecate sbin/mr-jobhistory-daemon.sh (aw)

This commit is contained in:
Allen Wittenauer 2015-02-12 13:48:47 -08:00
parent f1070230d1
commit 6f5290b030
2 changed files with 5 additions and 0 deletions

View File

@ -94,6 +94,8 @@ Trunk (Unreleased)
MAPREDUCE-6013. [post-HADOOP-9902] mapred version is missing (Akira AJISAKA MAPREDUCE-6013. [post-HADOOP-9902] mapred version is missing (Akira AJISAKA
via aw) via aw)
MAPREDUCE-6250. deprecate sbin/mr-jobhistory-daemon.sh (aw)
BUG FIXES BUG FIXES
MAPREDUCE-6191. Improve clearing stale state of Java serialization MAPREDUCE-6191. Improve clearing stale state of Java serialization

View File

@ -42,5 +42,8 @@ fi
daemonmode=$1 daemonmode=$1
shift shift
hadoop_error "WARNING: Use of this script to ${daemonmode} the MR JobHistory daemon is deprecated."
hadoop_error "WARNING: Attempting to execute replacement \"mapred --daemon ${daemonmode}\" instead."
exec "${HADOOP_MAPRED_HOME}/bin/mapred" \ exec "${HADOOP_MAPRED_HOME}/bin/mapred" \
--config "${HADOOP_CONF_DIR}" --daemon "${daemonmode}" "$@" --config "${HADOOP_CONF_DIR}" --daemon "${daemonmode}" "$@"