- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
delegation token and block token question
- Labels:
-
Kerberos
Created on ‎05-24-2018 02:07 PM - edited ‎09-16-2022 06:16 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
As far as I know after kerberos authentication is established, we can get delegation token and even if we kdestroy the tickets, we can still access using delegation token. Is delegation token part of kerberos or just depend on kereberos? Is it just a separate pacakge?
Created ‎05-24-2018 02:20 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
1. We can get delegation token and even if we kdestroy the tickets, we can still access using delegation token?
Yes, the following hc link shows exactly this with an example
https://community.hortonworks.com/articles/50069/demystifying-delegation-token.html
2. Is delegation token part of kerberos or just depend on kereberos?
Delegation token is not part of kerberos. But in order to get a delegation token you need to have a valid kerberos token.
3. Is it just a separate package?
Each hadooop service like HDFS, YARN, HIVE, HBASE client api provides a way to fetch delegation tokens. Each delagation token has expiration and max issue date. As long as is valid clients can use the delegation token to authenticate with the service.
HTH
*** If you found this answer addressed your question, please take a moment to login and click the "accept" link on the answer.
Created ‎05-24-2018 02:20 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
1. We can get delegation token and even if we kdestroy the tickets, we can still access using delegation token?
Yes, the following hc link shows exactly this with an example
https://community.hortonworks.com/articles/50069/demystifying-delegation-token.html
2. Is delegation token part of kerberos or just depend on kereberos?
Delegation token is not part of kerberos. But in order to get a delegation token you need to have a valid kerberos token.
3. Is it just a separate package?
Each hadooop service like HDFS, YARN, HIVE, HBASE client api provides a way to fetch delegation tokens. Each delagation token has expiration and max issue date. As long as is valid clients can use the delegation token to authenticate with the service.
HTH
*** If you found this answer addressed your question, please take a moment to login and click the "accept" link on the answer.
Created ‎05-24-2018 02:33 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, Namenode gives the delegation token. Command line tool is:
# hdfs fetchdt
More on it here:
https://hadoop.apache.org/docs/stable/hadoop-project-dist/hadoop-hdfs/HdfsUserGuide.html#fetchdt
Note: If you are satisfied with the answer, please take a moment to login and click the "accept" link on the answer.
Created ‎05-24-2018 02:31 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks a lot for giving great explanation. Just a last question, delegation token is given by NN, from NN what package or what tool provides the delegation token. Is it part of namenode package?
Created ‎05-24-2018 02:39 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks a lot.
