public class PigCounterHelper
A helper class to deal with Hadoop counters in Pig. They are stored within the singleton
PigStatusReporter instance, but are null for some period of time at job startup, even after
Pig has been invoked. This class buffers counters, trying each time to get a valid Reporter and flushing
stored counters each time it does.