YARN-2472. yarn-daemons.sh should jsut call yarn directly (Masatake Iwasaki via aw)
This commit is contained in:
parent
75d53456ea
commit
26319ba0db
@ -10,6 +10,9 @@ Trunk - Unreleased
|
||||
|
||||
YARN-2438. yarn-env.sh cleanup (aw)
|
||||
|
||||
YARN-2472. yarn-daemons.sh should jsut call yarn directly (Masatake Iwasaki
|
||||
via aw)
|
||||
|
||||
OPTIMIZATIONS
|
||||
|
||||
BUG FIXES
|
||||
|
@ -42,8 +42,8 @@ else
|
||||
fi
|
||||
|
||||
# start resourceManager
|
||||
"${bin}/yarn-daemon.sh" --config "${YARN_CONF_DIR}" start resourcemanager
|
||||
"${HADOOP_YARN_HOME}/bin/yarn" --config "${YARN_CONF_DIR}" --daemon start resourcemanager
|
||||
# start nodeManager
|
||||
"${bin}/yarn-daemons.sh" --config "${YARN_CONF_DIR}" start nodemanager
|
||||
# start proxyserver
|
||||
#"${bin}/yarn-daemon.sh" --config "${YARN_CONF_DIR}" start proxyserver
|
||||
#"${HADOOP_YARN_HOME}/bin/yarn" --config "${YARN_CONF_DIR}" --daemon start proxyserver
|
||||
|
@ -44,8 +44,8 @@ else
|
||||
fi
|
||||
|
||||
# start resourceManager
|
||||
"${bin}/yarn-daemon.sh" --config "${YARN_CONF_DIR}" stop resourcemanager
|
||||
"${HADOOP_YARN_HOME}/bin/yarn" --config "${YARN_CONF_DIR}" --daemon stop resourcemanager
|
||||
# start nodeManager
|
||||
"${bin}/yarn-daemons.sh" --config "${YARN_CONF_DIR}" stop nodemanager
|
||||
# start proxyserver
|
||||
#"${bin}/yarn-daemon.sh" --config "${YARN_CONF_DIR}" stop proxyserver
|
||||
#"${HADOOP_YARN_HOME}/bin/yarn" --config "${YARN_CONF_DIR}" --daemon stop proxyserver
|
||||
|
@ -41,6 +41,8 @@ else
|
||||
exit 1
|
||||
fi
|
||||
|
||||
hadoop_connect_to_hosts "${bin}/yarn-daemon.sh" \
|
||||
--config "${HADOOP_CONF_DIR}" "$@"
|
||||
daemonmode=$1
|
||||
shift
|
||||
|
||||
hadoop_connect_to_hosts "${HADOOP_YARN_HOME}/bin/yarn" \
|
||||
--config "${HADOOP_CONF_DIR}" --daemon "${daemonmode}" "$@"
|
||||
|
Loading…
Reference in New Issue
Block a user