You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by Sandeep L <sa...@outlook.com> on 2013/09/04 07:02:22 UTC
Check if a region is compacting or not
Hi,
I would like to check if a region is compacting or not. Can some please let me know how check this?
Thanks,Sandeep.
Re: Check if a region is compacting or not
Posted by Ted Yu <yu...@gmail.com>.
In HBaseAdmin, we have:
public CompactionState getCompactionState(final String
tableNameOrRegionName)
throws IOException, InterruptedException {
FYI
On Tue, Sep 3, 2013 at 10:02 PM, Sandeep L <sa...@outlook.com>wrote:
> Hi,
> I would like to check if a region is compacting or not. Can some please
> let me know how check this?
>
> Thanks,Sandeep.
Re: Check if a region is compacting or not
Posted by Frank Chow <zh...@gmail.com>.
Search the reagion name in regionserver logs, if there are starting compaction messages but no matched finishing messages, the region is compacting.
Frank Chow
From: Sandeep L
Date: 2013-09-04 13:32
To: user@hbase.apache.org
Subject: Check if a region is compacting or not
Hi,
I would like to check if a region is compacting or not. Can some please let me know how check this?
Thanks,Sandeep.