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 .
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.