hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Elliott Clark (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-5928) Hbck shouldn't npe when there are no tables.
Date Thu, 03 May 2012 20:12:48 GMT

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

Elliott Clark commented on HBASE-5928:

Mainly I did this because changing behavior of HBaseAdmin.getTableDescriptors seemed like
it might break anyone who expects null to mean no tables.  However if a breaking change is
ok it's a pretty easy change.
> Hbck shouldn't npe when there are no tables.
> --------------------------------------------
>                 Key: HBASE-5928
>                 URL: https://issues.apache.org/jira/browse/HBASE-5928
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Elliott Clark
>            Assignee: Elliott Clark
>            Priority: Minor
>         Attachments: HBASE-5928-0.patch
> hbase fsck errors out when there are no tables.
> Exception in thread "main" java.lang.NullPointerException
> 	at org.apache.hadoop.hbase.util.HBaseFsck.reportTablesInFlux(HBaseFsck.java:560)
> 	at org.apache.hadoop.hbase.util.HBaseFsck.onlineConsistencyRepair(HBaseFsck.java:346)
> 	at org.apache.hadoop.hbase.util.HBaseFsck.onlineHbck(HBaseFsck.java:382)
> 	at org.apache.hadoop.hbase.util.HBaseFsck.main(HBaseFsck.java:3120)

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message