Yeah, this looks wrong.

The numbers the monitor gets are from the TabletServer polling each Tablet

https://github.com/apache/accumulo/blob/1.6/server/tserver/src/main/java/org/apache/accumulo/tserver/TabletServer.java#L3676-L3677

The JMX metrics reported by the TServer should also likely do the same.

Care to file a JIRA issue?

Roshan Punnoose wrote:
I am using Accumulo 1.6.5 and trying to monitor ingest rates through JMX
endpoints. The ingest reported through JMX does not seem to match with
the ingest rates reported on the accumulo monitor. Looking at the source
code, I noticed that the TabletServerMBean is counting all the entries
in memory for online tablets on that TabletServer:

result+=tablet.getNumEntriesInMemory()


Is this is a good metric to use for ingest rates? Just want a good way
to measure ingest rates as I change configurations and run the
continuous ingest.

Thanks!
Roshan

Reply via email to