报错详情
org.apache.hadoop.security.AccessControlException: Permission denied: user=root, access=WRITE, inode="/user":hdfs:supergroup:drwxr-xr-x
shell脚本增加配置
# 设置默认hadoop用户名为hdfs,避免后续insert override 报权限问题
HADOOP_USER_NAME=hdfs
export HADOOP_USER_NAME #升级为环境变量
source /etc/profile
网友评论