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

Ivan Mitic commented on HADOOP-8414:
------------------------------------

Thanks Daryn, looking forward to your response!

In the meantime, I was thinking about one possible way to address this, and you 
let me know if it makes sense. Currently, the test assumes that rDNS will 
resolve {{127.0.0.1}} to {{localhost}}, what turned out not to be always true. 
We can change the test result to have a {{NAMENODE}} embedded in it, and then, 
in test code, replace {{NAMENODE}} with a constant value that was used as 
input. Now, the input being {{localhost}} or {{127.0.0.1}}, we are verifying 
that the output is equivalent to input and only input.
                
> Address problems related to localhost resolving to 127.0.0.1 on Windows
> -----------------------------------------------------------------------
>
>                 Key: HADOOP-8414
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8414
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs, test
>    Affects Versions: 1.0.0
>            Reporter: Ivan Mitic
>            Assignee: Ivan Mitic
>         Attachments: HADOOP-8414-branch-1-win(2).patch, 
> HADOOP-8414-branch-1-win.patch, HADOOP-8414-branch-1-win.patch
>
>
> Localhost resolves to 127.0.0.1 on Windows and that causes the following 
> tests to fail:
>  - TestHarFileSystem
>  - TestCLI
>  - TestSaslRPC
> This Jira tracks fixing these tests and other possible places that have 
> similar issue.

--
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