Thejas M Nair created HIVE-18322:
------------------------------------

             Summary: RetryingMetaStoreClient reconnect should not use ugi.doAs 
if not necessary
                 Key: HIVE-18322
                 URL: https://issues.apache.org/jira/browse/HIVE-18322
             Project: Hive
          Issue Type: Bug
            Reporter: Thejas M Nair


As commented in HIVE-17853 , RetryingMetaStoreClient should also check to see 
if current user is same as the original UGI user, and not do the ugi.doAs() if 
it is the same. Otherwise, this can potentially cause problems where the users 
are not privileged users (ie, there is no intent to do a "doAs").
Without such a check, you would get errors like " userX is not allowed to 
impersonate userX".




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to