hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jimmy Xiang <jxi...@cloudera.com>
Subject Re: Schedule major compaction programmatically
Date Thu, 17 May 2012 18:24:48 GMT
I am thinking to add a function to check if a table or region in compaction
(major or minor).

I filed HBASE-6033. It won't show status of a specific compaction request.
Will this help?

Thanks,
Jimmy

On Thu, May 17, 2012 at 11:11 AM, Chen Song <chen.song.82@gmail.com> wrote:

> 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) ?
>
> Thanks
> Chen
>

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