[
https://issues.apache.org/jira/browse/HIVE-8760?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gunther Hagleitner updated HIVE-8760:
-------------------------------------
Attachment: HIVE-8760.2.patch
I'd like to propose a different change with smaller scope to get at least into
hive .14. I think that'd be safer for 2 reasons:
- It only changes ATSHook, anyone else will not see a change to their hooks
- It's faster if you run w/o ATSHook, because the clone only happens there.
Cloning is fairly expensive.
- It's a workaround for a hadoop issue. We should still try to get the hadoop
problem fixed and take it back out for perf reasons. That limits the changes to
only ATSHook again
Note: ExecHooks and hadoop conf have been around unchanged for quite a while so
leaving the code path alone as much as possible for .14 seems a safe choice.
> Pass a copy of HiveConf to hooks
> --------------------------------
>
> Key: HIVE-8760
> URL: https://issues.apache.org/jira/browse/HIVE-8760
> Project: Hive
> Issue Type: Bug
> Components: Configuration
> Affects Versions: 0.13.0, 0.14.0
> Reporter: Ashutosh Chauhan
> Assignee: Gunther Hagleitner
> Attachments: HIVE-8760.2.patch, HIVE-8760.patch
>
>
> because hadoop's {{Configuration}} is not thread-safe
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)