HDFS-11135. The tests in TestBalancer run fails due to NPE. Contributed By Yiqun Lin
(cherry picked from commit 6efb8c9c60
)
This commit is contained in:
parent
ea74c7b7ae
commit
399abe7c74
|
@ -252,9 +252,9 @@ 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> */
|
||||||
|
|
Loading…
Reference in New Issue