Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-9108

Add a method to clear terminateCalled to ExitUtil for test cases

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.23.5
    • Fix Version/s: 0.23.6
    • Component/s: util
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kihwal Kihwal Lee
                Reporter:
                kihwal Kihwal Lee
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: