YARN-2796. deprecate sbin/yarn-daemon.sh (aw)
This commit is contained in:
parent
c2b185def8
commit
f1070230d1
|
@ -15,6 +15,8 @@ Trunk - Unreleased
|
||||||
|
|
||||||
YARN-2437. start-yarn.sh/stop-yarn should give info (Varun Saxena via aw)
|
YARN-2437. start-yarn.sh/stop-yarn should give info (Varun Saxena via aw)
|
||||||
|
|
||||||
|
YARN-2796. deprecate sbin/yarn-daemon.sh (aw)
|
||||||
|
|
||||||
OPTIMIZATIONS
|
OPTIMIZATIONS
|
||||||
|
|
||||||
BUG FIXES
|
BUG FIXES
|
||||||
|
|
|
@ -42,5 +42,8 @@ fi
|
||||||
daemonmode=$1
|
daemonmode=$1
|
||||||
shift
|
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" \
|
exec "${HADOOP_YARN_HOME}/bin/yarn" \
|
||||||
--config "${HADOOP_CONF_DIR}" --daemon "${daemonmode}" "$@"
|
--config "${HADOOP_CONF_DIR}" --daemon "${daemonmode}" "$@"
|
||||||
|
|
Loading…
Reference in New Issue