hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ion Badita <ion.bad...@searchcapital.net>
Subject MetricsIntValue/MetricsLongValue publish once
Date Mon, 02 Jun 2008 07:34:03 GMT
Hi,

In javadoc for MetricsIntValue and MetricsLongValue is written: "Each 
time its value is set, it is published only *once* at the next update 
call". Looking at the those classes is right they "push" the data into 
the MetricsRecord only once, but digging dipper into the 
AbstractMericsContext the MetricsRecord data is "published" on every 
update, because ins not cleared once is published (i think is normal to 
be cleared because MetricsRecod "records" only "instructions" for 
changing the bufferedData from MetricsContext, maybe I'm wrong but thats 
what code dose).

Ion

Mime
View raw message