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
标签:SECURE,开启,vim,sh,USER,权限,root From: https://www.cnblogs.com/peak213/p/16801462.html