# Elasticsearch-Hadoop repository plugin Cloudera Hadoop 2.0.0-cdh4.6.0

**URL:** <https://discuss.elastic.co/t/elasticsearch-hadoop-repository-plugin-cloudera-hadoop-2-0-0-cdh4-6-0/19291>\
**Category:** Elasticsearch\
**Created:** [August 14, 2014, 4:36pm UTC](https://discuss.elastic.co/t/elasticsearch-hadoop-repository-plugin-cloudera-hadoop-2-0-0-cdh4-6-0/19291 "2014-08-14T16:36:32Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mateusz\_Kaczynski](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mateusz_kaczynski/32/1206_2.png) [@Mateusz\_Kaczynski](https://discuss.elastic.co/u/Mateusz_Kaczynski)\
**Post date:** [August 14, 2014, 4:36pm UTC](https://discuss.elastic.co/t/elasticsearch-hadoop-repository-plugin-cloudera-hadoop-2-0-0-cdh4-6-0/19291/1 "2014-08-14T16:36:32Z")

</div>

I'm trying to get es-hadoop repository plugin working on our hadoop  
2.0.0-cdh4.6.0 distribution and it seems like I'm quite lost.

I installed plugin's -hadoop2 version on the machines on our hadoop cluster  
(which also run our stage elasticsearch nodes).

When attempting to create a repository on one of the datanodes with:

> curl -XPUT 1.0.0.1:9200/\_snapshot/hdfs -d '{"type":"hdfs", "settings":  
> {"uri": "hdfs://1.0.0.10:54310", "path":"/es\_backup"}}'

I end up with the logs being filled with the following error:  
Caused by: com.google.protobuf.InvalidProtocolBufferException: Protocol  
message contained an invalid tag (zero).  
at  
com.google.protobuf.InvalidProtocolBufferException.invalidTag(InvalidProtocolBufferException.java:89)  
at com.google.protobuf.CodedInputStream.readTag(CodedInputStream.java:108)  
at  
org.apache.hadoop.ipc.protobuf.RpcHeaderProtos$RpcResponseHeaderProto.(RpcHeaderProtos.java:1398)  
at  
org.apache.hadoop.ipc.protobuf.RpcHeaderProtos$RpcResponseHeaderProto.(RpcHeaderProtos.java:1362)  
at  
org.apache.hadoop.ipc.protobuf.RpcHeaderProtos$RpcResponseHeaderProto$1.parsePartialFrom(RpcHeaderProtos.java:1492)  
at  
org.apache.hadoop.ipc.protobuf.RpcHeaderProtos$RpcResponseHeaderProto$1.parsePartialFrom(RpcHeaderProtos.java:1487)  
at  
com.google.protobuf.AbstractParser.parsePartialFrom(AbstractParser.java:200)  
at  
com.google.protobuf.AbstractParser.parsePartialDelimitedFrom(AbstractParser.java:241)  
at  
com.google.protobuf.AbstractParser.parseDelimitedFrom(AbstractParser.java:253)  
at  
com.google.protobuf.AbstractParser.parseDelimitedFrom(AbstractParser.java:259)  
at  
com.google.protobuf.AbstractParser.parseDelimitedFrom(AbstractParser.java:49)  
at  
org.apache.hadoop.ipc.protobuf.RpcHeaderProtos$RpcResponseHeaderProto.parseDelimitedFrom(RpcHeaderProtos.java:2364)  
at  
org.apache.hadoop.ipc.Client$Connection.receiveRpcResponse(Client.java:996)  
at org.apache.hadoop.ipc.Client$Connection.run(Client.java:891)

Is it possible that this is caused by the incompatible hadoop versions (2.2  
used by plugin with 2.0 being installed) and it is necessary to get it  
build with downgraded version?

Also, to build the jar, is it just

> gradle build -Pdistro=hadoopYarn ?

Because release 2.0.1 does not quite work for me as it fails to find  
JobLocalizer.class.

Regards,  
Mateusz

--  
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](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/5aff7e2a-eb3e-4bb8-8698-05fec6a67e87%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/5aff7e2a-eb3e-4bb8-8698-05fec6a67e87%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![costin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/costin/32/44950_2.png) [@costin](https://discuss.elastic.co/u/costin)\
**Post date:** [August 14, 2014, 8:59pm UTC](https://discuss.elastic.co/t/elasticsearch-hadoop-repository-plugin-cloudera-hadoop-2-0-0-cdh4-6-0/19291/2 "2014-08-14T20:59:24Z")

</div>

Hi,

The hdfs repository relies on vanilla Hadoop 2.2 since that's the official stable version of Yarn. Since you are using a  
different  
Hadoop version, use the 'light' version as explained in the docs - this contains only the repository-hdfs, without the  
Hadoop dependency  
(since you already have it installed).

In other words, both the error that you see as well as the 2.0.1 (regarding JobLocalizer) seems to be related to the  
differences between  
vanilla Hadoop 2.2 and the one you are using.

Hope this helps,

On 8/14/14 7:36 PM, Mateusz Kaczynski wrote:

> I'm trying to get es-hadoop repository plugin working on our hadoop 2.0.0-cdh4.6.0 distribution and it seems like I'm  
> quite lost.
> 
> I installed plugin's -hadoop2 version on the machines on our hadoop cluster (which also run our stage elasticsearch nodes).
> 
> When attempting to create a repository on one of the datanodes with:
> 
> ```
> curl -XPUT 1.0.0.1:9200/_snapshot/hdfs -d '{"type":"hdfs", "settings": {"uri": "hdfs://1.0.0.10:54310",
> "path":"/es_backup"}}'
> 
> ```
> 
> I end up with the logs being filled with the following error:  
> Caused by: com.google.protobuf.InvalidProtocolBufferException: Protocol message contained an invalid tag (zero).  
> at com.google.protobuf.InvalidProtocolBufferException.invalidTag(InvalidProtocolBufferException.java:89)  
> at com.google.protobuf.CodedInputStream.readTag(CodedInputStream.java:108)  
> at org.apache.hadoop.ipc.protobuf.RpcHeaderProtos$RpcResponseHeaderProto.(RpcHeaderProtos.java:1398)  
> at org.apache.hadoop.ipc.protobuf.RpcHeaderProtos$RpcResponseHeaderProto.(RpcHeaderProtos.java:1362)  
> at org.apache.hadoop.ipc.protobuf.RpcHeaderProtos$RpcResponseHeaderProto$1.parsePartialFrom(RpcHeaderProtos.java:1492)  
> at org.apache.hadoop.ipc.protobuf.RpcHeaderProtos$RpcResponseHeaderProto$1.parsePartialFrom(RpcHeaderProtos.java:1487)  
> at com.google.protobuf.AbstractParser.parsePartialFrom(AbstractParser.java:200)  
> at com.google.protobuf.AbstractParser.parsePartialDelimitedFrom(AbstractParser.java:241)  
> at com.google.protobuf.AbstractParser.parseDelimitedFrom(AbstractParser.java:253)  
> at com.google.protobuf.AbstractParser.parseDelimitedFrom(AbstractParser.java:259)  
> at com.google.protobuf.AbstractParser.parseDelimitedFrom(AbstractParser.java:49)  
> at org.apache.hadoop.ipc.protobuf.RpcHeaderProtos$RpcResponseHeaderProto.parseDelimitedFrom(RpcHeaderProtos.java:2364)  
> at org.apache.hadoop.ipc.Client$Connection.receiveRpcResponse(Client.java:996)  
> at org.apache.hadoop.ipc.Client$Connection.run(Client.java:891)
> 
> Is it possible that this is caused by the incompatible hadoop versions (2.2 used by plugin with 2.0 being installed) and  
> it is necessary to get it build with downgraded version?
> 
> Also, to build the jar, is it just
> 
> ```
> gradle build -Pdistro=hadoopYarn ?
> 
> ```
> 
> Because release 2.0.1 does not quite work for me as it fails to find JobLocalizer.class.
> 
> Regards,  
> Mateusz
> 
> --  
> 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](mailto:elasticsearch+unsubscribe@googlegroups.com) [mailto:elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/5aff7e2a-eb3e-4bb8-8698-05fec6a67e87%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/5aff7e2a-eb3e-4bb8-8698-05fec6a67e87%40googlegroups.com)  
> [https://groups.google.com/d/msgid/elasticsearch/5aff7e2a-eb3e-4bb8-8698-05fec6a67e87%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/5aff7e2a-eb3e-4bb8-8698-05fec6a67e87%40googlegroups.com?utm_medium=email&utm_source=footer).  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
Costin

--  
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](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/53ED232C.7080201%40gmail.com](https://groups.google.com/d/msgid/elasticsearch/53ED232C.7080201%40gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Mateusz\_Kaczynski](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mateusz_kaczynski/32/1206_2.png) [@Mateusz\_Kaczynski](https://discuss.elastic.co/u/Mateusz_Kaczynski)\
**Post date:** [September 1, 2014, 3:49pm UTC](https://discuss.elastic.co/t/elasticsearch-hadoop-repository-plugin-cloudera-hadoop-2-0-0-cdh4-6-0/19291/3 "2014-09-01T15:49:43Z")

</div>

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

On Thursday, 14 August 2014 20:59:39 UTC, Costin Leau wrote:

> Hi,
> 
> The hdfs repository relies on vanilla Hadoop 2.2 since that's the official  
> stable version of Yarn. Since you are using a  
> different  
> Hadoop version, use the 'light' version as explained in the docs - this  
> contains only the repository-hdfs, without the  
> Hadoop dependency  
> (since you already have it installed).
> 
> In other words, both the error that you see as well as the 2.0.1  
> (regarding JobLocalizer) seems to be related to the  
> differences between  
> vanilla Hadoop 2.2 and the one you are using.
> 
> Hope this helps,
> 
> On 8/14/14 7:36 PM, Mateusz Kaczynski wrote:
> 
> > I'm trying to get es-hadoop repository plugin working on our hadoop  
> > 2.0.0-cdh4.6.0 distribution and it seems like I'm  
> > quite lost.
> > 
> > I installed plugin's -hadoop2 version on the machines on our hadoop  
> > cluster (which also run our stage elasticsearch nodes).
> > 
> > When attempting to create a repository on one of the datanodes with:
> > 
> > ```
> > curl -XPUT 1.0.0.1:9200/_snapshot/hdfs -d '{"type":"hdfs", 
> > 
> > ```
> 
> "settings": {"uri": "hdfs://1.0.0.10:54310",
> 
> > ```
> > "path":"/es_backup"}}' 
> > 
> > ```
> > 
> > I end up with the logs being filled with the following error:  
> > Caused by: com.google.protobuf.InvalidProtocolBufferException: Protocol  
> > message contained an invalid tag (zero).  
> > at  
> > com.google.protobuf.InvalidProtocolBufferException.invalidTag(InvalidProtocolBufferException.java:89)
> 
> > at  
> > com.google.protobuf.CodedInputStream.readTag(CodedInputStream.java:108)  
> > at  
> > org.apache.hadoop.ipc.protobuf.RpcHeaderProtos$RpcResponseHeaderProto.(RpcHeaderProtos.java:1398)
> 
> > at  
> > org.apache.hadoop.ipc.protobuf.RpcHeaderProtos$RpcResponseHeaderProto.(RpcHeaderProtos.java:1362)
> 
> > at  
> > org.apache.hadoop.ipc.protobuf.RpcHeaderProtos$RpcResponseHeaderProto$1.parsePartialFrom(RpcHeaderProtos.java:1492)
> 
> > at  
> > org.apache.hadoop.ipc.protobuf.RpcHeaderProtos$RpcResponseHeaderProto$1.parsePartialFrom(RpcHeaderProtos.java:1487)
> 
> > at  
> > com.google.protobuf.AbstractParser.parsePartialFrom(AbstractParser.java:200)
> 
> > at  
> > com.google.protobuf.AbstractParser.parsePartialDelimitedFrom(AbstractParser.java:241)
> 
> > at  
> > com.google.protobuf.AbstractParser.parseDelimitedFrom(AbstractParser.java:253)
> 
> > at  
> > com.google.protobuf.AbstractParser.parseDelimitedFrom(AbstractParser.java:259)
> 
> > at  
> > com.google.protobuf.AbstractParser.parseDelimitedFrom(AbstractParser.java:49)
> 
> > at  
> > org.apache.hadoop.ipc.protobuf.RpcHeaderProtos$RpcResponseHeaderProto.parseDelimitedFrom(RpcHeaderProtos.java:2364)
> 
> > at  
> > org.apache.hadoop.ipc.Client$Connection.receiveRpcResponse(Client.java:996)  
> > at org.apache.hadoop.ipc.Client$Connection.run(Client.java:891)
> > 
> > Is it possible that this is caused by the incompatible hadoop versions  
> > (2.2 used by plugin with 2.0 being installed) and  
> > it is necessary to get it build with downgraded version?
> > 
> > Also, to build the jar, is it just
> > 
> > ```
> > gradle build -Pdistro=hadoopYarn ? 
> > 
> > ```
> > 
> > Because release 2.0.1 does not quite work for me as it fails to find  
> > JobLocalizer.class.
> > 
> > Regards,  
> > Mateusz
> > 
> > --  
> > 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  
> > [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com) \<javascript:\> \<mailto:  
> > [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com) \<javascript:\>\>.  
> > To view this discussion on the web visit
> 
> [https://groups.google.com/d/msgid/elasticsearch/5aff7e2a-eb3e-4bb8-8698-05fec6a67e87%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/5aff7e2a-eb3e-4bb8-8698-05fec6a67e87%40googlegroups.com)
> 
> > \<  
> > [https://groups.google.com/d/msgid/elasticsearch/5aff7e2a-eb3e-4bb8-8698-05fec6a67e87%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/5aff7e2a-eb3e-4bb8-8698-05fec6a67e87%40googlegroups.com?utm_medium=email&utm_source=footer)\>.
> 
> > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> 
> --  
> Costin

--  
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](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/4ae0b343-72aa-459e-930e-559852c5d310%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/4ae0b343-72aa-459e-930e-559852c5d310%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Mateusz\_Kaczynski](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mateusz_kaczynski/32/1206_2.png) [@Mateusz\_Kaczynski](https://discuss.elastic.co/u/Mateusz_Kaczynski)\
**Post date:** [September 1, 2014, 3:50pm UTC](https://discuss.elastic.co/t/elasticsearch-hadoop-repository-plugin-cloudera-hadoop-2-0-0-cdh4-6-0/19291/4 "2014-09-01T15:50:25Z")

</div>

(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 [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/f3dc7f6a-3dc0-4793-af8e-ea4390540204%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/f3dc7f6a-3dc0-4793-af8e-ea4390540204%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Jinyuan\_Zhou](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jinyuan_zhou/32/90185_2.png) [@Jinyuan\_Zhou](https://discuss.elastic.co/u/Jinyuan_Zhou)\
**Post date:** [October 14, 2014, 7:00pm UTC](https://discuss.elastic.co/t/elasticsearch-hadoop-repository-plugin-cloudera-hadoop-2-0-0-cdh4-6-0/19291/5 "2014-10-14T19:00:20Z")

</div>

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 [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/ca1465d4-d617-4623-9de3-35bd69e6f8fb%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/ca1465d4-d617-4623-9de3-35bd69e6f8fb%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![costin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/costin/32/44950_2.png) [@costin](https://discuss.elastic.co/u/costin)\
**Post date:** [October 14, 2014, 8:36pm UTC](https://discuss.elastic.co/t/elasticsearch-hadoop-repository-plugin-cloudera-hadoop-2-0-0-cdh4-6-0/19291/6 "2014-10-14T20:36:14Z")

</div>

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 [zhou.jinyuan@gmail.com](mailto:zhou.jinyuan@gmail.com) 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 [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/ca1465d4-d617-4623-9de3-35bd69e6f8fb%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/ca1465d4-d617-4623-9de3-35bd69e6f8fb%40googlegroups.com).
> 
> For more options, visit [https://groups.google.com/d/optout](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](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CAJogdmdihcht8e%3DDeYy0CTipOzazzT5KZgbkVbEyW80ZQEfVHA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAJogdmdihcht8e%3DDeYy0CTipOzazzT5KZgbkVbEyW80ZQEfVHA%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Jinyuan\_Zhou](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jinyuan_zhou/32/90185_2.png) [@Jinyuan\_Zhou](https://discuss.elastic.co/u/Jinyuan_Zhou)\
**Post date:** [October 14, 2014, 11:58pm UTC](https://discuss.elastic.co/t/elasticsearch-hadoop-repository-plugin-cloudera-hadoop-2-0-0-cdh4-6-0/19291/7 "2014-10-14T23:58:54Z")

</div>

Thanks,

Jinyuan (Jack) Zhou

On Tue, Oct 14, 2014 at 1:36 PM, Costin Leau [costin.leau@gmail.com](mailto:costin.leau@gmail.com) wrote:

> 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 [zhou.jinyuan@gmail.com](mailto:zhou.jinyuan@gmail.com)  
> 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 [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> > To view this discussion on the web visit
> 
> [https://groups.google.com/d/msgid/elasticsearch/ca1465d4-d617-4623-9de3-35bd69e6f8fb%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/ca1465d4-d617-4623-9de3-35bd69e6f8fb%40googlegroups.com)  
> .
> 
> > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> 
> --  
> You received this message because you are subscribed to a topic in the  
> Google Groups "elasticsearch" group.  
> To unsubscribe from this topic, visit  
> [https://groups.google.com/d/topic/elasticsearch/613YHEUAtuA/unsubscribe](https://groups.google.com/d/topic/elasticsearch/613YHEUAtuA/unsubscribe).  
> To unsubscribe from this group and all its topics, send an email to  
> [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/CAJogdmdihcht8e%3DDeYy0CTipOzazzT5KZgbkVbEyW80ZQEfVHA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAJogdmdihcht8e%3DDeYy0CTipOzazzT5KZgbkVbEyW80ZQEfVHA%40mail.gmail.com)  
> .  
> For more options, visit [https://groups.google.com/d/optout](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](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CANBTPCGQFHAgz8SRzosoyJw8ixmqNJOxEh%3DUHa%3DMpP5XvfkWfA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CANBTPCGQFHAgz8SRzosoyJw8ixmqNJOxEh%3DUHa%3DMpP5XvfkWfA%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 12:56am UTC](https://discuss.elastic.co/t/elasticsearch-hadoop-repository-plugin-cloudera-hadoop-2-0-0-cdh4-6-0/19291/8 "2017-07-06T00:56:11Z")

</div>


