Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to monitor major compaction of hbase

Tags:

java

hbase

I want to monitor major compaction of the hbase. For each table I would like to know

  • when it starts (by hbase or by user)
  • when it finished

How can I monitor this?

  • via JMX ?
  • via UI ?

In general what additional parameters should I monitor to detect that the major compaction is needed?

like image 520
Julias Avatar asked Nov 13 '12 15:11

Julias


1 Answers

I know the answer is a bit late, but instead of manually looking at the Log-Files you could also give Hannibal a try. It is a open-source tool that provides History-Graphs for each region. The graphs show when compactions happened and how long they took.

https://github.com/sentric/hannibal/

like image 146
user43552 Avatar answered Oct 24 '22 20:10

user43552