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

Some e2e tests is broken due to PIG-3480

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.12.1, 0.13.0
    • Component/s: impl
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Eg: MultiQuery_9
      Error message:
      FATAL org.apache.hadoop.mapred.Child: Error running child : java.lang.NoClassDefFoundError: org/xerial/snappy/SnappyCodec
      at org.apache.pig.impl.util.Utils$TEMPFILE_CODEC.<clinit>(Utils.java:253)
      at org.apache.pig.impl.util.Utils$TEMPFILE_STORAGE.<clinit>(Utils.java:274)
      at org.apache.pig.impl.util.Utils.getTmpFileStorage(Utils.java:352)
      at org.apache.pig.impl.util.Utils.getTmpFileStorageObject(Utils.java:339)
      at org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.partitioners.WeightedRangePartitioner.setConf(WeightedRangePartitioner.java:129)
      at org.apache.hadoop.util.ReflectionUtils.setConf(ReflectionUtils.java:62)
      at org.apache.hadoop.util.ReflectionUtils.newInstance(ReflectionUtils.java:117)
      at org.apache.hadoop.mapred.MapTask$NewOutputCollector.<init>(MapTask.java:677)
      at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:756)
      at org.apache.hadoop.mapred.MapTask.run(MapTask.java:370)
      at org.apache.hadoop.mapred.Child$4.run(Child.java:255)
      at java.security.AccessController.doPrivileged(Native Method)
      at javax.security.auth.Subject.doAs(Subject.java:396)
      at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1121)
      at org.apache.hadoop.mapred.Child.main(Child.java:249)
      Caused by: java.lang.ClassNotFoundException: org.xerial.snappy.SnappyCodec
      at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
      at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
      ... 15 more

      Need to ship snappy-java.jar to backend.

        Attachments

        1. PIG-3530-2.patch
          0.8 kB
          Jianyong Dai
        2. PIG-3530-1.patch
          1.0 kB
          Jianyong Dai

          Issue Links

            Activity

              People

              • Assignee:
                daijy Jianyong Dai
                Reporter:
                daijy Jianyong Dai
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: