Uh oh!
There was an error while loading. Please reload this page.
HBASE-23210 Backport HBASE-15519 (Add per-user metrics) to branch-1 - #755
Conversation
apurtell
commented
Oct 24, 2019
New unit tests pass |
apurtell
commented
Oct 24, 2019
@joshelser I couldn't ask @ankitsinghal for a review for some reason, but i see you recently reviewed similar |
b770177 to
b31f442Compare| class SweepRunnable implements Runnable { | ||
| @Override public void run() { | ||
| if (LOG.isTraceEnabled()) { | ||
| LOG.trace("Starting sweep of lossyCounting-" + name); |
There was a problem hiding this comment.
nit, could use the {} markers and drop the isTraceEnabled()
There was a problem hiding this comment.
This came in from branch-2 change. I agree but try not to second guess the original contributor on backports.
| try { | ||
| sweep(); | ||
| } catch (Exception exception) { | ||
| LOG.debug("Error while sweeping of lossyCounting-{}", name, exception); |
There was a problem hiding this comment.
(damnit, lost the previous comment)
Make sure you're getting the right debug method here. The debug(String, Object, Exception) not debug(String, Object, Object). Hit this the other day.
b31f442 to
ba2d5ffCompareApache-HBase
commented
Oct 25, 2019
💔 -1 overall
This message was automatically generated. |
apurtell
commented
Oct 25, 2019
Back soon to fix checkstyle issues |
ba2d5ff to
dc96c24Compareapurtell
commented
Oct 25, 2019
Fixed some checkstyle nits, will merge tomorrow |
Apache-HBase
commented
Oct 25, 2019
💔 -1 overall
This message was automatically generated. |
Apache-HBase
commented
Oct 25, 2019
💔 -1 overall
This message was automatically generated. |
HBASE-15519 Add per-user metrics with lossy counting Introducing property hbase.regionserver.user.metrics.enabled(Default:true) to disable user metrics in case it accounts for any performance issues
dc96c24 to
5127c2eCompareapurtell
commented
Oct 28, 2019
Fixed the other checkstyle indent nit |
| this.data = new ConcurrentHashMap<>(); | ||
| this.listener = listener; | ||
| calculateCurrentTerm(); | ||
| executor = Executors.newSingleThreadExecutor(); |
There was a problem hiding this comment.
I think this causes the RegionServer process to hang upon shutdown since we're not using daemon threads.
HBASE-15519 Add per-user metrics with lossy counting
Introducing property hbase.regionserver.user.metrics.enabled(Default:true)
to disable user metrics in case it accounts for any performance issues