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

Change script parsing to parse entire script instead of line by line

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.10.1
    • Fix Version/s: 0.12.0
    • Component/s: None
    • Labels:
      None

      Description

      Currently there are a lot of NN calls made to determine if there is a schema file for a path in a LOAD statement. When there is a slow NN(caused by whole bunch of other issues), it takes a lot of time for this and we found the scripts spending anywhere from 5 mins to 40 mins depending upon the script. It seems to be a good place for optimization.

        Attachments

        1. PIG-3204-1.patch
          8 kB
          Rohini Palaniswamy
        2. PIG-3204-2.patch
          8 kB
          Rohini Palaniswamy
        3. PIG-3204-3.patch
          17 kB
          Rohini Palaniswamy
        4. PIG-3204-4.patch
          73 kB
          Rohini Palaniswamy
        5. PIG-3204-5.patch
          73 kB
          Rohini Palaniswamy
        6. PIG-3204-6.patch
          73 kB
          Rohini Palaniswamy

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: