[
https://issues.apache.org/jira/browse/PIG-3881?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13965881#comment-13965881
]
Josh Elser commented on PIG-3881:
---------------------------------
bq. Are you using Accumulo 1.4.2? My understanding is AccumuloStorage only
works with Accumulo 1.5+
I definitely tested with 1.5+, at the very least YMMV with 1.4 -- things may
happen to work but I wouldn't necessarily trust it. However, from the looks of
things, that may be unrelated to the above error as the
AccumuloSecurityException class exists across both versions. [~medined], can
you re-run things with the verbose flag on your {{pig}} invocation so we can
get a full picture? The only other idea I have is that the paths you added
might not actually exist (typo, perhaps).
> When loading Accumulo table, I see AccumuloSecurityException
> ClassNotFoundException
> -----------------------------------------------------------------------------------
>
> Key: PIG-3881
> URL: https://issues.apache.org/jira/browse/PIG-3881
> Project: Pig
> Issue Type: Bug
> Components: grunt
> Affects Versions: 0.13.0
> Reporter: David Medinets
>
> 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)
--
This message was sent by Atlassian JIRA
(v6.2#6252)