YARN-2437. start-yarn.sh/stop-yarn should give info (Varun Saxena via aw)
This commit is contained in:
parent
c536142699
commit
59cb8b9123
|
@ -13,6 +13,8 @@ Trunk - Unreleased
|
||||||
YARN-2472. yarn-daemons.sh should jsut call yarn directly (Masatake Iwasaki
|
YARN-2472. yarn-daemons.sh should jsut call yarn directly (Masatake Iwasaki
|
||||||
via aw)
|
via aw)
|
||||||
|
|
||||||
|
YARN-2437. start-yarn.sh/stop-yarn should give info (Varun Saxena via aw)
|
||||||
|
|
||||||
OPTIMIZATIONS
|
OPTIMIZATIONS
|
||||||
|
|
||||||
BUG FIXES
|
BUG FIXES
|
||||||
|
|
|
@ -42,8 +42,10 @@ else
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# start resourceManager
|
# start resourceManager
|
||||||
|
echo "Starting resourcemanager"
|
||||||
"${HADOOP_YARN_HOME}/bin/yarn" --config "${YARN_CONF_DIR}" --daemon start resourcemanager
|
"${HADOOP_YARN_HOME}/bin/yarn" --config "${YARN_CONF_DIR}" --daemon start resourcemanager
|
||||||
# start nodeManager
|
# start nodeManager
|
||||||
|
echo "Starting nodemanagers"
|
||||||
"${bin}/yarn-daemons.sh" --config "${YARN_CONF_DIR}" start nodemanager
|
"${bin}/yarn-daemons.sh" --config "${YARN_CONF_DIR}" start nodemanager
|
||||||
# start proxyserver
|
# start proxyserver
|
||||||
#"${HADOOP_YARN_HOME}/bin/yarn" --config "${YARN_CONF_DIR}" --daemon start proxyserver
|
#"${HADOOP_YARN_HOME}/bin/yarn" --config "${YARN_CONF_DIR}" --daemon start proxyserver
|
||||||
|
|
|
@ -43,9 +43,11 @@ else
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# start resourceManager
|
# stop resourceManager
|
||||||
|
echo "Stopping resourcemanager"
|
||||||
"${HADOOP_YARN_HOME}/bin/yarn" --config "${YARN_CONF_DIR}" --daemon stop 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
|
"${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
|
#"${HADOOP_YARN_HOME}/bin/yarn" --config "${YARN_CONF_DIR}" --daemon stop proxyserver
|
||||||
|
|
Loading…
Reference in New Issue