YARN-2437. start-yarn.sh/stop-yarn should give info (Varun Saxena via aw)

This commit is contained in:
Allen Wittenauer 2014-12-10 13:48:07 -08:00
parent c536142699
commit 59cb8b9123
3 changed files with 9 additions and 3 deletions

View File

@ -13,6 +13,8 @@ Trunk - Unreleased
YARN-2472. yarn-daemons.sh should jsut call yarn directly (Masatake Iwasaki
via aw)
YARN-2437. start-yarn.sh/stop-yarn should give info (Varun Saxena via aw)
OPTIMIZATIONS
BUG FIXES

View File

@ -42,8 +42,10 @@ else
fi
# start resourceManager
echo "Starting resourcemanager"
"${HADOOP_YARN_HOME}/bin/yarn" --config "${YARN_CONF_DIR}" --daemon start resourcemanager
# start nodeManager
echo "Starting nodemanagers"
"${bin}/yarn-daemons.sh" --config "${YARN_CONF_DIR}" start nodemanager
# start proxyserver
#"${HADOOP_YARN_HOME}/bin/yarn" --config "${YARN_CONF_DIR}" --daemon start proxyserver

View File

@ -43,9 +43,11 @@ else
exit 1
fi
# start resourceManager
# stop resourceManager
echo "Stopping resourcemanager"
"${HADOOP_YARN_HOME}/bin/yarn" --config "${YARN_CONF_DIR}" --daemon stop resourcemanager
# start nodeManager
# stop nodeManager
echo "Stopping nodemanagers"
"${bin}/yarn-daemons.sh" --config "${YARN_CONF_DIR}" stop nodemanager
# start proxyserver
# stop proxyserver
#"${HADOOP_YARN_HOME}/bin/yarn" --config "${YARN_CONF_DIR}" --daemon stop proxyserver