hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "dhruba borthakur" <dhr...@gmail.com>
Subject Review Request: Provide a HBase checker called HBaseFsck
Date Tue, 22 Jun 2010 09:11:37 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://review.hbase.org/r/219/
-----------------------------------------------------------

Review request for hbase.


Summary
-------

This utility scans the META table and verifies that the relevant regins are served by region
servers. It prints out inconsistencies if a region server is serving a region that does not
exist in META and vice versa. This utility then scans HDFS and prints out inconsistencies
between tables found in HDFS and what is listed in META table. This utility is a reporting
utility (just like HDFS fsck), does not fix anything automatically.

You can run this as
bin/hbase —config <confdir> org.apache.hadoop.hbase.client.HBaseFsck -details >
/tmp/hsck.out
The output will be stored in /tmp/hsck.out


This addresses bug http://issues.apache.org/jira/browse/HBASE-7.
    http://issues.apache.org/jira/browse/http://issues.apache.org/jira/browse/HBASE-7


Diffs
-----

  /src/main/java/org/apache/hadoop/hbase/client/HBaseFsck.java PRE-CREATION 

Diff: http://review.hbase.org/r/219/diff


Testing
-------


Thanks,

dhruba


Mime
View raw message