Hi all,

Is there a specific reason why calling Reporter.incrCounter() with a negative amount would fail? I see that the javadocs (http://hadoop.apache.org/core/docs/current/api/org/apache/hadoop/mapred/Reporter.html) say the amount must be non-negative, but in looking at the code I don't see why that's the case...and in practice it seems to work when I pass a negative amount.

I'm curious because counters would be a very easy way for me to monitor state during some of my jobs.

If counters aren't appropriate for this use case, then what's the best alternative? Since I'm running in EC2, I could use SQS to receive state updates from all nodes and aggregate them myself.

Thanks,

-- Ken
--
Ken Krugler
+1 530-210-6378

Reply via email to