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

ZhaoYang edited comment on CASSANDRA-12958 at 7/12/17 11:18 AM:
----------------------------------------------------------------

| [2.2|https://github.com/jasonstack/cassandra/commits/CASSANDRA-12958] | 
[unit|https://circleci.com/gh/jasonstack/cassandra/144] | dtest: passed |


was (Author: jasonstack):
| [2.2|https://github.com/jasonstack/cassandra/commits/CASSANDRA-12958] | 
[unit|https://circleci.com/gh/jasonstack/cassandra/144] | [dtest] |

> 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: Core
>         Environment: CentOS
>            Reporter: Ashraful Islam
>            Assignee: ZhaoYang
>              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
(v6.4.14#64029)

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

Reply via email to