Monday, April 2, 2012

Run Hive with HBase


[[Reference]]
Hive HBase Integration (https://cwiki.apache.org/confluence/display/Hive/HBaseIntegration)


+Error you might meet
12/03/30 23:59:28 ERROR hive.log: Got exception: org.apache.hadoop.security.AccessControlException org.apache.hadoop.security.AccessControlException: Permission denied: user=feifan, access=WRITE, inode="/user/beeswax/warehouse":hue:hive:drwxrwxr-x
12/03/30 23:59:28 ERROR hive.log: org.apache.hadoop.security.AccessControlException: org.apache.hadoop.security.AccessControlException: Permission denied: user=feifan, access=WRITE, inode="/user/beeswax/warehouse":hue:hive:drwxrwxr-x

  >That's because of the folder "/user/beeswax/warehouse" permission
  Run "sudo -u hdfs hadoop fs -chmod 777 /user/beeswax/warehouse"

No comments:

Post a Comment