Amend HDFS-3150 to fix TestMiniDFSCluster.java.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1373144 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
3cdd6a9a2d
commit
997cd514c7
|
@ -142,7 +142,7 @@ public class TestMiniDFSCluster {
|
||||||
.checkDataNodeHostConfig(true)
|
.checkDataNodeHostConfig(true)
|
||||||
.build();
|
.build();
|
||||||
try {
|
try {
|
||||||
Assert.assertEquals("DataNode hostname config not respected", "MYHOST",
|
assertEquals("DataNode hostname config not respected", "MYHOST",
|
||||||
cluster5.getDataNodes().get(0).getDatanodeId().getHostName());
|
cluster5.getDataNodes().get(0).getDatanodeId().getHostName());
|
||||||
} finally {
|
} finally {
|
||||||
MiniDFSCluster.shutdownCluster(cluster5);
|
MiniDFSCluster.shutdownCluster(cluster5);
|
||||||
|
|
Loading…
Reference in New Issue