[
https://issues.apache.org/jira/browse/ACCUMULO-2561?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14026492#comment-14026492
]
Keith Turner commented on ACCUMULO-2561:
----------------------------------------
Also, halt is used to avoid shutdown hooks. Sometimes shutdown hooks can keep
the process alive and threads within the process operating. When a tserver
loses its lock, it needs to stop operating ASAP.
> Make o.a.a.server.util.Halt test-friendly
> -----------------------------------------
>
> Key: ACCUMULO-2561
> URL: https://issues.apache.org/jira/browse/ACCUMULO-2561
> Project: Accumulo
> Issue Type: Improvement
> Reporter: Bill Havanki
> Priority: Minor
> Labels: newbie, testability
>
> The various servers use {{o.a.a.server.util.Halt}} to terminate the JVM if
> something goes wrong. {{Halt}} class calls {{Runtime.halt()}}, which of
> course would torpedo any testing going on. The mechanism should be reworked
> to not kill the JVM in a test scenario.
--
This message was sent by Atlassian JIRA
(v6.2#6252)