[
https://issues.apache.org/jira/browse/HADOOP-9108?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kihwal Lee updated HADOOP-9108:
-------------------------------
Attachment: hadoop-9108.branch-0.23.patch
This is simplified version of what's in branch-2/trunk, where the
{{terminateCalled}} has been replaced with exception record to show back trace.
This patch does not include that change.
I tested this with HDFS-4233.
> Add a method to clear terminateCalled to ExitUtil for test cases
> ----------------------------------------------------------------
>
> Key: HADOOP-9108
> URL: https://issues.apache.org/jira/browse/HADOOP-9108
> Project: Hadoop Common
> Issue Type: Improvement
> Components: util
> Affects Versions: 0.23.5
> Reporter: Kihwal Lee
> Assignee: Kihwal Lee
> Attachments: hadoop-9108.branch-0.23.patch
>
>
> Currently once terminateCalled is set, it will stay set since it's a class
> static variable. This can break test cases where multiple test cases run in
> one jvm. In MiniDfsCluster, it should be cleared during shutdown for the next
> test case to run properly.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira