Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

How do you get a kerberos delegation token in high availability cluster?

avatar
Contributor

The following curl command gives the token (but uses the name node directly).

$ curl -s --negotiate -u : "http://<active-namenode-hostname>:50070/webhdfs/v1/?op=GETDELEGATIONTOKEN"

Is it possible to use dfs.nameservices property to get the token instead.

1 ACCEPTED SOLUTION

avatar

Unfortunately, this is not possible. You have to use the active Namenode or deploy Httpfs, which is used as a central webhdfs access point in a HDFS HA environment.

Regarding httpfs, see this https://community.hortonworks.com/articles/804/httpfs-configure-and-run-with-hdp-224x.html

View solution in original post

1 REPLY 1

avatar

Unfortunately, this is not possible. You have to use the active Namenode or deploy Httpfs, which is used as a central webhdfs access point in a HDFS HA environment.

Regarding httpfs, see this https://community.hortonworks.com/articles/804/httpfs-configure-and-run-with-hdp-224x.html