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

ZhaoYang reassigned CASSANDRA-12958:
------------------------------------

    Assignee:     (was: ZhaoYang)

> Cassandra Not Starting NullPointerException at 
> org.apache.cassandra.db.index.SecondaryIndex.createInstance
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-12958
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-12958
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Legacy/Core
>         Environment: CentOS
>            Reporter: Ashraful Islam
>            Priority: Normal
>              Labels: Bug, not_start, secondary_index
>
> Whole Process of this issue is given below : 
> # Dropped secondary index.
> # Run Repair on cluster.
> # After 15 days later of dropping index, below configuration changed in 
> Cassandra.yaml :
> index_summary_resize_interval_in_minutes: -1 
> (cause While adding nodes it was taking a lot of time to redistribute index)
> # Rolling restart all nodes.
> # While adding fresh node, live nodes were going down.
> After two nodes are down, we stopped node adding process. 
> This is the error Cassandra throws while restarting down nodes in System.log: 
> {noformat}
> INFO  [main] 2016-11-27 00:51:48,220 ColumnFamilyStore.java:382 - 
> Initializing ringid.verifiedmobile
> ERROR [main] 2016-11-27 00:51:48,236 CassandraDaemon.java:651 - Exception 
> encountered during startup
> java.lang.NullPointerException: null
>     at 
> org.apache.cassandra.db.index.SecondaryIndex.createInstance(SecondaryIndex.java:378)
>  ~[apache-cassandra-2.2.4.jar:2.2.4]
>     at 
> org.apache.cassandra.db.index.SecondaryIndexManager.addIndexedColumn(SecondaryIndexManager.java:279)
>  ~[apache-cassandra-2.2.4.jar:2.2.4]
>     at org.apache.cassandra.db.ColumnFamilyStore.(ColumnFamilyStore.java:407) 
> ~[apache-cassandra-2.2.4.jar:2.2.4]
>     at org.apache.cassandra.db.ColumnFamilyStore.(ColumnFamilyStore.java:354) 
> ~[apache-cassandra-2.2.4.jar:2.2.4]
>     at 
> org.apache.cassandra.db.ColumnFamilyStore.createColumnFamilyStore(ColumnFamilyStore.java:535)
>  ~[apache-cassandra-2.2.4.jar:2.2.4]
>     at 
> org.apache.cassandra.db.ColumnFamilyStore.createColumnFamilyStore(ColumnFamilyStore.java:511)
>  ~[apache-cassandra-2.2.4.jar:2.2.4]
>     at org.apache.cassandra.db.Keyspace.initCf(Keyspace.java:342) 
> ~[apache-cassandra-2.2.4.jar:2.2.4]
>     at org.apache.cassandra.db.Keyspace.(Keyspace.java:270) 
> ~[apache-cassandra-2.2.4.jar:2.2.4]
>     at org.apache.cassandra.db.Keyspace.open(Keyspace.java:116) 
> ~[apache-cassandra-2.2.4.jar:2.2.4]
>     at org.apache.cassandra.db.Keyspace.open(Keyspace.java:93) 
> ~[apache-cassandra-2.2.4.jar:2.2.4]
>     at 
> org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:256) 
> [apache-cassandra-2.2.4.jar:2.2.4]
>     at 
> org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:529)
>  [apache-cassandra-2.2.4.jar:2.2.4]
>     at 
> org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:638) 
> [apache-cassandra-2.2.4.jar:2.2.4]
> {noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to