# How can use 'org.elasticsearch.spark.sql' with kerberos to read es data

**URL:** <https://discuss.elastic.co/t/how-can-use-org-elasticsearch-spark-sql-with-kerberos-to-read-es-data/263548>\
**Category:** Elasticsearch\
**Tags:** es-hadoop\
**Created:** [February 8, 2021, 6:39am UTC](https://discuss.elastic.co/t/how-can-use-org-elasticsearch-spark-sql-with-kerberos-to-read-es-data/263548 "2021-02-08T06:39:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![wenyangchou](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wenyangchou/32/83551_2.png) [@wenyangchou](https://discuss.elastic.co/u/wenyangchou)\
**Post date:** [February 8, 2021, 6:39am UTC](https://discuss.elastic.co/t/how-can-use-org-elasticsearch-spark-sql-with-kerberos-to-read-es-data/263548/1 "2021-02-08T06:39:22Z")

</div>

I have tried use es-hadoop to read a elasticsearch which had configured kerberos. I have a reference to this [Kerberos | Elasticsearch for Apache Hadoop [7.x] | Elastic](https://www.elastic.co/guide/en/elasticsearch/hadoop/7.x/kerberos.html) but not success. Is there any example I can refer to it ?

---

<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:** [March 8, 2021, 6:39am UTC](https://discuss.elastic.co/t/how-can-use-org-elasticsearch-spark-sql-with-kerberos-to-read-es-data/263548/2 "2021-03-08T06:39:28Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
