Support Questions

Find answers, ask questions, and share your expertise

Is there any way to find out how much time is taken for Major Compaction of a specific table?

Super Guru

We can find it from regionserver logs but I want to know if there is any other better way.

1 ACCEPTED SOLUTION

@Kuldeep Kulkarni

Couple of links

http://www.lilyproject.org/lily/index.html and this blog explains it nicely

Also, you can leverage JMX to expose the metrics.

View solution in original post

9 REPLIES 9

@Kuldeep Kulkarni

Couple of links

http://www.lilyproject.org/lily/index.html and this blog explains it nicely

Also, you can leverage JMX to expose the metrics.

Super Guru

Thank you @Neeraj Sabharwal

Super Guru

@Kuldeep Kulkarni Thanks! I did see it ...Looks good. I will test this in my env.

Super Guru

@Neeraj Sabharwal - Sure! I'm currently testing it on my local setup, will update you with the results!

@Kuldeep Kulkarni Please upload screenshots when you done. Thanks again 🙂

Ready to test it now.

I am on HDP 2.3.2 ..I will troubleshoot this soon @Kuldeep Kulkarni

[root@phdns01 hannibal]# sh -x start

Exception in thread "main" java.lang.NoClassDefFoundError: play.core.server.NettyServer

at gnu.java.lang.MainThread.run(libgcj.so.10)

Caused by: java.lang.ClassNotFoundException: play.core.server.NettyServer not found in gnu.gcj.runtime.SystemClassLoader{urls=[file:./conf/,file:/usr/hdp/2.3.4.0-

@Kuldeep Kulkarni

looks like not ready with HBase 1.x

[root@phdns01 hannibal-v.0.10.1]# ./build

building Hannibal for HBase 0.90 (may be altered by assigning 0.90, 0.92, 0.94, 0.96 or 0.98 to HANNIBAL_HBASE_VERSION)

java.lang.NoSuchMethodError: method java.util.regex.Matcher.quoteReplacement with signature (Ljava.lang.String;)Ljava.lang.String; was not found.

Super Guru

@Neeraj Sabharwal Yeah correct! for me build got completed successfully but unable to get UI, looks like version issue, will test on 0.90 and see