Uploaded image for project: 'Pig'
  1. Pig
  2. PIG-2912

Pig should clone JobConf while creating JobContextImpl and TaskAttemptContextImpl in Hadoop23

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.9.3, 0.10.1
    • Fix Version/s: 0.9.3, 0.11, 0.10.1
    • Component/s: None
    • Labels:
      None

      Description

      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.

        Attachments

        1. PIG-2912-branch09.patch
          7 kB
          Rohini Palaniswamy
        2. PIG-2912-branch10.patch
          7 kB
          Rohini Palaniswamy
        3. PIG-2912-trunk.patch
          7 kB
          Rohini Palaniswamy

          Activity

            People

            • Assignee:
              rohini Rohini Palaniswamy
              Reporter:
              rohini Rohini Palaniswamy
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: