[
https://issues.apache.org/jira/browse/HTRACE-248?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14746047#comment-14746047
]
Colin Patrick McCabe commented on HTRACE-248:
---------------------------------------------
Hmm. We do install signal handlers that will print out "Terminating on signal:
SIGTERM" or similar when a signal is sent (i.e. killall htraced). I suppose we
should try to close the leveldb instance in addition to that. The signal
handler is in {{go/src/org/apache/htrace/common/process.go}}
> HTraced should gracefully shutdown if stopped
> ---------------------------------------------
>
> Key: HTRACE-248
> URL: https://issues.apache.org/jira/browse/HTRACE-248
> Project: HTrace
> Issue Type: Bug
> Components: htraced
> Affects Versions: 4.0
> Reporter: Lewis John McGibbney
> Fix For: 4.1
>
>
> Right now if you stop a running htraced server it does not gracefully
> shutdown.
> We should add a shutdown hook such that when the process is killed the
> process is shutdown properly.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)