How can I access the Mapper/Reducer counters on the Output stage?
问题 I have some counters I created at my Mapper class: (example written using the appengine-mapreduce Java library v.0.5) @Override public void map(Entity entity) { getContext().incrementCounter("analyzed"); if (isSpecial(entity)){ getContext().incrementCounter("special"); } } (The method isSpecial just returns true or false depending on the state of the entity, not relevant to the question) I want to access those counters when I finish processing the whole stuff, at the finish method of the