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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.13.0
    • 0.13.0
    • impl
    • 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-3.patch
          16 kB
          Cheolsoo Park
        2. PIG-3525-2.patch
          15 kB
          Cheolsoo Park
        3. PIG-3525-1.patch
          15 kB
          Cheolsoo Park

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: