I am trying to follow the example of loading the bulk of the new and the following blog Cassandra:
If I use the provided jar and runs the example, then it works.
I, instead, provides the use of the source file (and the resulting jar when I try to run this error:
exception in thread "main) org.apache.cassandra on "java.lang org.apache.cassandra.cql3.statements.UpdateStatement.addUpdateForKey (UpdateStatement.java:109) org.apache.cassandra.io.sstable.CQLSSTableWriter.rawAddRow (CQLSSTableWriter.java:218) on .ExceptionInInitializerError .io.sstable.CQLSSTableWriter.addRow org.apache.cassandra.io.sstable.CQLSSTableWriter.addRow (CQLSSTableWriter.java:113) to (CQLSSTableWriter.java:138) on bulkload.BulkLoad.main (BulkLoad.java : 145) was caused by: java.lang.NullPointerException at org.apache.cssandra.config.DatabaseDesc org.apache.cassandra.db.Keyspace on riptor.createAllDirectories (DatabaseDescriptor.java:605). & Lt; clinit & gt; (Keyspace.java:73) .. 5. More
I have not changed anything from the example in the file. I had assumed that it would have the correct result in running the jar file provided in the same example, but it did not happen. Can anyone explain what I did?
Thank you.
No comments:
Post a Comment