You need the appropriate hadoop jar on your classpath otherwise es-hadoop repository plugin cannot connect to HDFS. In the repo, you'll find two versions with vanilla hadoop1 and hadoop2 - however if you are using a certain distro, for best compatibility you should use that distro client jars. Please refer to your distro client configuration and use the light version along with those jars.
P.S. In the future, please create your own thread instead of 'hijacking'/reviving an old one. Cheers, On Tue, Oct 14, 2014 at 10:00 PM, Jinyuan Zhou <[email protected]> wrote: > My ES cluster nodes and Hadoop nodes are not collocated. Light version does > not works for me without putting enough correct versions of hadoop related > jars. Right now I don't want to create my jar as Brent did and I don't want > to install hadoop or copy jars on the es nodes either . Right now I can wait > until my hadoop cluster upgrade to a version that es-hadoop supports. Or > there is a version that is compatible to the hadoop My ES nodes talk to . > Thanks, > > > On Monday, September 1, 2014 8:50:25 AM UTC-7, Mateusz Kaczynski wrote: >> >> (Much delayed) thank you Costin. >> >> Indeed, on Ubuntu, changing ES_CLASSPATH to include hadoop and hadoop/lib >> directories in /etc/default/elasticsearch (and exporting it in >> /etc/init.d/elasticsearch) and installing light plugin version did work. > > -- > 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/ca1465d4-d617-4623-9de3-35bd69e6f8fb%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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAJogdmdihcht8e%3DDeYy0CTipOzazzT5KZgbkVbEyW80ZQEfVHA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
