Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

unable to add partitions to tables in hdfs

Highlighted

unable to add partitions to tables in hdfs

i am altering hive table with add partitions, while doing so i am getting error " MetaException org.apache.hadoop.security.AccesscontrolException permission denied .

In table information specified user is different but in error org.apache.hadoop.security.AccesscontrolException it shows for some other user .

1 REPLY 1

Re: unable to add partitions to tables in hdfs

Expert Contributor

Is this running through Hiveserver or directly through Hive CLI. Is hive.server2.enable.doAs = true? If true will pass through logged in user; otherwise, defaults to hive user. Look at permissions based on that user (one in the error). Either through file permissions or Ranger.

Don't have an account?
Coming from Hortonworks? Activate your account here