Hi,

I'm trying to insert data into elasticsearch from pig. I can insert into ES 
on the same node as Pig just fine, but when I try to insert it into ES on 
another node, I'm running into errors. I'm using the following command - 

STORE result INTO 'medi/hps_with_prev' USING 
org.elasticsearch.hadoop.pig.EsStorage ('es.http.timeout = 5m', 
'es.index.auto.create = true', 'es.nodes=es-name:9210');

My cluster and node name is 'es-name' and http port is 9210. I'm running 
into the following error - 

Connection error (check network and/or proxy settings)- all nodes failed; 
tried [[es-name:9210]]

What am I missing? 

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/ab7cb546-4d07-4465-9ff9-6532f829ee01%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to