[
https://issues.apache.org/jira/browse/HBASE-7?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12871794#action_12871794
]
Jonathan Gray commented on HBASE-7:
-----------------------------------
FYI, there is an existing call in HRegionInterface that can be used:
{noformat}public HRegionInfo[] getRegionsAssignment() throws
IOException;{noformat}
Currently that's being used during master failover though this may change with
the zk/master stuff underway, I think it will still make sense to retain this
call for debugging/fsck.
While on the subject, there's also another call in HRI:
{noformat}public HRegion [] getOnlineRegionsAsArray();{noformat}
This doesn't appear to be used anywhere except in 4 commented-out tests in
TestHBaseAdmin :) Unless there are objections, I'm going to remove it while
doing other cleanup in master/client/rs comm.
> [hbase] Provide a HBase checker and repair tool similar to fsck
> ---------------------------------------------------------------
>
> Key: HBASE-7
> URL: https://issues.apache.org/jira/browse/HBASE-7
> Project: HBase
> Issue Type: New Feature
> Components: util
> Reporter: Jim Kellerman
> Attachments: add_region.rb, check_meta.rb, check_meta.rb,
> HBASE-7.patch, patch.txt
>
>
> We need a tool to verify (and repair) HBase much like fsck
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.