YARN-2796. deprecate sbin/yarn-daemon.sh (aw)

This commit is contained in:
Allen Wittenauer 2015-02-12 13:44:51 -08:00
parent c2b185def8
commit f1070230d1
2 changed files with 5 additions and 0 deletions

View File

@ -15,6 +15,8 @@ Trunk - Unreleased
YARN-2437. start-yarn.sh/stop-yarn should give info (Varun Saxena via aw)
YARN-2796. deprecate sbin/yarn-daemon.sh (aw)
OPTIMIZATIONS
BUG FIXES

View File

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