You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Josh Elser (JIRA)" <ji...@apache.org> on 2014/06/16 17:20:09 UTC

[jira] [Comment Edited] (ACCUMULO-2912) java.lang.NoClassDefFoundError: com/google/protobuf/GeneratedMessage

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

Josh Elser edited comment on ACCUMULO-2912 at 6/16/14 3:19 PM:
---------------------------------------------------------------

Because Thrift is not an object (de)serialization library.

I'm baffled why this affected you, but I haven't ever been bitten by it. Where you building against Hadoop1 by chance? That's the only thing that I can think of which would change our dependency graph.

Edit: Yup, I bet that's it. hadoop-client ends up pulling in protobuf. It was an omission to not depend on it directly.


was (Author: elserj):
Because Thrift is not an object (de)serialization library.

I'm baffled why this affected you, but I haven't ever been bitten by it. Where you building against Hadoop1 by chance? That's the only thing that I can think of which would change our dependency graph.

> java.lang.NoClassDefFoundError: com/google/protobuf/GeneratedMessage
> --------------------------------------------------------------------
>
>                 Key: ACCUMULO-2912
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-2912
>             Project: Accumulo
>          Issue Type: Bug
>          Components: build, replication
>            Reporter: Eric Newton
>            Assignee: Josh Elser
>            Priority: Blocker
>             Fix For: 1.7.0
>
>
> After pulling master this morning, I get a ClassNotFoundException.  I'm guessing this is a new dependency required by Replication?
> Why not use the existing dependency of Thrift?



--
This message was sent by Atlassian JIRA
(v6.2#6252)