[ https://issues.apache.org/jira/browse/HDFS-4783?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13682288#comment-13682288 ]
Daryn Sharp commented on HDFS-4783: ----------------------------------- Sigh, this is technically masking an underlying bug of a double fwd/rev resolve which can return a different hostname and foul the use of CNAMES. Fixing it is probably more complex than it seems, so +0.5. > TestDelegationTokensWithHA#testHAUtilClonesDelegationTokens fails on Windows > ---------------------------------------------------------------------------- > > Key: HDFS-4783 > URL: https://issues.apache.org/jira/browse/HDFS-4783 > Project: Hadoop HDFS > Issue Type: Bug > Components: test > Affects Versions: 3.0.0, 2.1.0-beta > Reporter: Chris Nauroth > Assignee: Chris Nauroth > Attachments: HDFS-4783.1.patch > > > This test asserts that delegation tokens previously associated to a host with > a resolved IP address no longer match for selection when > hadoop.security.token.service.use_ip is set false. The test assumes that > 127.0.0.1 resolves to host name "localhost". On Windows, this is not the > case, and instead it resolves to "127.0.0.1". -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira