Failed: Error in metadata: MetaException(message: Got exception: org.apache.hadoop.security.AccessControlException
org.apache.hadoop.security.AccessControlException: Permission denied: user=root, access-WRITE, inode="user":user:supergroup:rwxr-xr-x)
Failed:Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask
错误原因:
hadoop的权限是user:user
而安装hive的时候权限是root:root
所以出现如上的错误
只要将Hive安装目录的权限修改为root:root即可