# Build hadoop plugin

**URL:** https://discuss.elastic.co/t/build-hadoop-plugin/7689
**Category:** Elasticsearch
**Created:** [May 14, 2012, 6:50pm UTC](https://discuss.elastic.co/t/build-hadoop-plugin/7689 "2012-05-14T18:50:21Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![Mohit\_Anchlia](https://avatars.discourse-cdn.com/v4/letter/m/848f3c/32.png) [@Mohit\_Anchlia](https://discuss.elastic.co/u/Mohit_Anchlia)
#### Post date: [May 14, 2012, 6:50pm UTC](https://discuss.elastic.co/t/build-hadoop-plugin/7689/1 "2012-05-14T18:50:21Z")

</div>

Do I need to build hadoop plugin? I don't see any jars availble that I can  
drop in elasticsearch dir from

> **[elastic/elasticsearch-hadoop](https://github.com/elastic/elasticsearch-hadoop)**
>
> elasticsearch-hadoop - :elephant: Elasticsearch real-time search and analytics natively integrated with Hadoop

---

<div class="post-metadata">

### Author: ![Mohit\_Anchlia](https://avatars.discourse-cdn.com/v4/letter/m/848f3c/32.png) [@Mohit\_Anchlia](https://discuss.elastic.co/u/Mohit_Anchlia)
#### Post date: [May 14, 2012, 9:13pm UTC](https://discuss.elastic.co/t/build-hadoop-plugin/7689/2 "2012-05-14T21:13:35Z")

</div>

I ended up building it. Looks like it doesn't have repo configured. Now my  
question is should I just copy the jar from target and copy it to  
elasticsearch directory?

On Mon, May 14, 2012 at 11:50 AM, Mohit Anchlia [mohitanchlia@gmail.com](mailto:mohitanchlia@gmail.com)wrote:

> Do I need to build hadoop plugin? I don't see any jars availble that I can  
> drop in elasticsearch dir from  
> [GitHub - elastic/elasticsearch-hadoop: Elasticsearch real-time search and analytics natively integrated with Hadoop](https://github.com/elasticsearch/elasticsearch-hadoop)

---

<div class="post-metadata">

### Author: ![Mohit\_Anchlia](https://avatars.discourse-cdn.com/v4/letter/m/848f3c/32.png) [@Mohit\_Anchlia](https://discuss.elastic.co/u/Mohit_Anchlia)
#### Post date: [May 14, 2012, 9:26pm UTC](https://discuss.elastic.co/t/build-hadoop-plugin/7689/3 "2012-05-14T21:26:04Z")

</div>

I am having hard time configuring hadoop plugin. I don't even see file  
under \_site

bin/plugin -install elasticsearch/elasticsearch-hadoop/1.2.0

-\> Installing elasticsearch/elasticsearch-hadoop/1.2.0...

Trying  
[https://github.com/downloads/elasticsearch/elasticsearch-hadoop/elasticsearch-hadoop-1.2.0.zip](https://github.com/downloads/elasticsearch/elasticsearch-hadoop/elasticsearch-hadoop-1.2.0.zip).  
..

Downloading .DONE

failed to extract plugin [/root/.mohit/elasticsearch/plugins/hadoop.zip]

Identified as a \_site plugin, moving to \_site structure ...

Installed hadoop

On Mon, May 14, 2012 at 2:13 PM, Mohit Anchlia [mohitanchlia@gmail.com](mailto:mohitanchlia@gmail.com)wrote:

> I ended up building it. Looks like it doesn't have repo configured. Now my  
> question is should I just copy the jar from target and copy it to  
> elasticsearch directory?
> 
> On Mon, May 14, 2012 at 11:50 AM, Mohit Anchlia [mohitanchlia@gmail.com](mailto:mohitanchlia@gmail.com)wrote:
> 
> > Do I need to build hadoop plugin? I don't see any jars availble that I  
> > can drop in elasticsearch dir from  
> > [GitHub - elastic/elasticsearch-hadoop: Elasticsearch real-time search and analytics natively integrated with Hadoop](https://github.com/elasticsearch/elasticsearch-hadoop)

---

<div class="post-metadata">

### Author: ![Mohit\_Anchlia](https://avatars.discourse-cdn.com/v4/letter/m/848f3c/32.png) [@Mohit\_Anchlia](https://discuss.elastic.co/u/Mohit_Anchlia)
#### Post date: [May 14, 2012, 10:19pm UTC](https://discuss.elastic.co/t/build-hadoop-plugin/7689/4 "2012-05-14T22:19:01Z")

</div>

I fixed it by creating a package and then did unzip of it inside plugins,

On Mon, May 14, 2012 at 2:26 PM, Mohit Anchlia [mohitanchlia@gmail.com](mailto:mohitanchlia@gmail.com)wrote:

> I am having hard time configuring hadoop plugin. I don't even see file  
> under \_site
> 
> bin/plugin -install elasticsearch/elasticsearch-hadoop/1.2.0
> 
> -\> Installing elasticsearch/elasticsearch-hadoop/1.2.0...
> 
> Trying  
> [https://github.com/downloads/elasticsearch/elasticsearch-hadoop/elasticsearch-hadoop-1.2.0.zip](https://github.com/downloads/elasticsearch/elasticsearch-hadoop/elasticsearch-hadoop-1.2.0.zip).  
> ..
> 
> Downloading .DONE
> 
> failed to extract plugin [/root/.mohit/elasticsearch/plugins/hadoop.zip]
> 
> Identified as a \_site plugin, moving to \_site structure ...
> 
> Installed hadoop
> 
> On Mon, May 14, 2012 at 2:13 PM, Mohit Anchlia [mohitanchlia@gmail.com](mailto:mohitanchlia@gmail.com)wrote:
> 
> > I ended up building it. Looks like it doesn't have repo configured. Now  
> > my question is should I just copy the jar from target and copy it to  
> > elasticsearch directory?
> > 
> > On Mon, May 14, 2012 at 11:50 AM, Mohit Anchlia [mohitanchlia@gmail.com](mailto:mohitanchlia@gmail.com)wrote:
> > 
> > > Do I need to build hadoop plugin? I don't see any jars availble that I  
> > > can drop in elasticsearch dir from  
> > > [GitHub - elastic/elasticsearch-hadoop: Elasticsearch real-time search and analytics natively integrated with Hadoop](https://github.com/elasticsearch/elasticsearch-hadoop)

---

<div class="post-metadata">

### Author: ![kimchy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimchy/32/44952_2.png) [@kimchy](https://discuss.elastic.co/u/kimchy)
#### Post date: [May 15, 2012, 8:55pm UTC](https://discuss.elastic.co/t/build-hadoop-plugin/7689/5 "2012-05-15T20:55:28Z")

</div>

Strange that it failed to extract the zip file..., that failure caused it  
to "identify" it as a site plugin wrongly.

On Tue, May 15, 2012 at 1:19 AM, Mohit Anchlia [mohitanchlia@gmail.com](mailto:mohitanchlia@gmail.com)wrote:

> I fixed it by creating a package and then did unzip of it inside plugins,
> 
> On Mon, May 14, 2012 at 2:26 PM, Mohit Anchlia [mohitanchlia@gmail.com](mailto:mohitanchlia@gmail.com)wrote:
> 
> > I am having hard time configuring hadoop plugin. I don't even see file  
> > under \_site
> > 
> > bin/plugin -install elasticsearch/elasticsearch-hadoop/1.2.0
> > 
> > -\> Installing elasticsearch/elasticsearch-hadoop/1.2.0...
> > 
> > Trying  
> > [https://github.com/downloads/elasticsearch/elasticsearch-hadoop/elasticsearch-hadoop-1.2.0.zip](https://github.com/downloads/elasticsearch/elasticsearch-hadoop/elasticsearch-hadoop-1.2.0.zip).  
> > ..
> > 
> > Downloading .DONE
> > 
> > failed to extract plugin [/root/.mohit/elasticsearch/plugins/hadoop.zip]
> > 
> > Identified as a \_site plugin, moving to \_site structure ...
> > 
> > Installed hadoop
> > 
> > On Mon, May 14, 2012 at 2:13 PM, Mohit Anchlia [mohitanchlia@gmail.com](mailto:mohitanchlia@gmail.com)wrote:
> > 
> > > I ended up building it. Looks like it doesn't have repo configured. Now  
> > > my question is should I just copy the jar from target and copy it to  
> > > elasticsearch directory?
> > > 
> > > On Mon, May 14, 2012 at 11:50 AM, Mohit Anchlia [mohitanchlia@gmail.com](mailto:mohitanchlia@gmail.com)wrote:
> > > 
> > > > Do I need to build hadoop plugin? I don't see any jars availble that I  
> > > > can drop in elasticsearch dir from  
> > > > [GitHub - elastic/elasticsearch-hadoop: Elasticsearch real-time search and analytics natively integrated with Hadoop](https://github.com/elasticsearch/elasticsearch-hadoop)

---

<div class="post-metadata">

### Author: ![Mohit\_Anchlia](https://avatars.discourse-cdn.com/v4/letter/m/848f3c/32.png) [@Mohit\_Anchlia](https://discuss.elastic.co/u/Mohit_Anchlia)
#### Post date: [May 15, 2012, 8:58pm UTC](https://discuss.elastic.co/t/build-hadoop-plugin/7689/6 "2012-05-15T20:58:18Z")

</div>

Shay,

I finally figured out. Our corporate firewall identified this site as  
malicious and blocked it. Anyways, I built from source and did unzip. It  
worked after that.

Thanks for your response though.

On Tue, May 15, 2012 at 1:55 PM, Shay Banon [kimchy@gmail.com](mailto:kimchy@gmail.com) wrote:

> Strange that it failed to extract the zip file..., that failure caused it  
> to "identify" it as a site plugin wrongly.
> 
> On Tue, May 15, 2012 at 1:19 AM, Mohit Anchlia [mohitanchlia@gmail.com](mailto:mohitanchlia@gmail.com)wrote:
> 
> > I fixed it by creating a package and then did unzip of it inside plugins,
> > 
> > On Mon, May 14, 2012 at 2:26 PM, Mohit Anchlia [mohitanchlia@gmail.com](mailto:mohitanchlia@gmail.com)wrote:
> > 
> > > I am having hard time configuring hadoop plugin. I don't even see file  
> > > under \_site
> > > 
> > > bin/plugin -install elasticsearch/elasticsearch-hadoop/1.2.0
> > > 
> > > -\> Installing elasticsearch/elasticsearch-hadoop/1.2.0...
> > > 
> > > Trying  
> > > [https://github.com/downloads/elasticsearch/elasticsearch-hadoop/elasticsearch-hadoop-1.2.0.zip](https://github.com/downloads/elasticsearch/elasticsearch-hadoop/elasticsearch-hadoop-1.2.0.zip).  
> > > ..
> > > 
> > > Downloading .DONE
> > > 
> > > failed to extract plugin [/root/.mohit/elasticsearch/plugins/hadoop.zip]
> > > 
> > > Identified as a \_site plugin, moving to \_site structure ...
> > > 
> > > Installed hadoop
> > > 
> > > On Mon, May 14, 2012 at 2:13 PM, Mohit Anchlia [mohitanchlia@gmail.com](mailto:mohitanchlia@gmail.com)wrote:
> > > 
> > > > I ended up building it. Looks like it doesn't have repo configured. Now  
> > > > my question is should I just copy the jar from target and copy it to  
> > > > elasticsearch directory?
> > > > 
> > > > On Mon, May 14, 2012 at 11:50 AM, Mohit Anchlia \<[mohitanchlia@gmail.com](mailto:mohitanchlia@gmail.com)
> > > > 
> > > > > wrote:
> > > > 
> > > > > Do I need to build hadoop plugin? I don't see any jars availble that I  
> > > > > can drop in elasticsearch dir from  
> > > > > [GitHub - elastic/elasticsearch-hadoop: Elasticsearch real-time search and analytics natively integrated with Hadoop](https://github.com/elasticsearch/elasticsearch-hadoop)

---

<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, 3:28am UTC](https://discuss.elastic.co/t/build-hadoop-plugin/7689/7 "2017-07-06T03:28:37Z")

</div>


