cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sylvain Lebresne (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CASSANDRA-11918) NullPointerException in Cleanup Process
Date Mon, 30 May 2016 07:45:13 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-11918?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sylvain Lebresne resolved CASSANDRA-11918.
------------------------------------------
    Resolution: Invalid

The error comes from some class of the "cassandra-lucene-index-plugin", which is not part
of Cassandra, so you'll want to open a ticket with the provider of that plugin.

> NullPointerException in Cleanup Process
> ---------------------------------------
>
>                 Key: CASSANDRA-11918
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-11918
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Compaction
>         Environment: Cassandra 2.2.4, Centos 6.6 x86_64
>            Reporter: vin01
>            Priority: Minor
>
> After adding a new node to a 3 node cluster, i started "nodetool cleanup" as recommended.

> [data-center1]
> Node1, Node2, Node3
> [data-center2]
> Node4
> It finished successfully on one Node4 in the other data-center and took only one minute
to finish.
> On Node3 in data-center1, it threw many exceptions in between :-
> ERROR [SharedPool-Worker-2] 2016-05-29 00:00:03,571 ErrorMessage.java:336 - Unexpected
exception during request
> java.lang.NullPointerException: null
>         at com.stratio.cassandra.lucene.IndexSearcher.<init>(IndexSearcher.java:77)
~[cassandra-lucene-index-plugin-2.2.4.0.jar:na]
>         at com.stratio.cassandra.lucene.Index.createSecondaryIndexSearcher(Index.java:249)
~[cassandra-lucene-index-plugin-2.2.4.0.jar:na]
>         at org.apache.cassandra.db.index.SecondaryIndexManager.validateIndexSearchersForQuery(SecondaryIndexManager.java:590)
~[apache-cassandra-2.2.4.j
> ar:2.2.4]
>         at org.apache.cassandra.cql3.statements.SelectStatement.getValidatedIndexExpressions(SelectStatement.java:608)
~[apache-cassandra-2.2.4.jar:2.2.
> 4]
>         at org.apache.cassandra.cql3.statements.SelectStatement.getRangeCommand(SelectStatement.java:376)
~[apache-cassandra-2.2.4.jar:2.2.4]
>         at org.apache.cassandra.cql3.statements.SelectStatement.getPageableCommand(SelectStatement.java:186)
~[apache-cassandra-2.2.4.jar:2.2.4]
>         at org.apache.cassandra.cql3.statements.SelectStatement.execute(SelectStatement.java:172)
~[apache-cassandra-2.2.4.jar:2.2.4]
>         at org.apache.cassandra.cql3.statements.SelectStatement.execute(SelectStatement.java:76)
~[apache-cassandra-2.2.4.jar:2.2.4]
>         at org.apache.cassandra.cql3.QueryProcessor.processStatement(QueryProcessor.java:226)
~[apache-cassandra-2.2.4.jar:2.2.4]
>         at org.apache.cassandra.cql3.QueryProcessor.processPrepared(QueryProcessor.java:466)
~[apache-cassandra-2.2.4.jar:2.2.4]
>         at com.stratio.cassandra.lucene.IndexQueryHandler.processPrepared(IndexQueryHandler.java:108)
~[cassandra-lucene-index-plugin-2.2.4.0.jar:na]
>         at org.apache.cassandra.transport.messages.ExecuteMessage.execute(ExecuteMessage.java:142)
~[apache-cassandra-2.2.4.jar:2.2.4]
>         at org.apache.cassandra.transport.Message$Dispatcher.channelRead0(Message.java:507)
[apache-cassandra-2.2.4.jar:2.2.4]
>         at org.apache.cassandra.transport.Message$Dispatcher.channelRead0(Message.java:401)
[apache-cassandra-2.2.4.jar:2.2.4]
>         at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105)
[netty-all-4.0.23.Final.jar:4.0.23.Final]
>         at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333)
[netty-all-4.0.23.Final.jar:4.0.23.Final]
>         at io.netty.channel.AbstractChannelHandlerContext.access$700(AbstractChannelHandlerContext.java:32)
[netty-all-4.0.23.Final.jar:4.0.23.Final]
>         at io.netty.channel.AbstractChannelHandlerContext$8.run(AbstractChannelHandlerContext.java:324)
[netty-all-4.0.23.Final.jar:4.0.23.Final]
>         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [na:1.8.0_72]
>         at org.apache.cassandra.concurrent.AbstractTracingAwareExecutorService$FutureTask.run(AbstractTracingAwareExecutorService.java:164)
[apache-cassandra-2.2.4.jar:2.2.4]
>         at org.apache.cassandra.concurrent.SEPWorker.run(SEPWorker.java:105) [apache-cassandra-2.2.4.jar:2.2.4]
>         at java.lang.Thread.run(Thread.java:745) [na:1.8.0_72]
> I am not sure what is causing it and is it really a problem. 
> Also if cleanup process is interrupted, do i need to restart the node?



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

Mime
View raw message