[ https://issues.apache.org/jira/browse/HBASE-9878?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13812255#comment-13812255 ]
Nick Dimiduk commented on HBASE-9878: ------------------------------------- Yeah, this patch just lets the exception bubble up. On this Mac, Oracle's Java 7 returns 1. > 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)