hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Marc Spaggiari <jean-m...@spaggiari.org>
Subject HBaseAdmin.getCompactionState feature
Date Sat, 24 Aug 2013 00:26:09 GMT
Hi there,

Quick question. What are we expecting for HBaseAdmin.getCompactionState?

>From the javadoc:
Get the current compaction state of a table or region.It could be in a
major compaction, a minor compaction, both, or none.

However, this is causing an issue on

Why? Because when a region is splitting, RegionServer will return
"NotServingRegionException: Region is not online" and then
HBaseAdmin.getCompactionState will throw an expection.

I think this need to be catch. If the region is splitting or offline, then
it's not compacting. So we should not return an exception from
HBaseAdmin.getCompactionState because a region is currently offline.

Does anyone have any objection with that?


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