saihemanth-cloudera commented on code in PR #5997:
URL: https://github.com/apache/hive/pull/5997#discussion_r2427342639
##########
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/HMSHandler.java:
##########
@@ -3050,18 +3050,6 @@ private boolean drop_table_core(final RawStore ms, final
String catName, final S
firePreEvent(new PreDropTableEvent(tbl, deleteData, this));
tableDataShouldBeDeleted = checkTableDataShouldBeDeleted(tbl,
deleteData);
- if (tableDataShouldBeDeleted && tbl.getSd().getLocation() != null) {
Review Comment:
The user permissions in step 3 are incorrect,
with hive.server2.enable.doAs set to false, user 'hive' will do all the
operations in HDFS on behalf of the end user. Step 2 emphasizes the fact that
the directory is owned by user 'hive', so in the HDFS ranger policy, 'hive'
user should be granted with read/write permissions.
The end-user permissions on the table would be managed in Hadoop-SQL
policies anyway.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]