[
https://issues.apache.org/jira/browse/HDFS-11101?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15682634#comment-15682634
]
Akira Ajisaka commented on HDFS-11101:
--------------------------------------
+1. In this test, the following setting is necessary.
{code}
.nameNodePort(ServerSocketUtil.waitForPort(
HdfsClientConfigKeys.DFS_NAMENODE_RPC_PORT_DEFAULT, 10))
{code}
because hdfs://localhost/testfile2 is implicitly treated as
hdfs://localhost:9820/testfile2 in FsShell regardless of the configuration used
by FsShell. Therefore I'm +1 for increasing the retry count.
> TestDFSShell#testMoveWithTargetPortEmpty fails intermittently
> -------------------------------------------------------------
>
> Key: HDFS-11101
> URL: https://issues.apache.org/jira/browse/HDFS-11101
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: test
> Reporter: Brahma Reddy Battula
> Assignee: Brahma Reddy Battula
> Attachments: HDFS-11101.patch
>
>
> {noformat}
> java.io.IOException: Port is already in use; giving up after 10 times.
> at
> org.apache.hadoop.net.ServerSocketUtil.waitForPort(ServerSocketUtil.java:98)
> at
> org.apache.hadoop.hdfs.TestDFSShell.testMoveWithTargetPortEmpty(TestDFSShell.java:778)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]