I am trying to visualise data from spark in Kibana. However, creating an RRD by using the following:
val test = sc.cassandraTable("test","data")
Then I used the Elasticsearch and Hadoop library to stream to Elasticsearch with following:
EsSpark.saveToEs(test, "spark/docs", Map("es.nodes" -> "192.168.1.88"))
but i get this error:
15/04/20 16:15:27 ERROR TaskSetManager: Task 0 in stage 12.0 failed 4 times; aborting job
org.apache.spark.SparkException: Job aborted due to stage failure: Task 0 in stage 12.0 failed 4 times, most recent failure: Lost task 0.3 in stage 12.0 (TID 36, 192.168.1.92): org.elasticsearch.hadoop.serialization.EsHadoopSerializationException: Cannot handle type [class com.datastax.spark.connector.CassandraRow]
Could anyone guide me to streaming from spark to Elasticsearch. Is there any better way to visualize data from cassandra, solr or spark. I came across banana but it does not seem to have option for publishing dashabords.
Thanks