YARN-7465. start-yarn.sh fails to start ResourceManagers unless running as root.
This commit is contained in:
parent
ac4d2b1081
commit
1883a00249
@ -65,7 +65,7 @@ else
|
|||||||
RMHOSTS="${RMHOSTS} ${rmhost}"
|
RMHOSTS="${RMHOSTS} ${rmhost}"
|
||||||
done
|
done
|
||||||
echo "Starting resourcemanagers on [${RMHOSTS}]"
|
echo "Starting resourcemanagers on [${RMHOSTS}]"
|
||||||
hadoop_uservar_su yarn "${HADOOP_YARN_HOME}/bin/yarn" \
|
hadoop_uservar_su yarn resourcemanager "${HADOOP_YARN_HOME}/bin/yarn" \
|
||||||
--config "${HADOOP_CONF_DIR}" \
|
--config "${HADOOP_CONF_DIR}" \
|
||||||
--daemon start \
|
--daemon start \
|
||||||
--workers \
|
--workers \
|
||||||
|
Loading…
Reference in New Issue
Block a user