HDFS-10325. TestDFSShell#testMoveWithTargetPortEmpty fails. Contributed by Takanobu Asanuma.

This commit is contained in:
Masatake Iwasaki 2016-04-26 07:11:13 +09:00
parent f308561f1d
commit 8eadd7145e

View File

@ -567,7 +567,7 @@ public void testMoveWithTargetPortEmpty() throws Exception {
cluster = new MiniDFSCluster.Builder(conf)
.format(true)
.numDataNodes(2)
.nameNodePort(8020)
.nameNodePort(HdfsClientConfigKeys.DFS_NAMENODE_RPC_PORT_DEFAULT)
.waitSafeMode(true)
.build();
FileSystem srcFs = cluster.getFileSystem();