hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nick Dimiduk (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-9878) AbstractHBaseTool swallows exceptions
Date Sun, 03 Nov 2013 04:39:17 GMT

    [ https://issues.apache.org/jira/browse/HBASE-9878?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13812261#comment-13812261
] 

Nick Dimiduk commented on HBASE-9878:
-------------------------------------

I recall seeing that ticket as well. This is just a dev convenience intended for non-production
apps. In this case, they're all tests.

> 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)

Mime
View raw message