You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by GitBox <gi...@apache.org> on 2019/03/06 12:19:30 UTC

[GitHub] [hive] maheshk114 commented on a change in pull request #558: HIVE-21325 : Hive external table replication failed with Permission denied issue.

maheshk114 commented on a change in pull request #558: HIVE-21325 : Hive external table replication failed with Permission denied issue.
URL: https://github.com/apache/hive/pull/558#discussion_r262916453
 
 

 ##########
 File path: ql/src/java/org/apache/hadoop/hive/ql/security/authorization/StorageBasedAuthorizationProvider.java
 ##########
 @@ -188,6 +191,17 @@ public void authorize(Table table, Privilege[] readRequiredPriv, Privilege[] wri
       checkDeletePermission(path, getConf(), authenticator.getUserName());
     }
 
+    try {
+      String user = SecurityUtils.getUGI().getShortUserName();
 
 Review comment:
   if required will be done alter

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services