[ 
https://issues.apache.org/jira/browse/HIVE-23786?focusedWorklogId=455855&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-455855
 ]

ASF GitHub Bot logged work on HIVE-23786:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 08/Jul/20 05:22
            Start Date: 08/Jul/20 05:22
    Worklog Time Spent: 10m 
      Work Description: pvary commented on a change in pull request #1221:
URL: https://github.com/apache/hive/pull/1221#discussion_r451289748



##########
File path: 
ql/src/java/org/apache/hadoop/hive/ql/security/authorization/plugin/metastore/HiveMetaStoreAuthorizer.java
##########
@@ -312,5 +578,13 @@ private String getCurrentUser() {
   private String getCurrentUser(HiveMetaStoreAuthorizableEvent 
authorizableEvent) {
     return authorizableEvent.getAuthzContext().getUGI().getShortUserName();
   }
+
+  private UserGroupInformation getUGI() {
+    try {
+      return UserGroupInformation.getCurrentUser();
+    } catch (IOException excp) {

Review comment:
       Why do we swallow the exception?




----------------------------------------------------------------
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:
us...@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 455855)
    Time Spent: 2h  (was: 1h 50m)

> HMS Server side filter
> ----------------------
>
>                 Key: HIVE-23786
>                 URL: https://issues.apache.org/jira/browse/HIVE-23786
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Sam An
>            Assignee: Sam An
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 2h
>  Remaining Estimate: 0h
>
> HMS server side filter of results based on authorization. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to