[
https://issues.apache.org/jira/browse/HDFS-11893?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Brahma Reddy Battula updated HDFS-11893:
----------------------------------------
Attachment: HDFS-11893-001
AFAIK, this will will fail in all {{branches}} afrer {{HDFS-10923}} in windows
at least.
Problem with {{InetSocketAddress#getHostName}} which will return {{localhost}}
and {{127.0.0.1}} for linux and windows.
Sample program which I tried.
{code} InetSocketAddress inet = new
InetSocketAddress("127.0.0.1",9820);
System.out.println("hostname: "+inet.getHostName());{code}
Uploaded the patch to handle this..Kindly review.
> Fix TestDFSShell.testMoveWithTargetPortEmpty failure on branch-2.7
> ------------------------------------------------------------------
>
> Key: HDFS-11893
> URL: https://issues.apache.org/jira/browse/HDFS-11893
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: test
> Affects Versions: 2.7.4
> Reporter: Konstantin Shvachko
> Assignee: Brahma Reddy Battula
> Labels: release-blocker
> Attachments: HDFS-11893-001
>
>
> {{TestDFSShell.testMoveWithTargetPortEmpty()}} is consistently failing on
> branch-2.7.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]