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

When loading Accumulo table, I see AccumuloSecurityException ClassNotFoundException

    Details

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

      Description

      I've added the Accumulo jar files to my pig class like this:

      export PIG_CLASSPATH=/opt/accumulo/lib/accumulo-core-1.4.2.jar
      export PIG_CLASSPATH=$PIG_CLASSPATH:/opt/accumulo/lib/libthrift-0.6.1.jar
      export PIG_CLASSPATH=$PIG_CLASSPATH:/opt/accumulo/lib/cloudtrace-1.4.2.jar
      export PIG_CLASSPATH=$PIG_CLASSPATH:/opt/zookeeper/zookeeper-3.3.3.jar

      And then I start pig (using the fat jar). When I run

      A = LOAD 'accumulo://TABLE?instance=default&user=root&password=XXXX&zookeepers=localhost:2181' USING org.apache.pig.backend.hadoop.accumulo.AccumuloStorage();

      I ran into the following exception:

      ava.lang.NoClassDefFoundError: org/apache/accumulo/core/client/AccumuloSecurityException
      at java.lang.Class.forName0(Native Method)
      at java.lang.Class.forName(Class.java:264)
      at org.apache.pig.impl.PigContext.resolveClassName(PigContext.java:659)

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: