[
https://issues.apache.org/jira/browse/PIG-2912?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13452455#comment-13452455
]
Daniel Dai commented on PIG-2912:
---------------------------------
+1. We shall keep the same behavior between 20 and 23. Put the abstraction in
shims is the right approach. Will commit soon.
> Pig should clone JobConf while creating JobContextImpl and
> TaskAttemptContextImpl in Hadoop23
> ---------------------------------------------------------------------------------------------
>
> Key: PIG-2912
> URL: https://issues.apache.org/jira/browse/PIG-2912
> Project: Pig
> Issue Type: Bug
> Affects Versions: 0.9.3, 0.10.1
> Reporter: Rohini Palaniswamy
> Assignee: Rohini Palaniswamy
> Fix For: 0.9.3, 0.11, 0.10.1
>
> Attachments: PIG-2912-branch09.patch, PIG-2912-branch10.patch,
> PIG-2912-trunk.patch
>
>
> There is change in the semantics of
> JobContext::JobContext(Configuration, JobID). While in .20, the Config was
> cloned, in .23 the Config is adopted (if it's a JobConf). This causes the same
> Configuration instance to be written-to for different tables in the same job.
> It would affect multi store commands in pig on Hadoop 23/2.0. The
> cloning in HadoopShims was part of PIG-2578 but was reverted to other issues.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira