hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chen Song <chen.song...@gmail.com>
Subject Schedule major compaction programmatically
Date Thu, 17 May 2012 18:11:32 GMT
I would like to schedule major compaction on a region programmatically. I
found the API call below which can properly achieve my goal.

HBaseAdmin.majorCompact(String tableOrRegionName)

It turns out to be an asynchronous call and there seems no call back
parameter that can be specified. How can I validate the compaction result
(e.g., success or failure) ?


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message