What I was trying to ensure is that major compactions don't affect data
read by a subsequent scanner - as I do major compactions periodically
inside the code in order to free space and improve performance.
Then I found this issue:
https://issues.apache.org/jira/browse/HBASE-5121 and I was kind
The way we do it is here is by reading the jmx metrics (in java via
javax.management.remote) that the region server outputs instead of
querying directly the region server. What you are doing is kinda
hacky.
J-D
On Sat, Sep 22, 2012 at 7:58 AM, Ioakim Perros wrote:
> Hi,
>
> I would like to progr
Hi,
I would like to programmatically major compact a table's regions, but I
would like to check if major compaction ended (i.e.: compaction queue
size goes to zero).
I tried to do it through the following code but it failed throwing a
null pointer exc.
HBaseAdmin admin = new HBaseAdmin(con