i am a beginner in elasticsearch and hadoop. i am having a problem with 
moving data from hdfs into elasticsearch server using 
es.net.proxy.http.host with credentials. Server secured with credentials 
using nginx proxy configuration. But when i am trying to move data using 
pig script it shows null pointer exception.

My pig script is

*REGISTER 
elasticsearch-hadoop-1.3.0.M3/dist/elasticsearch-hadoop-1.3.0.M3.jar*

*A = load 'date' using PigStorage() as (date:datetime);*

*store A into 'doc/id' using 
org.elasticsearch.hadoop.pig.EsStorage('es.net.proxy.http.host=ipaddress','es.net.proxy.http.port=portnumber','es.net.proxy.http.user=username','es.net.proxy.http.pass=password');*

I don't understand where is the problem with my script. Can anyone please 
help me?

Thanks in Advance.

-- 
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/243c914a-dd48-4575-8adc-7b1b4fe3067c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to