cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Shook (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CASSANDRA-10443) CQLSStableWriter example fails on C*3.0
Date Sun, 04 Oct 2015 05:32:26 GMT
Jonathan Shook created CASSANDRA-10443:
------------------------------------------

             Summary: CQLSStableWriter example fails on C*3.0
                 Key: CASSANDRA-10443
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-10443
             Project: Cassandra
          Issue Type: Bug
          Components: Core, Tools
            Reporter: Jonathan Shook


CQLSSTableWriter which works with 2.2.1 does not work with 3.0rc1.
Something like https://github.com/yukim/cassandra-bulkload-example should be added to the
test suite.

Exception in thread "main" java.lang.RuntimeException: java.lang.ExceptionInInitializerError
	at org.apache.cassandra.io.sstable.SSTableSimpleUnsortedWriter.close(SSTableSimpleUnsortedWriter.java:136)
	at org.apache.cassandra.io.sstable.CQLSSTableWriter.close(CQLSSTableWriter.java:274)
	at com.metawiring.sandbox.BulkLoadExample.main(BulkLoadExample.java:160)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at com.intellij.rt.execution.application.AppMain.main(AppMain.java:140)
Caused by: java.lang.ExceptionInInitializerError
	at org.apache.cassandra.db.Keyspace.initCf(Keyspace.java:372)
	at org.apache.cassandra.db.Keyspace.<init>(Keyspace.java:309)
	at org.apache.cassandra.db.Keyspace.open(Keyspace.java:133)
	at org.apache.cassandra.db.Keyspace.open(Keyspace.java:110)
	at org.apache.cassandra.io.sstable.SSTableTxnWriter.create(SSTableTxnWriter.java:97)
	at org.apache.cassandra.io.sstable.AbstractSSTableSimpleWriter.createWriter(AbstractSSTableSimpleWriter.java:63)
	at org.apache.cassandra.io.sstable.SSTableSimpleUnsortedWriter$DiskWriter.run(SSTableSimpleUnsortedWriter.java:206)
Caused by: java.lang.NullPointerException
	at org.apache.cassandra.config.DatabaseDescriptor.getFlushWriters(DatabaseDescriptor.java:1153)
	at org.apache.cassandra.db.ColumnFamilyStore.<clinit>(ColumnFamilyStore.java:116)
	... 7 more




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

Mime
View raw message