cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrey (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-9182) NPE during startup
Date Mon, 13 Apr 2015 19:59:14 GMT

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

Andrey commented on CASSANDRA-9182:
-----------------------------------

I don't use anything specific. Here is output from "DESCRIBE KEYSPACE"

{code}
CREATE KEYSPACE mykeyspalce WITH replication = {'class': 'SimpleStrategy', 'replication_factor':
'1'}  AND durable_writes = true;

CREATE TABLE mykeyspalce.table (
    id uuid PRIMARY KEY,
    email text
) WITH bloom_filter_fp_chance = 0.01
    AND caching = '{"keys":"ALL", "rows_per_partition":"NONE"}'
    AND comment = ''
    AND compaction = {'min_threshold': '4', 'class': 'org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy',
'max_threshold': '32'}
    AND compression = {'sstable_compression': 'org.apache.cassandra.io.compress.LZ4Compressor'}
    AND dclocal_read_repair_chance = 0.1
    AND default_time_to_live = 0
    AND gc_grace_seconds = 864000
    AND max_index_interval = 2048
    AND memtable_flush_period_in_ms = 0
    AND min_index_interval = 128
    AND read_repair_chance = 0.0
    AND speculative_retry = '99.0PERCENTILE';
{code}

Most of the tables follow "mykeyspalce.table" pattern. No indexes.

> NPE during startup
> ------------------
>
>                 Key: CASSANDRA-9182
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-9182
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>            Reporter: Andrey
>             Fix For: 2.1.5
>
>
> Environment:
> * cassandra 2.1.3
> Got NPE during startup. Here is steps to reproduce (however not sure if that will be
enough):
> * start single node cluster. fill it with data (replication factor 1)
> * start second node.
> * in second node's logs:
> {code}
> ERROR [Thread-3] 2015-04-13 07:22:58,558 CassandraDaemon.java - Exception in thread Thread[Thread-3,5,main]
> java.lang.NullPointerException: null
>         at org.apache.cassandra.db.PagedRangeCommand$Serializer.deserialize(PagedRangeCommand.java:165)
~[apache-cassandra-2.1.3.jar:2.1.3]
>         at org.apache.cassandra.db.PagedRangeCommand$Serializer.deserialize(PagedRangeCommand.java:124)
~[apache-cassandra-2.1.3.jar:2.1.3]
>         at org.apache.cassandra.net.MessageIn.read(MessageIn.java:99) ~[apache-cassandra-2.1.3.jar:2.1.3]
>         at org.apache.cassandra.net.IncomingTcpConnection.receiveMessage(IncomingTcpConnection.java:168)
~[apache-cassandra-2.1.3.jar:2.1.3]
>         at org.apache.cassandra.net.IncomingTcpConnection.receiveMessages(IncomingTcpConnection.java:150)
~[apache-cassandra-2.1.3.jar:2.1.3]
>         at org.apache.cassandra.net.IncomingTcpConnection.run(IncomingTcpConnection.java:82)
~[apache-cassandra-2.1.3.jar:2.1.3]
> INFO  [GossipStage:1] 2015-04-13 07:23:00,149 Gossiper.java - Node /172.30.0.86 is now
part of the cluster
> ERROR [MigrationStage:1] 2015-04-13 07:23:00,176 MigrationTask.java - Can't send migration
request: node /172.30.0.86 is down.
> ERROR [MigrationStage:1] 2015-04-13 07:23:00,178 MigrationTask.java - Can't send migration
request: node /172.30.0.86 is down.
> INFO  [HANDSHAKE-/172.30.0.86] 2015-04-13 07:23:00,184 OutboundTcpConnection.java - Handshaking
version with /172.30.0.86
> INFO  [SharedPool-Worker-1] 2015-04-13 07:23:00,347 Gossiper.java - InetAddress /172.30.0.86
is now UP
> INFO  [HANDSHAKE-/172.30.0.86] 2015-04-13 07:23:00,351 OutboundTcpConnection.java - Handshaking
version with /172.30.0.86
> INFO  [SharedPool-Worker-1] 2015-04-13 07:23:00,509 Gossiper.java - InetAddress /172.30.0.86
is now UP
> {code}



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

Mime
View raw message