HDFS-11135. The tests in TestBalancer run fails due to NPE. Contributed By Yiqun Lin
This commit is contained in:
parent
79448d4ab1
commit
6efb8c9c60
|
@ -270,10 +270,10 @@ public class TestBalancer {
|
||||||
public static void destroy() throws Exception {
|
public static void destroy() throws Exception {
|
||||||
if (kdc != null) {
|
if (kdc != null) {
|
||||||
kdc.stop();
|
kdc.stop();
|
||||||
}
|
|
||||||
FileUtil.fullyDelete(baseDir);
|
FileUtil.fullyDelete(baseDir);
|
||||||
KeyStoreTestUtil.cleanupSSLConfig(keystoresDir, sslConfDir);
|
KeyStoreTestUtil.cleanupSSLConfig(keystoresDir, sslConfDir);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/* create a file with a length of <code>fileLen</code> */
|
/* create a file with a length of <code>fileLen</code> */
|
||||||
public static void createFile(MiniDFSCluster cluster, Path filePath, long
|
public static void createFile(MiniDFSCluster cluster, Path filePath, long
|
||||||
|
|
Loading…
Reference in New Issue