记Hadoop3.1.3安装排错之ERROR: but there is no YARN_RESOURCEMANAGER_USER defined. Aborting operation.

问题:

ERROR: but there is no YARN_RESOURCEMANAGER_USER defined. Aborting operation.

原因:没有配置好YARN_RESOURCEMANAGER_USER变量

解决方案:

vim $HADOOP_HOME/etc/hadoop/hadoop_env.sh

添加

# export YARN_RESOURCEMANAGER_USER=root

退出后再 source hadoop_env即可

你可能感兴趣的:(记Hadoop3.1.3安装排错之ERROR: but there is no YARN_RESOURCEMANAGER_USER defined. Aborting operation.)