You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Daniel Dai (JIRA)" <ji...@apache.org> on 2014/04/10 23:28:16 UTC

[jira] [Commented] (PIG-3881) When loading Accumulo table, I see AccumuloSecurityException ClassNotFoundException

    [ https://issues.apache.org/jira/browse/PIG-3881?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13965873#comment-13965873 ] 

Daniel Dai commented on PIG-3881:
---------------------------------

Are you using Accumulo 1.4.2? My understanding is AccumuloStorage only works with Accumulo 1.5+, [~elserj], is that right?

> 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)