[ https://issues.apache.org/jira/browse/HIVE-18322?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17716515#comment-17716515 ]
katty he commented on HIVE-18322: --------------------------------- this project is stucking? i also met this problem userX is not allowed to impersonate userX > 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 Nair > Priority: Major > > 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 (v8.20.10#820010)