NoSuchMethodError: writing spark-streaming data to cassandra

2014-12-09 Thread m.sarosh
Hi, I am intending to save the streaming data from kafka into Cassandra, using spark-streaming: But there seems to be problem with line javaFunctions(data).writerBuilder(testkeyspace, test_table, mapToRow(TestTable.class)).saveToCassandra(); I am getting NoSuchMethodError. The code, the

Re: NoSuchMethodError: writing spark-streaming data to cassandra

2014-12-09 Thread Gerard Maas
You're using two conflicting versions of the connector: the Scala version at 1.1.0 and the Java version at 1.0.4. I don't use Java, but I guess you only need the java dependency for your job - and with the version fixed. dependency groupIdcom.datastax.spark/groupId

Re: NoSuchMethodError: writing spark-streaming data to cassandra

2014-12-09 Thread m.sarosh
. From: Gerard Maas gerard.m...@gmail.com Sent: Tuesday, December 9, 2014 4:39 PM To: Sarosh, M. Cc: spark users Subject: Re: NoSuchMethodError: writing spark-streaming data to cassandra You're using two conflicting versions of the connector: the Scala version at 1.1.0