cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Palaga (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-10071) Unable to start Thrift RPC server in cassandra deployment created using cassandra-all
Date Fri, 14 Aug 2015 09:10:46 GMT

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

Peter Palaga commented on CASSANDRA-10071:
------------------------------------------

This seems to be the location where thrift-server 0.3.5 is packaged with 2.2 : 
https://github.com/apache/cassandra/blob/cassandra-2.2/build.xml#L543
whereas in 2.1, there is thrift-server 0.3.7:
https://github.com/apache/cassandra/blob/cassandra-2.1/build.xml#L508

> Unable to start Thrift RPC server in cassandra deployment created using cassandra-all
> -------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-10071
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-10071
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Packaging
>            Reporter: Lukas Krejci
>
> We have a custom wrapper around cassandra and use the maven {{cassandra-all}} as a dependency.
> This worked nicely with C* 2.1.x but with C* 2.2.0 the Thrift server is unable to start.
> I assume that is because {{cassandra-all:2.1.8}} depends on {{thrift-server:0.3.7}} while
{{cassandra-all:2.2.0}} depends on {{thrift-server:0.3.5}}.
> I believe this is a packaging issue, because it seems like the compilation process uses
{{thrift-server:0.3.7}}.
> The stacktrace that is produced when trying to start with enabled thrift RPC:
> {code}
> [31m17:33:18,247 ERROR [org.apache.cassandra.service.CassandraDaemon] 
> (ServerService Thread Pool -- 80) Exception encountered during startup: 
> java.lang.NoSuchMethodError: 
> com.thinkaurelius.thrift.TDisruptorServer$Args.invocationExecutor(Ljava/util/concurrent/ThreadPoolExecutor;)Lcom/thinkaurelius/thrift/TDisruptorServer$Args;
>         at 
> org.apache.cassandra.thrift.THsHaDisruptorServer$Factory.buildTServer(THsHaDisruptorServer.java:103)
>         at 
> org.apache.cassandra.thrift.TServerCustomFactory.buildTServer(TServerCustomFactory.java:55)
>         at 
> org.apache.cassandra.thrift.ThriftServer$ThriftServerThread.<init>(ThriftServer.java:131)
>         at org.apache.cassandra.thrift.ThriftServer.start(ThriftServer.java:58)
>         at 
> org.apache.cassandra.service.CassandraDaemon.start(CassandraDaemon.java:404)
>         at 
> org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:494)
> ...
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message