[
https://issues.apache.org/jira/browse/HBASE-9878?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13812262#comment-13812262
]
stack commented on HBASE-9878:
------------------------------
There is nothing though to stop other-than-tests using AbstractHBaseTool though
right? Every fail gets an errcode of 1:
Error Code 1
System error code 1 means "Incorrect function." This error code may also
display as "ERROR_INVALID_FUNCTION" or as the value 0x1.
I suppose thats fine till something more sophisticated is done hereabouts. I'm
fine w/ commit on the patch.
> 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)