Uploaded image for project: 'Hadoop Map/Reduce'
  1. Hadoop Map/Reduce
  2. MAPREDUCE-3700

If a resource in job.jar start with ./, we cannot get it in the backend

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 0.23.0
    • None
    • mrv2
    • None

    Description

      When testing Pig on hadoop23, I find if Pig register a script start with ./, it fails. The same script success on 20.x clusters.

      For example, here is a resource in job.jar:
      jar tvf /var/folders/Rq/RqKCrqeVEoahpTBMcvLV1E+++TI/Tmp/Job6041588317527904436.jar|grep scriptingudf
      1656 Thu Jan 19 15:49:42 PST 2012 ./libexec/python/scriptingudf.py

      Here is the code we try to get the resource in map:
      some_pig_object.class.getResourceAsStream("./libexec/python/scriptingudf.py");

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              daijy Daniel Dai
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: