[
https://issues.apache.org/jira/browse/HIVE-15137?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Daniel Dai updated HIVE-15137:
------------------------------
Attachment: HIVE-15137.2.patch
Fixing TestNegativeCliDriver.external2. Local run does not see TestStreaming
failure.
The Callable refractory is not straightforward. Two blocks using different data
structure for "addedPartitions". Need to further refactor the calling methods
and may impact performance, so leave it as is.
> 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, HIVE-15137.2.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)