diff --git a/hadoop-yarn-project/CHANGES.txt b/hadoop-yarn-project/CHANGES.txt index 81d5707e4f1..832efeec4ae 100644 --- a/hadoop-yarn-project/CHANGES.txt +++ b/hadoop-yarn-project/CHANGES.txt @@ -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 diff --git a/hadoop-yarn-project/hadoop-yarn/bin/start-yarn.sh b/hadoop-yarn-project/hadoop-yarn/bin/start-yarn.sh index f44b1997232..8cd5b540b3d 100644 --- a/hadoop-yarn-project/hadoop-yarn/bin/start-yarn.sh +++ b/hadoop-yarn-project/hadoop-yarn/bin/start-yarn.sh @@ -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 diff --git a/hadoop-yarn-project/hadoop-yarn/bin/stop-yarn.sh b/hadoop-yarn-project/hadoop-yarn/bin/stop-yarn.sh index c807f52097a..e356e404fe3 100644 --- a/hadoop-yarn-project/hadoop-yarn/bin/stop-yarn.sh +++ b/hadoop-yarn-project/hadoop-yarn/bin/stop-yarn.sh @@ -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