Org.elasticsearch.hadoop.rest.EsHadoopNoNodesLeftException: Connection error (check network and/or proxy settings)- all nodes failed

*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.

The error should be self explanatory - Elasticsearch cluster is not
accessible. Make sure that 1.1.1.1 is accessible from the Spark
cluster and that the REST interface is enabled and exposed.

On Fri, Apr 17, 2015 at 11:50 AM, guoyiqincn@gmail.com wrote:

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.

--
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/CAJogdmeRjO4_gNVkL4rh5-%3DUrJepUCi0QF0fTFvsfcYsiE16vA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.