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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.10.0
    • 0.11, 0.10.1
    • None
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: