HDFS-3928. MiniDFSCluster should reset the first ExitException on shutdown. Contributed by Eli Collins
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1384098 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
2e7d2b2e6b
commit
4af46e7860
|
@ -600,6 +600,8 @@ Release 2.0.2-alpha - 2012-09-07
|
||||||
HDFS-3664. BlockManager race when stopping active services.
|
HDFS-3664. BlockManager race when stopping active services.
|
||||||
(Colin Patrick McCabe via eli)
|
(Colin Patrick McCabe via eli)
|
||||||
|
|
||||||
|
HDFS-3928. MiniDFSCluster should reset the first ExitException on shutdown. (eli)
|
||||||
|
|
||||||
BREAKDOWN OF HDFS-3042 SUBTASKS
|
BREAKDOWN OF HDFS-3042 SUBTASKS
|
||||||
|
|
||||||
HDFS-2185. HDFS portion of ZK-based FailoverController (todd)
|
HDFS-2185. HDFS portion of ZK-based FailoverController (todd)
|
||||||
|
|
|
@ -1356,6 +1356,7 @@ public class MiniDFSCluster {
|
||||||
if (ExitUtil.terminateCalled()) {
|
if (ExitUtil.terminateCalled()) {
|
||||||
LOG.fatal("Test resulted in an unexpected exit",
|
LOG.fatal("Test resulted in an unexpected exit",
|
||||||
ExitUtil.getFirstExitException());
|
ExitUtil.getFirstExitException());
|
||||||
|
ExitUtil.resetFirstExitException();
|
||||||
throw new AssertionError("Test resulted in an unexpected exit");
|
throw new AssertionError("Test resulted in an unexpected exit");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue