peak_ZN

root开启权限

ubuntu中root开启伪分布式权限:

vim start-dfs.sh和vim stop-dfs.sh后均在开头插入

HDFS_DATANODE_USER=root
HDFS_DATANODE_SECURE_USER=hdfs
HDFS_NAMENODE_USER=root
HDFS_SECONDARYNAMENODE_USER=root

vim start-yarn.sh和vim stop-yarn.sh后均在开头插入

YARN_RESOURCEMANAGER_USER=root
HADOOP_SECURE_DN_USER=yarn
YARN_NODEMANAGER_USER=root

 

posted on 2022-10-18 09:04  榫ning  阅读(51)  评论(0编辑  收藏  举报