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

resources added with a relative path are added to the JobXXXX jar file under their absolute path

    Details

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

      Description

      When registering a local resource using a relative path, the resource is added to the JobXXXX jar under its absolute path.

      If a pig script contains the following:

      REGISTER etc/foo;

      and is executed from a directory /PATH/TO/DIR, the JobXXXX jar file will contain the following:

      /PATH/TO/DIR/etc/foo

      instead of

      etc/foo

      which was the previous behavior

        Attachments

        1. PIG-2760.patch
          0.9 kB
          Mathias Herberts

          Issue Links

            Activity

              People

              • Assignee:
                rohini Rohini Palaniswamy
                Reporter:
                herberts Mathias Herberts
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: