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,9 +270,9 @@ static void initSecureConf(Configuration conf) throws Exception {
|
|||||||
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
Block a user