HDFS-11135. The tests in TestBalancer run fails due to NPE. Contributed By Yiqun Lin
(cherry picked from commit 6efb8c9c6018ec688eeba8c61c220009ec350a44)
This commit is contained in:
parent
ea74c7b7ae
commit
399abe7c74
@ -252,9 +252,9 @@ static void initConfWithRamDisk(Configuration conf,
|
||||
public static void destroy() throws Exception {
|
||||
if (kdc != null) {
|
||||
kdc.stop();
|
||||
}
|
||||
FileUtil.fullyDelete(baseDir);
|
||||
FileUtil.fullyDelete(baseDir);
|
||||
KeyStoreTestUtil.cleanupSSLConfig(keystoresDir, sslConfDir);
|
||||
}
|
||||
}
|
||||
|
||||
/* create a file with a length of <code>fileLen</code> */
|
||||
|
Loading…
x
Reference in New Issue
Block a user