HDFS-3992. Method org.apache.hadoop.hdfs.TestHftpFileSystem.tearDown() sometimes throws NPEs. Contributed by Ivan A. Veselovsky.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1391763 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
1ced82cc81
commit
648ba4a36b
@ -265,6 +265,9 @@ Release 2.0.3-alpha - Unreleased
|
|||||||
|
|
||||||
HDFS-3964. Make NN log of fs.defaultFS debug rather than info. (eli)
|
HDFS-3964. Make NN log of fs.defaultFS debug rather than info. (eli)
|
||||||
|
|
||||||
|
HDFS-3992. Method org.apache.hadoop.hdfs.TestHftpFileSystem.tearDown()
|
||||||
|
sometimes throws NPEs. (Ivan A. Veselovsky via atm)
|
||||||
|
|
||||||
Release 2.0.2-alpha - 2012-09-07
|
Release 2.0.2-alpha - 2012-09-07
|
||||||
|
|
||||||
INCOMPATIBLE CHANGES
|
INCOMPATIBLE CHANGES
|
||||||
|
@ -102,9 +102,15 @@ public static void setUp() throws IOException {
|
|||||||
|
|
||||||
@AfterClass
|
@AfterClass
|
||||||
public static void tearDown() throws IOException {
|
public static void tearDown() throws IOException {
|
||||||
hdfs.close();
|
if (hdfs != null) {
|
||||||
hftpFs.close();
|
hdfs.close();
|
||||||
cluster.shutdown();
|
}
|
||||||
|
if (hftpFs != null) {
|
||||||
|
hftpFs.close();
|
||||||
|
}
|
||||||
|
if (cluster != null) {
|
||||||
|
cluster.shutdown();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user