Thank you for reply. Yes. There are many regions have this problem. And those regions were created several years ago. hbase.hregion.majorcompaction of our cluster is 7 days. Where can I see the last major compaction time?
Thanks, Alex 2016-11-17 18:22 GMT-08:00 Ted Yu <[email protected]>: > When was the last time major compaction was performed on this region ? > > Were you referring to the store files by 'them' in your question ? > > Cheers > > On Thu, Nov 17, 2016 at 6:18 PM, Xi Yang <[email protected]> wrote: > > > I have some regions are empty. But HBase doesn't remove them, why? > > > > You can see the storeFileSize is only 549. But I use hbase shell to scan > > this region, the result is empty > > > > "Namespace_default_table_java_app_logs_region_ > > 3854912733f1acaaa8a255abd6b7b1ec_metric_storeFileCount" > > : 1, > > "Namespace_default_table_java_app_logs_region_ > > 3854912733f1acaaa8a255abd6b7b1ec_metric_memStoreSize" > > : 424, > > "Namespace_default_table_java_app_logs_region_ > > 3854912733f1acaaa8a255abd6b7b1ec_metric_storeFileSize" > > : 549, > > "Namespace_default_table_java_app_logs_region_ > > 3854912733f1acaaa8a255abd6b7b1ec_metric_compactionsCompletedCount" > > : 4, > > "Namespace_default_table_java_app_logs_region_ > > 3854912733f1acaaa8a255abd6b7b1ec_metric_numBytesCompactedCount" > > : 8503271111, > > "Namespace_default_table_java_app_logs_region_ > > 3854912733f1acaaa8a255abd6b7b1ec_metric_numFilesCompactedCount" > > : 4, > > >
