# HDFS Repository - Kerberos Ticket

**URL:** <https://discuss.elastic.co/t/hdfs-repository-kerberos-ticket/45382>\
**Category:** Elasticsearch\
**Tags:** es-hadoop\
**Created:** [March 24, 2016, 6:27pm UTC](https://discuss.elastic.co/t/hdfs-repository-kerberos-ticket/45382 "2016-03-24T18:27:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![uniquenospacesshort](https://avatars.discourse-cdn.com/v4/letter/u/f6c823/32.png) [@uniquenospacesshort](https://discuss.elastic.co/u/uniquenospacesshort)\
**Post date:** [March 24, 2016, 6:27pm UTC](https://discuss.elastic.co/t/hdfs-repository-kerberos-ticket/45382/1 "2016-03-24T18:27:00Z")

</div>

So lets say I have 100 data nodes where I installed [https://github.com/elastic/elasticsearch-hadoop/tree/master/repository-hdfs](https://github.com/elastic/elasticsearch-hadoop/tree/master/repository-hdfs) to send my snapshots to hdfs.

My HDFS install is secured by kerberos. Before I do a snapshot, am I going to have to kinit to get a kerberos ticket on every single one of those data nodes?

---

<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 5, 2016, 2:38pm UTC](https://discuss.elastic.co/t/hdfs-repository-kerberos-ticket/45382/2 "2016-04-05T14:38:41Z")

</div>

As far as I know (I haven't used Kerberos in a while) yes. The reason behind it is that the Hadoop configuration and thus the HDFS client connection doesn't hold any Kerberos information - this is installed at system level.  
There are various extensions or tooling out there to automate this but at the end of the day is something that sits outside Hadoop/HDFS and thus ES hadoop as well.

Of course, you can try to do it without the authentication but likely, without the relevant ticket, any HDFS activity will fail.

---

<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, 1:25pm UTC](https://discuss.elastic.co/t/hdfs-repository-kerberos-ticket/45382/3 "2017-07-06T13:25:30Z")

</div>


