[
https://issues.apache.org/jira/browse/HBASE-9878?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13812258#comment-13812258
]
stack commented on HBASE-9878:
------------------------------
That sounds fine. Might be good to try another platform or two to be sure. I
thought elsewhere we were doing work to ensure we return errcodes on failure;
e.g. what is being undone in here and around start of the server daemons (Sorry
I don't have citations other than hearsay).
> AbstractHBaseTool swallows exceptions
> -------------------------------------
>
> Key: HBASE-9878
> URL: https://issues.apache.org/jira/browse/HBASE-9878
> Project: HBase
> Issue Type: Improvement
> Components: util
> Reporter: Nick Dimiduk
> Assignee: Nick Dimiduk
> Priority: Minor
> Attachments: HBASE-9878.00.patch, HBASE-9878.01.patch,
> HBASE-9878.01.patch, HBASE-9878.01.patch
>
>
> AbstractHBaseTool catches any uncaught exceptions, logs them, and explicitly
> exists. I believe the reason for this is to explicitly set a non-0 exit code
> for the process. However, this means one cannot attach a debugger and break
> on uncaught exceptions.
--
This message was sent by Atlassian JIRA
(v6.1#6144)