[ 
https://issues.apache.org/jira/browse/HIVE-15137?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15654329#comment-15654329
 ] 

Thejas M Nair commented on HIVE-15137:
--------------------------------------

+1 pending test verification
If you need to update the patch for some reason, can you also consider using a 
common 'Callable' class impl in both places ? (I know its not related to this 
issue, so can be addressed later in another jira as well).


> metastore add partitions background thread should use current username
> ----------------------------------------------------------------------
>
>                 Key: HIVE-15137
>                 URL: https://issues.apache.org/jira/browse/HIVE-15137
>             Project: Hive
>          Issue Type: Bug
>          Components: Metastore
>    Affects Versions: 2.2.0, 2.1.1
>            Reporter: Thejas M Nair
>            Assignee: Daniel Dai
>         Attachments: HIVE-15137.1.patch
>
>
> The background thread used in HIVE-13901 for adding partitions needs to be 
> reinitialized with current UGI for each invocation. Otherwise the user in 
> context while thread was created would be the current UGI during the actions 
> in the thread.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to