@Override public synchronized void mapperStarted() { mappersStarted++; if (LOG.isInfoEnabled()) { if (mappersStarted == conf.getMaxWorkers() + 1) { LOG.info("Got all " + mappersStarted + " mappers"); jobGotAllMappers(); } else { if (System.currentTimeMillis() - lastTimeMappersStartedLogged > UPDATE_MILLISECONDS) { lastTimeMappersStartedLogged = System.currentTimeMillis(); LOG.info("Got " + mappersStarted + " but needs " + (conf.getMaxWorkers() + 1) + " mappers"); } } } }