報錯詳情
org.apache.hadoop.security.AccessControlException: Permission denied: user=root, access=WRITE, inode="/user":hdfs:supergroup:drwxr-xr-x
shell腳本增加配置
# 設(shè)置默認(rèn)hadoop用戶名為hdfs,避免后續(xù)insert override 報權(quán)限問題
HADOOP_USER_NAME=hdfs
export HADOOP_USER_NAME #升級為環(huán)境變量
source /etc/profile