# \[Hadoop\] Specifying username/password information for Shield-configured Elasticsearch

**URL:** <https://discuss.elastic.co/t/hadoop-specifying-username-password-information-for-shield-configured-elasticsearch/23046>\
**Category:** Elasticsearch\
**Created:** [April 1, 2015, 6:35pm UTC](https://discuss.elastic.co/t/hadoop-specifying-username-password-information-for-shield-configured-elasticsearch/23046 "2015-04-01T18:35:51Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jaraxal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jaraxal/32/458_2.png) [@Jaraxal](https://discuss.elastic.co/u/Jaraxal)\
**Post date:** [April 1, 2015, 6:35pm UTC](https://discuss.elastic.co/t/hadoop-specifying-username-password-information-for-shield-configured-elasticsearch/23046/1 "2015-04-01T18:35:51Z")

</div>

I have Elasticsearch 1.4.4 and Shield 1.0.2 configured in my environment.  
I'm able to successfully connect to my cluster without issues using Active  
Directory as my authentication back-end. I'm trying to use es-hadoop to  
push data to Elasticsearch using Hive and/ Pig. However, there doesn't  
seem to be any configuration settings to specify a username/password for  
connecting to my Elasticsearch hosts for Hive or Pig EsStorageHandler. Is  
this an oversight? Or am I missing something?

--  
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/7e378659-225a-4895-b57a-1be2ab0fb98e%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/7e378659-225a-4895-b57a-1be2ab0fb98e%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:** [April 1, 2015, 6:44pm UTC](https://discuss.elastic.co/t/hadoop-specifying-username-password-information-for-shield-configured-elasticsearch/23046/2 "2015-04-01T18:44:54Z")

</div>

See this section of the docs:

> **[Using Elasticsearch for Apache Hadoop with Shield | Shield \[2.4\] | Elastic](https://www.elastic.co/guide/en/shield/current/hadoop.html)**

On 4/1/15 9:35 PM, Michael Young wrote:

> I have Elasticsearch 1.4.4 and Shield 1.0.2 configured in my environment. I'm able to successfully connect to my  
> cluster without issues using Active Directory as my authentication back-end. I'm trying to use es-hadoop to push data  
> to Elasticsearch using Hive and/ Pig. However, there doesn't seem to be any configuration settings to specify a  
> username/password for connecting to my Elasticsearch hosts for Hive or Pig EsStorageHandler. Is this an oversight? Or  
> am I missing something?
> 
> --  
> 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/7e378659-225a-4895-b57a-1be2ab0fb98e%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/7e378659-225a-4895-b57a-1be2ab0fb98e%40googlegroups.com)  
> [https://groups.google.com/d/msgid/elasticsearch/7e378659-225a-4895-b57a-1be2ab0fb98e%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/7e378659-225a-4895-b57a-1be2ab0fb98e%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/551C3CA6.6090500%40gmail.com](https://groups.google.com/d/msgid/elasticsearch/551C3CA6.6090500%40gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Jaraxal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jaraxal/32/458_2.png) [@Jaraxal](https://discuss.elastic.co/u/Jaraxal)\
**Post date:** [April 1, 2015, 8:16pm UTC](https://discuss.elastic.co/t/hadoop-specifying-username-password-information-for-shield-configured-elasticsearch/23046/3 "2015-04-01T20:16:17Z")

</div>

Thank you! I was looking in the ES-Hadoop documentation and didn't see  
these settings. I didn't realize they were in the Shield documentation.  
I'll give this a shot.

--  
Michael

On Wed, Apr 1, 2015 at 2:44 PM, Costin Leau [costin.leau@gmail.com](mailto:costin.leau@gmail.com) wrote:

> See this section of the docs:  
> [Using Elasticsearch for Apache Hadoop with Shield | Shield [2.4] | Elastic](http://www.elastic.co/guide/en/shield/current/hadoop.html)
> 
> On 4/1/15 9:35 PM, Michael Young wrote:
> 
> > I have Elasticsearch 1.4.4 and Shield 1.0.2 configured in my  
> > environment. I'm able to successfully connect to my  
> > cluster without issues using Active Directory as my authentication  
> > back-end. I'm trying to use es-hadoop to push data  
> > to Elasticsearch using Hive and/ Pig. However, there doesn't seem to be  
> > any configuration settings to specify a  
> > username/password for connecting to my Elasticsearch hosts for Hive or  
> > Pig EsStorageHandler. Is this an oversight? Or  
> > am I missing something?
> > 
> > --  
> > 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:unsubscribe@googlegroups.com)\>.  
> > To view this discussion on the web visit  
> > [https://groups.google.com/d/msgid/elasticsearch/7e378659-](https://groups.google.com/d/msgid/elasticsearch/7e378659-)  
> > 225a-4895-b57a-1be2ab0fb98e%[40googlegroups.com](http://40googlegroups.com)  
> > \<[https://groups.google.com/d/msgid/elasticsearch/7e378659-](https://groups.google.com/d/msgid/elasticsearch/7e378659-)  
> > 225a-4895-b57a-1be2ab0fb98e%[40GGGROUPS CASINO – Real Slot Casino for 10,000+ Senior Players](http://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 a topic in the  
> Google Groups "elasticsearch" group.  
> To unsubscribe from this topic, visit [https://groups.google.com/d/](https://groups.google.com/d/)  
> topic/elasticsearch/mlCw0uGov2s/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/](https://groups.google.com/d/)  
> msgid/elasticsearch/551C3CA6.6090500%[40gmail.com](http://40gmail.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/CA%2B6%3DytWg-6qFW4ErytAmjWQAhzyPrX1vxb9yCWSWgrLL\_6D%2BXQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CA%2B6%3DytWg-6qFW4ErytAmjWQAhzyPrX1vxb9yCWSWgrLL_6D%2BXQ%40mail.gmail.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:** [April 1, 2015, 8:44pm UTC](https://discuss.elastic.co/t/hadoop-specifying-username-password-information-for-shield-configured-elasticsearch/23046/4 "2015-04-01T20:44:27Z")

</div>

Actually they are also part of the es-hadoop documentation under the configuration section [1].  
However when it comes to Shield, I find it easier to point to the relevant documentation section.

Cheers,

[1] [Configuration | Elasticsearch for Apache Hadoop [master] | Elastic](http://www.elastic.co/guide/en/elasticsearch/hadoop/master/configuration.html#_basic_authentication)

On 4/1/15 11:16 PM, Michael Young wrote:

> Thank you! I was looking in the ES-Hadoop documentation and didn't see these settings. I didn't realize they were in  
> the Shield documentation. I'll give this a shot.
> 
> --  
> Michael
> 
> On Wed, Apr 1, 2015 at 2:44 PM, Costin Leau \<[costin.leau@gmail.com](mailto:costin.leau@gmail.com) [mailto:costin.leau@gmail.com](mailto:costin.leau@gmail.com)\> wrote:
> 
> ```
> See this section of the docs:
> http://www.elastic.co/guide/__en/shield/current/hadoop.html <http://www.elastic.co/guide/en/shield/current/hadoop.html>
> 
> On 4/1/15 9:35 PM, Michael Young wrote:
> 
> I have Elasticsearch 1.4.4 and Shield 1.0.2 configured in my environment. I'm able to successfully connect to my
> cluster without issues using Active Directory as my authentication back-end. I'm trying to use es-hadoop to
> push data
> to Elasticsearch using Hive and/ Pig. However, there doesn't seem to be any configuration settings to specify a
> username/password for connecting to my Elasticsearch hosts for Hive or Pig EsStorageHandler. Is this an
> oversight? Or
> am I missing something?
> 
> --
> 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%2Bunsubscribe@googlegroups.com>
> <mailto:elasticsearch+__unsubscribe@googlegroups.com <mailto:elasticsearch%2Bunsubscribe@googlegroups.com>>.
> To view this discussion on the web visit
> https://groups.google.com/d/ __msgid/elasticsearch/7e378659-__ 225a-4895-b57a-1be2ab0fb98e%__40googlegroups.com
> <https://groups.google.com/d/msgid/elasticsearch/7e378659-225a-4895-b57a-1be2ab0fb98e%40googlegroups.com>
> <https://groups.google.com/d/ __msgid/elasticsearch/7e378659-__ 225a-4895-b57a-1be2ab0fb98e% __40googlegroups.com?utm_medium=__ email&utm_source=footer
> <https://groups.google.com/d/msgid/elasticsearch/7e378659-225a-4895-b57a-1be2ab0fb98e%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 a topic in the Google Groups "elasticsearch" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/ __topic/elasticsearch/__ mlCw0uGov2s/unsubscribe
> <https://groups.google.com/d/topic/elasticsearch/mlCw0uGov2s/unsubscribe>.
> To unsubscribe from this group and all its topics, send an email to elasticsearch+unsubscribe@__googlegroups.com
> <mailto:elasticsearch%2Bunsubscribe@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/ __msgid/elasticsearch/551C3CA6.__ 6090500%40gmail.com
> <https://groups.google.com/d/msgid/elasticsearch/551C3CA6.6090500%40gmail.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) [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/CA%2B6%3DytWg-6qFW4ErytAmjWQAhzyPrX1vxb9yCWSWgrLL\_6D%2BXQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CA%2B6%3DytWg-6qFW4ErytAmjWQAhzyPrX1vxb9yCWSWgrLL_6D%2BXQ%40mail.gmail.com)  
> [https://groups.google.com/d/msgid/elasticsearch/CA%2B6%3DytWg-6qFW4ErytAmjWQAhzyPrX1vxb9yCWSWgrLL\_6D%2BXQ%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CA%2B6%3DytWg-6qFW4ErytAmjWQAhzyPrX1vxb9yCWSWgrLL_6D%2BXQ%40mail.gmail.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/551C58AB.2010501%40gmail.com](https://groups.google.com/d/msgid/elasticsearch/551C58AB.2010501%40gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Jaraxal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jaraxal/32/458_2.png) [@Jaraxal](https://discuss.elastic.co/u/Jaraxal)\
**Post date:** [April 1, 2015, 8:54pm UTC](https://discuss.elastic.co/t/hadoop-specifying-username-password-information-for-shield-configured-elasticsearch/23046/5 "2015-04-01T20:54:15Z")

</div>

When I look at:

> **[Configuration | Elasticsearch for Apache Hadoop \[8.11\] | Elastic](https://www.elastic.co/guide/en/elasticsearch/hadoop/current/configuration.html)**
>
> Reference documentation of elasticsearch-hadoop

there are no references to es.net.http.auth.\*

Am I missing it somewhere? There are references to es.net.proxy._, but not  
es.net.http._ that I can see.

Thank you again!

--  
Michael

--  
Michael

On Wed, Apr 1, 2015 at 4:44 PM, Costin Leau [costin.leau@gmail.com](mailto:costin.leau@gmail.com) wrote:

> Actually they are also part of the es-hadoop documentation under the  
> configuration section [1].  
> However when it comes to Shield, I find it easier to point to the relevant  
> documentation section.
> 
> Cheers,
> 
> [1] [Elasticsearch for Apache Hadoop and Spark | Elastic](http://www.elastic.co/guide/en/elasticsearch/hadoop/)  
> master/configuration.html#\_basic\_authentication
> 
> On 4/1/15 11:16 PM, Michael Young wrote:
> 
> > Thank you! I was looking in the ES-Hadoop documentation and didn't see  
> > these settings. I didn't realize they were in  
> > the Shield documentation. I'll give this a shot.
> > 
> > --  
> > Michael
> > 
> > On Wed, Apr 1, 2015 at 2:44 PM, Costin Leau \<[costin.leau@gmail.com](mailto:costin.leau@gmail.com)  
> > [mailto:costin.leau@gmail.com](mailto:costin.leau@gmail.com)\> wrote:
> > 
> > ```
> > See this section of the docs:
> > http://www.elastic.co/guide/__en/shield/current/hadoop.html <
> > 
> > ```
> > 
> > [Using Elasticsearch for Apache Hadoop with Shield | Shield [2.4] | Elastic](http://www.elastic.co/guide/en/shield/current/hadoop.html)\>
> > 
> > ```
> > On 4/1/15 9:35 PM, Michael Young wrote:
> > 
> > I have Elasticsearch 1.4.4 and Shield 1.0.2 configured in my
> > 
> > ```
> > 
> > environment. I'm able to successfully connect to my  
> > cluster without issues using Active Directory as my  
> > authentication back-end. I'm trying to use es-hadoop to  
> > push data  
> > to Elasticsearch using Hive and/ Pig. However, there doesn't  
> > seem to be any configuration settings to specify a  
> > username/password for connecting to my Elasticsearch hosts for  
> > Hive or Pig EsStorageHandler. Is this an  
> > oversight? Or  
> > am I missing something?
> > 
> > ```
> > --
> > 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%2Bunsubscribe@googlegroups.com\>  
> > \<[mailto:elasticsearch+\_\_unsubscribe@googlegroups.com](mailto:elasticsearch+__unsubscribe@googlegroups.com) \<mailto:  
> > elasticsearch%2Bunsubscribe@googlegroups.com\>\>.  
> > To view this discussion on the web visit  
> > [https://groups.google.com/d/\_\_msgid/elasticsearch/7e378659-\_](https://groups.google.com/d/__msgid/elasticsearch/7e378659-_)  
> > \_225a-4895-b57a-1be2ab0fb98e%\_\_40googlegroups.com  
> > \<[https://groups.google.com/d/msgid/elasticsearch/7e378659-](https://groups.google.com/d/msgid/elasticsearch/7e378659-)  
> > 225a-4895-b57a-1be2ab0fb98e%[40googlegroups.com](http://40googlegroups.com)\>  
> > \<[https://groups.google.com/d/\_\_msgid/elasticsearch/7e378659-](https://groups.google.com/d/__msgid/elasticsearch/7e378659-)  
> > \_\_225a-4895-b57a-1be2ab0fb98e%\__[40GGGROUPS CASINO – Real Slot Casino for 10,000+ Senior Players](http://40googlegroups.com?utm)_  
> > medium=\_\_email&utm\_source=footer  
> > \<[https://groups.google.com/d/msgid/elasticsearch/7e378659-](https://groups.google.com/d/msgid/elasticsearch/7e378659-)  
> > 225a-4895-b57a-1be2ab0fb98e%[40GGGROUPS CASINO – Real Slot Casino for 10,000+ Senior Players](http://40googlegroups.com?utm_medium=)  
> > email&utm\_source=footer\>\>.  
> > For more options, visit [https://groups.google.com/d/\_\_optout](https://groups.google.com/d/__optout) \<  
> > [https://groups.google.com/d/optout](https://groups.google.com/d/optout)\>.
> > 
> > ```
> > --
> > Costin
> > 
> > --
> > 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/\_\_](https://groups.google.com/d/__)  
> > topic/elasticsearch/\_\_mlCw0uGov2s/unsubscribe  
> > \<[https://groups.google.com/d/topic/elasticsearch/](https://groups.google.com/d/topic/elasticsearch/)  
> > mlCw0uGov2s/unsubscribe\>.  
> > To unsubscribe from this group and all its topics, send an email to  
> > elasticsearch+unsubscribe@\_\_googlegroups.com  
> > [mailto:elasticsearch%2Bunsubscribe@googlegroups.com](mailto:elasticsearch%2Bunsubscribe@googlegroups.com).  
> > To view this discussion on the web visit  
> > [https://groups.google.com/d/\_\_msgid/elasticsearch/551C3CA6.\_](https://groups.google.com/d/__msgid/elasticsearch/551C3CA6._)  
> > \_6090500%[40gmail.com](http://40gmail.com)  
> > \<[https://groups.google.com/d/msgid/elasticsearch/551C3CA6](https://groups.google.com/d/msgid/elasticsearch/551C3CA6).  
> > 6090500%[40gmail.com](http://40gmail.com)\>.
> > 
> > ```
> > For more options, visit https://groups.google.com/d/__optout <
> > 
> > ```
> > 
> > [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) \<mailto:elasticsearch+  
> > [unsubscribe@googlegroups.com](mailto:unsubscribe@googlegroups.com)\>.  
> > To view this discussion on the web visit  
> > [https://groups.google.com/d/msgid/elasticsearch/CA%2B6%3DytWg-](https://groups.google.com/d/msgid/elasticsearch/CA%2B6%3DytWg-)  
> > 6qFW4ErytAmjWQAhzyPrX1vxb9yCWSWgrLL\_6D%2BXQ%[40mail.gmail.com](http://40mail.gmail.com)  
> > \<[https://groups.google.com/d/msgid/elasticsearch/CA%2B6%3DytWg-](https://groups.google.com/d/msgid/elasticsearch/CA%2B6%3DytWg-)  
> > 6qFW4ErytAmjWQAhzyPrX1vxb9yCWSWgrLL\_6D%2BXQ%40mail.gmail.  
> > 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 a topic in the  
> Google Groups "elasticsearch" group.  
> To unsubscribe from this topic, visit [https://groups.google.com/d/](https://groups.google.com/d/)  
> topic/elasticsearch/mlCw0uGov2s/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/](https://groups.google.com/d/)  
> msgid/elasticsearch/551C58AB.2010501%[40gmail.com](http://40gmail.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/CA%2B6%3DytWZ6u3XVmg\_4T6AGVvr\_D9sx%3D-0MQ2NojWTDvk%3DSszPbg%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CA%2B6%3DytWZ6u3XVmg_4T6AGVvr_D9sx%3D-0MQ2NojWTDvk%3DSszPbg%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Jaraxal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jaraxal/32/458_2.png) [@Jaraxal](https://discuss.elastic.co/u/Jaraxal)\
**Post date:** [April 1, 2015, 8:59pm UTC](https://discuss.elastic.co/t/hadoop-specifying-username-password-information-for-shield-configured-elasticsearch/23046/6 "2015-04-01T20:59:05Z")

</div>

Ok, I found the docs with the referenced settings here:  
[http://www.elastic.co/guide/en/elasticsearch/hadoop/2.1.Beta/configuration.html](http://www.elastic.co/guide/en/elasticsearch/hadoop/2.1.Beta/configuration.html)

--  
Michael

On Wed, Apr 1, 2015 at 4:54 PM, Michael Young [michael.l.young@gmail.com](mailto:michael.l.young@gmail.com)  
wrote:

> When I look at:  
> [Configuration | Elasticsearch for Apache Hadoop [8.11] | Elastic](http://www.elastic.co/guide/en/elasticsearch/hadoop/current/configuration.html)  
> there are no references to es.net.http.auth.\*
> 
> Am I missing it somewhere? There are references to es.net.proxy._, but  
> not es.net.http._ that I can see.
> 
> Thank you again!
> 
> --  
> Michael
> 
> --  
> Michael
> 
> On Wed, Apr 1, 2015 at 4:44 PM, Costin Leau [costin.leau@gmail.com](mailto:costin.leau@gmail.com) wrote:
> 
> > Actually they are also part of the es-hadoop documentation under the  
> > configuration section [1].  
> > However when it comes to Shield, I find it easier to point to the  
> > relevant documentation section.
> > 
> > Cheers,
> > 
> > [1] [Elasticsearch for Apache Hadoop and Spark | Elastic](http://www.elastic.co/guide/en/elasticsearch/hadoop/)  
> > master/configuration.html#\_basic\_authentication
> > 
> > On 4/1/15 11:16 PM, Michael Young wrote:
> > 
> > > Thank you! I was looking in the ES-Hadoop documentation and didn't see  
> > > these settings. I didn't realize they were in  
> > > the Shield documentation. I'll give this a shot.
> > > 
> > > --  
> > > Michael
> > > 
> > > On Wed, Apr 1, 2015 at 2:44 PM, Costin Leau \<[costin.leau@gmail.com](mailto:costin.leau@gmail.com)  
> > > [mailto:costin.leau@gmail.com](mailto:costin.leau@gmail.com)\> wrote:
> > > 
> > > ```
> > > See this section of the docs:
> > > http://www.elastic.co/guide/__en/shield/current/hadoop.html <
> > > 
> > > ```
> > > 
> > > [Using Elasticsearch for Apache Hadoop with Shield | Shield [2.4] | Elastic](http://www.elastic.co/guide/en/shield/current/hadoop.html)\>
> > > 
> > > ```
> > > On 4/1/15 9:35 PM, Michael Young wrote:
> > > 
> > > I have Elasticsearch 1.4.4 and Shield 1.0.2 configured in my
> > > 
> > > ```
> > > 
> > > environment. I'm able to successfully connect to my  
> > > cluster without issues using Active Directory as my  
> > > authentication back-end. I'm trying to use es-hadoop to  
> > > push data  
> > > to Elasticsearch using Hive and/ Pig. However, there doesn't  
> > > seem to be any configuration settings to specify a  
> > > username/password for connecting to my Elasticsearch hosts for  
> > > Hive or Pig EsStorageHandler. Is this an  
> > > oversight? Or  
> > > am I missing something?
> > > 
> > > ```
> > > --
> > > 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%2Bunsubscribe@googlegroups.com\>  
> > > \<[mailto:elasticsearch+\_\_unsubscribe@googlegroups.com](mailto:elasticsearch+__unsubscribe@googlegroups.com) \<mailto:  
> > > elasticsearch%2Bunsubscribe@googlegroups.com\>\>.  
> > > To view this discussion on the web visit  
> > > [https://groups.google.com/d/\_\_msgid/elasticsearch/7e378659-\_](https://groups.google.com/d/__msgid/elasticsearch/7e378659-_)  
> > > \_225a-4895-b57a-1be2ab0fb98e%\_\_40googlegroups.com  
> > > \<[https://groups.google.com/d/msgid/elasticsearch/7e378659-](https://groups.google.com/d/msgid/elasticsearch/7e378659-)  
> > > 225a-4895-b57a-1be2ab0fb98e%[40googlegroups.com](http://40googlegroups.com)\>  
> > > \<[https://groups.google.com/d/\_\_msgid/elasticsearch/7e378659-](https://groups.google.com/d/__msgid/elasticsearch/7e378659-)  
> > > \_\_225a-4895-b57a-1be2ab0fb98e%\__[40GGGROUPS CASINO – Real Slot Casino for 10,000+ Senior Players](http://40googlegroups.com?utm)_  
> > > medium=\_\_email&utm\_source=footer  
> > > \<[https://groups.google.com/d/msgid/elasticsearch/7e378659-](https://groups.google.com/d/msgid/elasticsearch/7e378659-)  
> > > 225a-4895-b57a-1be2ab0fb98e%[40GGGROUPS CASINO – Real Slot Casino for 10,000+ Senior Players](http://40googlegroups.com?utm_medium=)  
> > > email&utm\_source=footer\>\>.  
> > > For more options, visit [https://groups.google.com/d/\_\_optout](https://groups.google.com/d/__optout) \<  
> > > [https://groups.google.com/d/optout](https://groups.google.com/d/optout)\>.
> > > 
> > > ```
> > > --
> > > Costin
> > > 
> > > --
> > > 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/\_\_](https://groups.google.com/d/__)  
> > > topic/elasticsearch/\_\_mlCw0uGov2s/unsubscribe  
> > > \<[https://groups.google.com/d/topic/elasticsearch/](https://groups.google.com/d/topic/elasticsearch/)  
> > > mlCw0uGov2s/unsubscribe\>.  
> > > To unsubscribe from this group and all its topics, send an email to  
> > > elasticsearch+unsubscribe@\_\_googlegroups.com  
> > > [mailto:elasticsearch%2Bunsubscribe@googlegroups.com](mailto:elasticsearch%2Bunsubscribe@googlegroups.com).  
> > > To view this discussion on the web visit  
> > > [https://groups.google.com/d/\_\_msgid/elasticsearch/551C3CA6.\_](https://groups.google.com/d/__msgid/elasticsearch/551C3CA6._)  
> > > \_6090500%[40gmail.com](http://40gmail.com)  
> > > \<[https://groups.google.com/d/msgid/elasticsearch/551C3CA6](https://groups.google.com/d/msgid/elasticsearch/551C3CA6).  
> > > 6090500%[40gmail.com](http://40gmail.com)\>.
> > > 
> > > ```
> > > For more options, visit https://groups.google.com/d/__optout <
> > > 
> > > ```
> > > 
> > > [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) \<mailto:elasticsearch+  
> > > [unsubscribe@googlegroups.com](mailto:unsubscribe@googlegroups.com)\>.  
> > > To view this discussion on the web visit  
> > > [https://groups.google.com/d/msgid/elasticsearch/CA%2B6%3DytWg-](https://groups.google.com/d/msgid/elasticsearch/CA%2B6%3DytWg-)  
> > > 6qFW4ErytAmjWQAhzyPrX1vxb9yCWSWgrLL\_6D%2BXQ%[40mail.gmail.com](http://40mail.gmail.com)  
> > > \<[https://groups.google.com/d/msgid/elasticsearch/CA%2B6%3DytWg-](https://groups.google.com/d/msgid/elasticsearch/CA%2B6%3DytWg-)  
> > > 6qFW4ErytAmjWQAhzyPrX1vxb9yCWSWgrLL\_6D%2BXQ%40mail.gmail.  
> > > 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 a topic in the  
> > Google Groups "elasticsearch" group.  
> > To unsubscribe from this topic, visit [https://groups.google.com/d/](https://groups.google.com/d/)  
> > topic/elasticsearch/mlCw0uGov2s/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/](https://groups.google.com/d/)  
> > msgid/elasticsearch/551C58AB.2010501%[40gmail.com](http://40gmail.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/CA%2B6%3DytVSRy0QvfZRQYz%3DM6j38QAYhG0ewOvYT-qYMamtytMeFw%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CA%2B6%3DytVSRy0QvfZRQYz%3DM6j38QAYhG0ewOvYT-qYMamtytMeFw%40mail.gmail.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:** [April 1, 2015, 9:13pm UTC](https://discuss.elastic.co/t/hadoop-specifying-username-password-information-for-shield-configured-elasticsearch/23046/7 "2015-04-01T21:13:34Z")

</div>

current = 2.0  
2.1.Beta = 2.1 Beta  
master = current dev version

On 4/1/15 11:59 PM, Michael Young wrote:

> Ok, I found the docs with the referenced settings here:  
> [http://www.elastic.co/guide/en/elasticsearch/hadoop/2.1.Beta/configuration.html](http://www.elastic.co/guide/en/elasticsearch/hadoop/2.1.Beta/configuration.html)
> 
> --  
> Michael
> 
> On Wed, Apr 1, 2015 at 4:54 PM, Michael Young \<[michael.l.young@gmail.com](mailto:michael.l.young@gmail.com) [mailto:michael.l.young@gmail.com](mailto:michael.l.young@gmail.com)\> wrote:
> 
> ```
> When I look at: http://www.elastic.co/guide/en/elasticsearch/hadoop/current/configuration.html there are no
> references to es.net.http.auth.*
> 
> Am I missing it somewhere? There are references to es.net.proxy.*, but not es.net.http.* that I can see.
> 
> Thank you again!
> 
> --
> Michael
> 
> --
> Michael
> 
> On Wed, Apr 1, 2015 at 4:44 PM, Costin Leau <costin.leau@gmail.com <mailto:costin.leau@gmail.com>> wrote:
> 
> Actually they are also part of the es-hadoop documentation under the configuration section [1].
> However when it comes to Shield, I find it easier to point to the relevant documentation section.
> 
> Cheers,
> 
> [1] http://www.elastic.co/guide/ __en/elasticsearch/hadoop/__ master/configuration.html#___basic_authentication
> <http://www.elastic.co/guide/en/elasticsearch/hadoop/master/configuration.html#_basic_authentication>
> 
> On 4/1/15 11:16 PM, Michael Young wrote:
> 
> Thank you! I was looking in the ES-Hadoop documentation and didn't see these settings. I didn't realize
> they were in
> the Shield documentation. I'll give this a shot.
> 
> --
> Michael
> 
> On Wed, Apr 1, 2015 at 2:44 PM, Costin Leau <costin.leau@gmail.com <mailto:costin.leau@gmail.com>
> <mailto:costin.leau@gmail.com <mailto:costin.leau@gmail.com>>__> wrote:
> 
> See this section of the docs:
> http://www.elastic.co/guide/ ____ en/shield/current/hadoop.html
> <http://www.elastic.co/guide/__en/shield/current/hadoop.html>
> <http://www.elastic.co/guide/__en/shield/current/hadoop.html
> <http://www.elastic.co/guide/en/shield/current/hadoop.html>>
> 
> On 4/1/15 9:35 PM, Michael Young wrote:
> 
> I have Elasticsearch 1.4.4 and Shield 1.0.2 configured in my environment. I'm able to successfully
> connect to my
> cluster without issues using Active Directory as my authentication back-end. I'm trying to use
> es-hadoop to
> push data
> to Elasticsearch using Hive and/ Pig. However, there doesn't seem to be any configuration settings
> to specify a
> username/password for connecting to my Elasticsearch hosts for Hive or Pig EsStorageHandler. Is
> this an
> oversight? Or
> am I missing something?
> 
> --
> 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@ __go__ oglegroups.com <http://googlegroups.com>
> <mailto:elasticsearch%__2Bunsubscribe@googlegroups.com
> <mailto:elasticsearch%252Bunsubscribe@googlegroups.com>__>
> <mailto:elasticsearch+ ____ unsubscribe@googlegroups.com
> <mailto:elasticsearch%2B__unsubscribe@googlegroups.com>
> <mailto:elasticsearch%__2Bunsubscribe@googlegroups.com
> <mailto:elasticsearch%252Bunsubscribe@googlegroups.com>__>>.
> To view this discussion on the web visit
> https://groups.google.com/d/ ____msgid/elasticsearch/7e378659-____ 225a-4895-b57a-1be2ab0fb98e% ____ 40googlegroups.com
> <https://groups.google.com/d/ __msgid/elasticsearch/7e378659-__ 225a-4895-b57a-1be2ab0fb98e%__40googlegroups.com>
> 
> <https://groups.google.com/d/ __msgid/elasticsearch/7e378659-__ 225a-4895-b57a-1be2ab0fb98e%__40googlegroups.com
> <https://groups.google.com/d/msgid/elasticsearch/7e378659-225a-4895-b57a-1be2ab0fb98e%40googlegroups.com>>
> 
> <https://groups.google.com/d/ ____msgid/elasticsearch/7e378659-____ 225a-4895-b57a-1be2ab0fb98e% ____40googlegroups.com?utm___ medium= __email&utm_source=__ footer
> <https://groups.google.com/d/ __msgid/elasticsearch/7e378659-__ 225a-4895-b57a-1be2ab0fb98e% __40googlegroups.com?utm_medium=__ email&utm_source=footer>
> 
> <https://groups.google.com/d/ __msgid/elasticsearch/7e378659-__ 225a-4895-b57a-1be2ab0fb98e% __40googlegroups.com?utm_medium=__ email&utm_source=footer
> <https://groups.google.com/d/msgid/elasticsearch/7e378659-225a-4895-b57a-1be2ab0fb98e%40googlegroups.com?utm_medium=email&utm_source=footer>>>.
> For more options, visit https://groups.google.com/d/ ____ optout
> <https://groups.google.com/d/ __optout> <https://groups.google.com/d/__ optout
> <https://groups.google.com/d/optout>>.
> 
> --
> Costin
> 
> --
> 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/____ mlCw0uGov2s/unsubscribe
> <https://groups.google.com/d/ __topic/elasticsearch/__ mlCw0uGov2s/unsubscribe>
> <https://groups.google.com/d/ __topic/elasticsearch/__ mlCw0uGov2s/unsubscribe
> <https://groups.google.com/d/topic/elasticsearch/mlCw0uGov2s/unsubscribe>>.
> To unsubscribe from this group and all its topics, send an email to
> elasticsearch+unsubscribe@ __go__ oglegroups.com <http://googlegroups.com>
> <mailto:elasticsearch%__2Bunsubscribe@googlegroups.com
> <mailto:elasticsearch%252Bunsubscribe@googlegroups.com>__>.
> To view this discussion on the web visit
> https://groups.google.com/d/ ____msgid/elasticsearch/551C3CA6.____ 6090500%40gmail.com
> <https://groups.google.com/d/ __msgid/elasticsearch/551C3CA6.__ 6090500%40gmail.com>
> <https://groups.google.com/d/ __msgid/elasticsearch/551C3CA6.__ 6090500%40gmail.com
> <https://groups.google.com/d/msgid/elasticsearch/551C3CA6.6090500%40gmail.com>>.
> 
> For more options, visit https://groups.google.com/d/ ____optout <https://groups.google.com/d/__ optout>
> <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%2Bunsubscribe@googlegroups.com>
> <mailto:elasticsearch+__unsubscribe@googlegroups.com <mailto:elasticsearch%2Bunsubscribe@googlegroups.com>>.
> To view this discussion on the web visit
> https://groups.google.com/d/ __msgid/elasticsearch/CA%2B6%__ 3DytWg- __6qFW4ErytAmjWQAhzyPrX1vxb9yCWS__ WgrLL_6D%2BXQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/elasticsearch/CA%2B6%3DytWg-6qFW4ErytAmjWQAhzyPrX1vxb9yCWSWgrLL_6D%2BXQ%40mail.gmail.com>
> <https://groups.google.com/d/ __msgid/elasticsearch/CA%2B6%__ 3DytWg- __6qFW4ErytAmjWQAhzyPrX1vxb9yCWS__ WgrLL_6D%2BXQ%40mail.gmail. __com?utm_medium=email&utm___ source=footer
> <https://groups.google.com/d/msgid/elasticsearch/CA%2B6%3DytWg-6qFW4ErytAmjWQAhzyPrX1vxb9yCWSWgrLL_6D%2BXQ%40mail.gmail.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 a topic in the Google Groups "elasticsearch" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/ __topic/elasticsearch/__ mlCw0uGov2s/unsubscribe
> <https://groups.google.com/d/topic/elasticsearch/mlCw0uGov2s/unsubscribe>.
> To unsubscribe from this group and all its topics, send an email to elasticsearch+unsubscribe@__googlegroups.com
> <mailto:elasticsearch%2Bunsubscribe@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/ __msgid/elasticsearch/551C58AB.__ 2010501%40gmail.com
> <https://groups.google.com/d/msgid/elasticsearch/551C58AB.2010501%40gmail.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) [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/CA%2B6%3DytVSRy0QvfZRQYz%3DM6j38QAYhG0ewOvYT-qYMamtytMeFw%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CA%2B6%3DytVSRy0QvfZRQYz%3DM6j38QAYhG0ewOvYT-qYMamtytMeFw%40mail.gmail.com)  
> [https://groups.google.com/d/msgid/elasticsearch/CA%2B6%3DytVSRy0QvfZRQYz%3DM6j38QAYhG0ewOvYT-qYMamtytMeFw%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CA%2B6%3DytVSRy0QvfZRQYz%3DM6j38QAYhG0ewOvYT-qYMamtytMeFw%40mail.gmail.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/551C5F7E.3080704%40gmail.com](https://groups.google.com/d/msgid/elasticsearch/551C5F7E.3080704%40gmail.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:22am UTC](https://discuss.elastic.co/t/hadoop-specifying-username-password-information-for-shield-configured-elasticsearch/23046/8 "2017-07-06T00:22:17Z")

</div>


