cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-5296) NPE on /init.d/cassandra start
Date Sat, 23 Mar 2013 04:45:22 GMT

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

Jonathan Ellis commented on CASSANDRA-5296:
-------------------------------------------

How many nodes are in your cluster?  Are you able to reproduce?
                
> NPE on /init.d/cassandra start
> ------------------------------
>
>                 Key: CASSANDRA-5296
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-5296
>             Project: Cassandra
>          Issue Type: Bug
>    Affects Versions: 1.2.1
>         Environment: Linux srv1 3.2.0-27-generic #43-Ubuntu SMP Fri Jul 6 14:25:57 UTC
2012 x86_64 x86_64 x86_64 GNU/Linux
>            Reporter: Pavel Trukhanov
>
> {code}
> ==> /var/log/cassandra/output.log <==
> INFO 18:05:18,466 Logging initialized
>  INFO 18:05:18,477 JVM vendor/version: Java HotSpot(TM) 64-Bit Server VM/1.6.0_32
>  INFO 18:05:18,478 Heap size: 6358564864/6358564864
>  INFO 18:05:18,478 Classpath: /usr/share/java/mx4j-tools.jar:/usr/share/cassandra/lib/antlr-3.2.jar:/usr/share/cassandra/lib/avro-1.4.0-fixes.jar:/usr/share/cassandra/lib/avro-1.4.0-sources-fixes.jar:/usr/share/cassandra/lib/commons-cli-1.1.jar:/usr/share/cassandra/lib/commons-codec-1.2.jar:/usr/share/cassandra/lib/commons-lang-2.6.jar:/usr/share/cassandra/lib/compress-lzf-0.8.4.jar:/usr/share/cassandra/lib/concurrentlinkedhashmap-lru-1.3.jar:/usr/share/cassandra/lib/guava-13.0.1.jar:/usr/share/cassandra/lib/high-scale-lib-1.1.2.jar:/usr/share/cassandra/lib/jackson-core-asl-1.9.2.jar:/usr/share/cassandra/lib/jackson-mapper-asl-1.9.2.jar:/usr/share/cassandra/lib/jamm-0.2.5.jar:/usr/share/cassandra/lib/jline-1.0.jar:/usr/share/cassandra/lib/json-simple-1.1.jar:/usr/share/cassandra/lib/libthrift-0.7.0.jar:/usr/share/cassandra/lib/log4j-1.2.16.jar:/usr/share/cassandra/lib/metrics-core-2.0.3.jar:/usr/share/cassandra/lib/netty-3.5.9.Final.jar:/usr/share/cassandra/lib/servlet-api-2.5-20081211.jar:/usr/share/cassandra/lib/slf4j-api-1.7.2.jar:/usr/share/cassandra/lib/slf4j-log4j12-1.7.2.jar:/usr/share/cassandra/lib/snakeyaml-1.6.jar:/usr/share/cassandra/lib/snappy-java-1.0.4.1.jar:/usr/share/cassandra/lib/snaptree-0.1.jar:/usr/share/cassandra/apache-cassandra-1.2.1.jar:/usr/share/cassandra/apache-cassandra-thrift-1.2.1.jar:/usr/share/cassandra/apache-cassandra.jar:/usr/share/cassandra/stress.jar:/usr/share/java/jna.jar:/etc/cassandra:/usr/share/java/commons-daemon.jar:/usr/share/cassandra/lib/jamm-0.2.5.jar
>  INFO 18:05:20,021 JNA mlockall successful
>  INFO 18:05:20,042 Loading settings from file:/etc/cassandra/cassandra.yaml
>  INFO 18:05:20,352 DiskAccessMode 'auto' determined to be mmap, indexAccessMode is mmap
>  INFO 18:05:20,352 disk_failure_policy is stop
>  INFO 18:05:20,368 Global memtable threshold is enabled at 2048MB
>  INFO 18:05:21,401 Initializing key cache with capacity of 100 MBs.
>  INFO 18:05:21,417 Scheduling key cache save to each 14400 seconds (going to save all
keys).
>  INFO 18:05:21,417 Initializing row cache with capacity of 0 MBs and provider org.apache.cassandra.cache.SerializingCacheProvider
>  INFO 18:05:21,420 Scheduling row cache save to each 0 seconds (going to save all keys).
>  INFO 18:05:21,640 Opening /var/lib/cassandra/data/system/schema_keyspaces/system-schema_keyspaces-ib-3
(191 bytes)
>  INFO 18:05:22,185 Opening /var/lib/cassandra/data/system/schema_columnfamilies/system-schema_columnfamilies-ib-3
(2674 bytes)
>  INFO 18:05:22,214 Opening /var/lib/cassandra/data/system/schema_columns/system-schema_columns-ib-3
(437 bytes)
>  INFO 18:05:22,240 Opening /var/lib/cassandra/data/system/peers/system-peers-ib-3 (150
bytes)
>  INFO 18:05:22,240 Opening /var/lib/cassandra/data/system/peers/system-peers-ib-2 (300
bytes)
>  INFO 18:05:22,240 Opening /var/lib/cassandra/data/system/peers/system-peers-ib-1 (193
bytes)
>  INFO 18:05:22,395 Opening /var/lib/cassandra/data/system/local/system-local-ib-2 (120
bytes)
>  INFO 18:05:22,395 Opening /var/lib/cassandra/data/system/local/system-local-ib-7 (84
bytes)
>  INFO 18:05:22,396 Opening /var/lib/cassandra/data/system/local/system-local-ib-8 (535
bytes)
>  INFO 18:05:22,396 Opening /var/lib/cassandra/data/system/local/system-local-ib-4 (146
bytes)
>  INFO 18:05:22,395 Opening /var/lib/cassandra/data/system/local/system-local-ib-3 (90
bytes)
>  INFO 18:05:22,395 Opening /var/lib/cassandra/data/system/local/system-local-ib-6 (97
bytes)
>  INFO 18:05:22,396 Opening /var/lib/cassandra/data/system/local/system-local-ib-1 (351
bytes)
>  INFO 18:05:22,396 Opening /var/lib/cassandra/data/system/local/system-local-ib-5 (97
bytes)
> java.lang.NullPointerException
> 	at org.apache.cassandra.utils.ByteBufferUtil.string(ByteBufferUtil.java:167)
> 	at org.apache.cassandra.utils.ByteBufferUtil.string(ByteBufferUtil.java:124)
> 	at org.apache.cassandra.cql.jdbc.JdbcUTF8.getString(JdbcUTF8.java:73)
> 	at org.apache.cassandra.cql.jdbc.JdbcUTF8.compose(JdbcUTF8.java:93)
> 	at org.apache.cassandra.db.marshal.UTF8Type.compose(UTF8Type.java:32)
> 	at org.apache.cassandra.cql3.UntypedResultSet$Row.getString(UntypedResultSet.java:96)
> 	at org.apache.cassandra.config.CFMetaData.fromSchemaNoColumns(CFMetaData.java:1347)
> 	at org.apache.cassandra.config.CFMetaData.fromSchema(CFMetaData.java:1404)
> 	at org.apache.cassandra.config.KSMetaData.deserializeColumnFamilies(KSMetaData.java:312)
> 	at org.apache.cassandra.config.KSMetaData.fromSchema(KSMetaData.java:293)
> 	at org.apache.cassandra.db.DefsTable.loadFromTable(DefsTable.java:156)
> 	at org.apache.cassandra.config.DatabaseDescriptor.loadSchemas(DatabaseDescriptor.java:569)
> 	at org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:188)
> 	at org.apache.cassandra.service.CassandraDaemon.init(CassandraDaemon.java:315)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.apache.commons.daemon.support.DaemonLoader.load(DaemonLoader.java:212)
> Cannot load daemon
> Service exit with a return value of 3
> {code}
> i suppose that happened because of two operations confict:
> first i got timeout on cf truncate
> then i`ve tried drop this cf and i got NPE in cassandra-cli
> so now i cant start this node, no matter how i tried
>  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message