Commit 4dadd20d authored by Georgios Ouzounis's avatar Georgios Ouzounis

LAM-49 Added status switch to Apache Yarn init script.

parent 53e738ce
......@@ -49,6 +49,10 @@ case "$1" in
condrestart)
[ -f $LOCKFILE ] && restart || :
;;
status)
[ -f $LOCKFILE ] && echo "Hadoop Yarn is running." || echo "Hadoop Yarn is not running."
RETVAL=$?
;;
*)
echo "Usage: $0 {start|stop|restart|reload|force-reload|condrestart}"
RETVAL=1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment