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

META-INF/*.SF files in REGISTERed jars can cause problems

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.10.0
    • Fix Version/s: 0.10.0
    • Component/s: None
    • Labels:
      None
    • Patch Info:
      Patch Available

      Description

      I am parsing data using tika, which depends on a jar that contains a META-INF/*.SF (signature) file. This file contains a signature for the MANIFEST.MF file, which is obviously different when pig creates its jar. Processing works locally, but fails on a hadoop cluster.

      I am attaching a patch that skips adding any zip entry that starts with META-INF and ends with .SF which fixes the problem I have.

        Attachments

        1. pig-jar.patch
          0.7 kB
          Erik Hetzner

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                egh Erik Hetzner
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: