- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Run hbase major compaction on all tables
- Labels:
-
Apache HBase
Created ‎07-20-2016 03:45 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I want to run major compaction on all tables & CF in hbase. In past I built a custom script to grab all tables in hbase and run compaction on each one individually. Is there easier way of doing this?
Created ‎07-20-2016 04:10 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You should spread out the major compaction on individual tables.
Refer to the following:
HBASE-16147 Add ruby wrapper for getting compaction state
If there is not enough time to wait for compaction on one table to finish, at least leave some time between the start of major compactions.
Created ‎07-20-2016 04:10 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You should spread out the major compaction on individual tables.
Refer to the following:
HBASE-16147 Add ruby wrapper for getting compaction state
If there is not enough time to wait for compaction on one table to finish, at least leave some time between the start of major compactions.
Created ‎07-20-2016 09:41 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Doesn't look like there is any way to accept a regex of tables.
