cassandra - Exception in thread "main" java.lang.AbstractMethodErrorat org.apache.spark.Logging$class.log(Logging.scala:52) -
hi getting below exception while running spark application. application read text file using spark , persisting same cassandra db.
exception in thread "main" java.lang.abstractmethoderror @ org.apache.spark.logging$class.log(logging.scala:52) @ com.datastax.spark.connector.cql.cassandraconnector$.log(cassandraconnector.scala:142) @ org.apache.spark.logging$class.logdebug(logging.scala:63) @ com.datastax.spark.connector.cql.cassandraconnector$.logdebug(cassandraconnector.scala:142) @ com.datastax.spark.connector.cql.cassandraconnector$.com$datastax$spark$connector$cql$cassandraconnector$$createsession(cassandraconnector.scala:152) @ com.datastax.spark.connector.cql.cassandraconnector$$anonfun$4.apply(cassandraconnector.scala:149) @ com.datastax.spark.connector.cql.cassandraconnector$$anonfun$4.apply(cassandraconnector.scala:149) @ com.datastax.spark.connector.cql.refcountedcache.createnewvalueandkeys(refcountedcache.scala:36) @ com.datastax.spark.connector.cql.refcountedcache.acquire(refcountedcache.scala:61) @ com.datastax.spark.connector.cql.cassandraconnector.opensession(cassandraconnector.scala:72) @ com.datastax.spark.connector.cql.cassandraconnector.withsessiondo(cassandraconnector.scala:97) @ com.datastax.spark.connector.cql.cassandraconnector.withclusterdo(cassandraconnector.scala:108) @ com.datastax.spark.connector.cql.schema$.fromcassandra(schema.scala:123) @ com.datastax.spark.connector.writer.tablewriter$.apply(tablewriter.scala:163) @ com.datastax.spark.connector.rddfunctions.savetocassandra(rddfunctions.scala:60) @ com.datastax.spark.connector.rddjavafunctions.savetocassandra(rddjavafunctions.java:24) @ com.datastax.spark.connector.rddanddstreamcommonjavafunctions.savetocassandra(rddanddstreamcommonjavafunctions.java:77) @ com.datastax.spark.connector.rddanddstreamcommonjavafunctions.savetocassandra(rddanddstreamcommonjavafunctions.java:156) @ com.datastax.spark.connector.rddanddstreamcommonjavafunctions.savetocassandra(rddanddstreamcommonjavafunctions.java:232) @ test.sparkwithcassandra.main(sparkwithcassandra.java:82)
Comments
Post a Comment