[ 
https://issues.apache.org/jira/browse/HDFS-2904?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13215029#comment-13215029
 ] 

Jitendra Nath Pandey commented on HDFS-2904:
--------------------------------------------

# bq. public static boolean isLogicalUri(..)
I think we should not couple the idea of logical uri with the failover proxy 
configuration. For example, someone might want to turnoff ha and not provide 
failover proxy configurations, but the logical URIs should continue to work.
# In the cloneDelegationTokenForLogicalUri, should we clone one more token for 
the standby as well for ha configurations? 
# I think it is a good idea to clone a token for a logical service, to multiple 
tokens with underlying service addresses. We should have it irrespective of the 
failover proxy configuration i.e. whenever we have a logical uri, we map it to 
actual service addresses and clone token for each.
                
> HA: Client support for getting delegation tokens to an HA cluster
> -----------------------------------------------------------------
>
>                 Key: HDFS-2904
>                 URL: https://issues.apache.org/jira/browse/HDFS-2904
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: ha, hdfs client, name-node, security
>    Affects Versions: HA branch (HDFS-1623)
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>            Priority: Critical
>         Attachments: hdfs-2904.txt, hdfs-2904.txt, hdfs-2904.txt, test-dt.sh
>
>
> Currently we have server-side support for delegation tokens in HA, and some 
> tests to verify it, but the client throws NPEs when trying to fetch a DT. 
> This is because the cluster doesn't have a single hostname, but instead a 
> logical nameservice name.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to