spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From meson10 <>
Subject java.lang.NullPointerException while performing rdd.SaveToCassandra
Date Mon, 02 May 2016 17:32:39 GMT

I am trying to save a RDD to Cassandra but I am running into the following

The Python code looks like this:

I am using DSE 4.8.6 which runs Spark 1.4.2

I ran through a bunch of existing posts on this mailing lists and have
already performed the following routines:

 * Ensure that there is no redundant cassandra .jar lying around,
interfering with the process.
 * Wiped clean and reinstall DSE to ensure that.
 * Tried Loading data from Cassandra to ensure that Spark <-> Cassandra
communication is working. I used        print
self.context.cassandraTable(keyspace='test', table='dummy').collect() to
validate that.
 * Ensure there are no null values in my dataset that is being written.
 * The namespace and the table exist in Cassandra using cassandra@cqlsh>
SELECT * from test.dummy ;

View this message in context:
Sent from the Apache Spark User List mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message