执行select语句报错
Error: java.io.IOException: org.apache.hadoop.security.AccessControlException: Permission denied: user=anonymous, access=READ, inode="/warehouse/tablespace/managed/hive/datacenter.db/table085832fb645b4586ac26f729f4f12a31/tableData.txt":hdfs:hadoop:-rw-rw----
解决办法
hdfs dfs命令对文件夹下的文件赋予权限
hadoop dfs -chmod -R 777 /warehouse/tablespace/managed/hive/datacenter.db
转载于:https://www.cnblogs.com/zqyw/p/10524103.html