Fork me on GitHub

eclipse中操作hive错误org.apache.hadoop.security.AccessControlException

错误:

1
2
3
java.sql.SQLException: Error while processing statement: FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.mr.MapRedTask
Job Submission failed with exception 'org.apache.hadoop.security.AccessControlException(Permission denied: user=anonymous, access=WRITE, inode="/user":hdfs:supergroup:drwxr-xr-x

解决:
权限问题

1
hadoop fs -chmod -R 777 /

------------- The endThanks for reading-------------