cdh集群sqoop抽取数据遇到权限问题
Permission denied: user=root, access=WRITE, inode="/user":hdfs:supergroup:drwxrwxr-x
更改hdfs上user文件夹的权限即可:
sudo -u hdfs hadoop fs -chmod -R 777 /user
附:更改hdfs所属组权限:
sudo -u hdfs hadoop fs -chown root /user/admin/*
cdh集群sqoop抽取数据遇到权限问题
Permission denied: user=root, access=WRITE, inode="/user":hdfs:supergroup:drwxrwxr-x
更改hdfs上user文件夹的权限即可:
sudo -u hdfs hadoop fs -chmod -R 777 /user
附:更改hdfs所属组权限:
sudo -u hdfs hadoop fs -chown root /user/admin/*