HBase hbck Command

Source: Internet
Author: User

HBase provides a HBCK tool that is implemented by the Hbasefsck class and is used primarily for consistency checking and integrity checking. You can view the parameters of the HBCK by using the following command,

[Root@openstack-2 ~]# hbase hbck-h Java HotSpot (TM) 64-bit Server VM warning:using incremental CMS is deprecated and wil L likely be removed in a future release 17/06/05 15:31:52 INFO Configuration.deprecation:fs.default.name is deprecated. Instead, use Fs.defaultfs usage:fsck [opts] {only tables} where [opts] is:-help Display Help Options (this)-det
   ails Display full report of all regions. -timelag <timeInSeconds> Process only regions that has not experienced any metadata updates in the last <time
   inseconds> seconds. -sleepbeforererun <timeInSeconds> Sleep This many seconds before checking if the fix worked if run with-fix-sum
   Mary Print Only summary of the tables and status.
   -metaonly only check the state of the Hbase:meta table.
   -sidelinedir  

Once you start running, the Hbck tool executes. META. Table to collect all the relevant information that is held, and also scans the root directory in HDFs that is used by hbase. The collected information is then compared to report related consistency and completeness issues.

Consistency check
The consistency check is in region to check if the region exists at the same time. META. Tables and HDFs, and check whether it is assigned to a unique region server.

Integrity check
The integrity check compares the region to the table details in a table to find the missing area, while checking for holes or overlaps in the range of start and end keys.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.