Pig
  1. Pig
  2. PIG-3880

After compiling trunk, I am seeing ClassLoaderObjectInputStream ClassNotFoundException.

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.13.0
    • Fix Version/s: None
    • Component/s: grunt
    • Labels:
      None

      Description

      I pulled trunk from subversion using the following commands:

      mkdir pig
      cd pig
      svn co http://svn.apache.org/repos/asf/pig/trunk
      cd trunk
      ant
      export PATH=$PATH:$HOME/pig/trunk/bin
      export ACCUMULO_HOME=/opt/accumulo
      export HADOOP_HOME=/opt/hadoop
      export PIG_HOME=$HOME/pig/trunk
      export PIG_CLASSPATH="$HOME/pig/trunk/build/ivy/lib/Pig/*"
      export PIG_CLASSPATH="$ACCUMULO_HOME/lib/*:$PIG_CLASSPATH"
      cd ~
      pig

      Then I ran into this error:

      java.lang.NoClassDefFoundError: org/apache/commons/io/input/ClassLoaderObjectInputStream
      at org.apache.pig.Main.run(Main.java:399)

      When I change PIG_JAR to use the fat jar, I was able to run the pig command without getting the exception.

        Activity

          People

          • Assignee:
            Unassigned
            Reporter:
            David Medinets
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development