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

Jonathan Hsieh commented on HBASE-5798:
---------------------------------------

Returning empty array is valid.  I dug a little into the master side as well -- 
it returns an empty array in the case where an invalid set of table names is 
passed.
                
> NPE running hbck on 0.94 out of reportTablesInFlux
> --------------------------------------------------
>
>                 Key: HBASE-5798
>                 URL: https://issues.apache.org/jira/browse/HBASE-5798
>             Project: HBase
>          Issue Type: Bug
>          Components: hbck
>    Affects Versions: 0.94.0, 0.96.0
>            Reporter: stack
>            Assignee: Anoop Sam John
>
> Got this playing w/ hbck going against the 0.94RC:
> {code}
> 12/04/16 17:03:14 INFO util.HBaseFsck: getHTableDescriptors == tableNames => 
> []
> Exception in thread "main" java.lang.NullPointerException
>         at 
> org.apache.hadoop.hbase.util.HBaseFsck.reportTablesInFlux(HBaseFsck.java:553)
>         at 
> org.apache.hadoop.hbase.util.HBaseFsck.onlineConsistencyRepair(HBaseFsck.java:344)
>         at 
> org.apache.hadoop.hbase.util.HBaseFsck.onlineHbck(HBaseFsck.java:380)
>         at org.apache.hadoop.hbase.util.HBaseFsck.main(HBaseFsck.java:3033)
> {code}

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

        

Reply via email to