saihemanth-cloudera commented on code in PR #5997:
URL: https://github.com/apache/hive/pull/5997#discussion_r2283659624
##########
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:
From your comments, you seem to use Ranger only for metadata permissions and
not file permissions (HDFS service is not being used in Ranger for auth OR
there are no policies for user 'hive'). So you would rely on Hadoop ACLs for
file authorization. So (2) you mentioned doesn't apply. And (3) is expected to
happen and it should happen in the absence of Ranger related Hadoop policies.
--
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]