[
https://issues.apache.org/jira/browse/HDFS-10325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15256452#comment-15256452
]
Masatake Iwasaki commented on HDFS-10325:
-----------------------------------------
Thanks for the patch, [~tasanuma0829]. How about using
{{HdfsClientConfigKeys.DFS_NAMENODE_RPC_PORT_DEFAULT}} rathar than hard coded
value?
> TestDFSShell#testMoveWithTargetPortEmpty fails
> ----------------------------------------------
>
> Key: HDFS-10325
> URL: https://issues.apache.org/jira/browse/HDFS-10325
> Project: Hadoop HDFS
> Issue Type: Bug
> Reporter: Takanobu Asanuma
> Assignee: Takanobu Asanuma
> Attachments: HDFS-10325.1.patch
>
>
> It fails with the following error message:
> {noformat}
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 3.115 sec <<<
> FAILURE! - in org.apache.hadoop.hdfs.TestDFSShell
> testMoveWithTargetPortEmpty(org.apache.hadoop.hdfs.TestDFSShell) Time
> elapsed: 2.984 sec <<< FAILURE!
> java.lang.AssertionError: mv should have succeeded expected:<0> but was:<1>
> at org.junit.Assert.fail(Assert.java:88)
> at org.junit.Assert.failNotEquals(Assert.java:743)
> at org.junit.Assert.assertEquals(Assert.java:118)
> at org.junit.Assert.assertEquals(Assert.java:555)
> at
> org.apache.hadoop.hdfs.TestDFSShell.testMoveWithTargetPortEmpty(TestDFSShell.java:585)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)