When running Phoenix select query I was getting a query timeout in java
client,  when I looked at the logs it region server was running hbase
metrics at the same time. So I looked for the option to disable the hbase
metrics but didn't get it, so I tried to stop the metrics system by using
these two properties,


**.source.filter.class=org.apache.hadoop.metrics2.filter.RegexFilterhbase.*.source.filter.exclude=**

 but now  I get the following warning.
WARN  [HBase-Metrics2-1] impl.MetricsSystemImpl: HBase metrics system not
yet started!
org.apache.hadoop.metrics2.MetricsException: Illegal stop
        at
org.apache.hadoop.metrics2.impl.MetricsSystemImpl.stop(MetricsSystemImpl.java:199)
        at
org.apache.hadoop.metrics2.impl.JmxCacheBuster$JmxCacheBusterRunnable.run(JmxCacheBuster.java:105)
        at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
        at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
        at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)


 Are any configurations available to disable  metrics  hbase system?
Will stopping the hbase  metrics    system affect any hbase services?

Thanks & Regards
Joice

Reply via email to