accumulo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From noedetore <>
Subject [GitHub] accumulo pull request #220: ACCUMULO-4591 replication latency metrics added
Date Thu, 23 Feb 2017 20:56:04 GMT
Github user noedetore commented on a diff in the pull request:
    --- Diff: server/master/src/main/java/org/apache/accumulo/master/metrics/
    @@ -58,6 +59,7 @@ protected void snapshot() {
         registry.add(PENDING_FILES, getNumFilesPendingReplication());
         registry.add(NUM_PEERS, getNumConfiguredPeers());
         registry.add(MAX_REPLICATION_THREADS, getMaxReplicationThreads());
    +    registry.add(LATENCY, getLatencyInSeconds());
    --- End diff --
    I agree there are better ways of getting a better metric. This approach is a 90%(maybe
to generous) solution using the information that already exists to give an end user some bearing
of confidence as to current replication latency. From a users perspective, they want a historical
way to know what is the greatest latency they can expect their data to be replicated at a
given point in time. Spikes help explain the possible -1% unhealthy replicated files. As in
the picture above there are couple spikes, but they don't seem to paint a bad picture. I will
look into the histogram class. Are there any points of reference in the code you can point
me to?

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

View raw message