The issue is:
create a database "testdb" with user 'myuser'
Run workflow to sqoop data into a table of 'testdb'
The error is
FAILED: Error in metadata: MetaException(message:Got exception: org.apache.hadoop.security.AccessControlException Permission denied: user=hive, access=WRITE, inode="/user/hive/warehouse/testdb.db":myuser:hive:drwxr-xr-x
Reference:
http://gethue.com/hadoop-tutorial-hive-query-editor-with-hiveserver2-and/
http://www.cloudera.com/content/cloudera-content/cloudera-docs/CDH4/latest/CDH4-Security-Guide/cdh4sg_topic_9_1.html?scroll=topic_9_1_3_unique_1__title_140_unique_1
No comments:
Post a Comment