問(wèn)題:
ERROR: but there is no YARN_RESOURCEMANAGER_USER defined. Aborting operation.
原因:沒(méi)有配置好YARN_RESOURCEMANAGER_USER變量
解決方案:
vim $HADOOP_HOME/etc/hadoop/hadoop_env.sh
添加
# export?YARN_RESOURCEMANAGER_USER=root
退出后再 source hadoop_env即可
ERROR: but there is no YARN_RESOURCEMANAGER_USER defined. Aborting operation.
原因:沒(méi)有配置好YARN_RESOURCEMANAGER_USER變量
解決方案:
vim $HADOOP_HOME/etc/hadoop/hadoop_env.sh
添加
# export?YARN_RESOURCEMANAGER_USER=root
退出后再 source hadoop_env即可