*my spark job running *
this is a error
org.elasticsearch.hadoop.rest.EsHadoopNoNodesLeftException: Connection
error (check network and/or proxy settings)- all nodes failed
*my code *
val conf = new SparkConf()
conf.set("es.nodes", "1.1.1.1")
datainfo.saveJsonToEs("index/type")
i need help
thanks
--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/6bc46afa-c058-4f23-9256-39555c574a70%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.