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

PigStats.get() and ScriptState.get() shouldn't return MR-specific objects

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.13.0
    • Fix Version/s: 0.13.0
    • Component/s: impl
    • Labels:
      None

      Description

      After PIG-3419, PigStats and ScriptState are no longer MR-specific classes. But PigStats.get() and ScriptState.get() methods still return MR-specific objects (SimplePigStats and MRScriptState respectively). We should deprecate these method and provide a new way to create appropriate objects based on the ExecType.

        Attachments

        1. PIG-3525-1.patch
          15 kB
          Cheolsoo Park
        2. PIG-3525-2.patch
          15 kB
          Cheolsoo Park
        3. PIG-3525-3.patch
          16 kB
          Cheolsoo Park

          Issue Links

            Activity

              People

              • Assignee:
                cheolsoo Cheolsoo Park
                Reporter:
                cheolsoo Cheolsoo Park
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: