}
ThriftJobCounterRollups ret = new ThriftJobCounterRollups();
Counters mapCounters = jip.getMapCounters();
Counters reduceCounters = jip.getReduceCounters();
ret.mapCounters = new ThriftGroupList(
JTThriftUtils.toThrift(mapCounters));
ret.reduceCounters = new ThriftGroupList(
JTThriftUtils.toThrift(reduceCounters));
ret.jobCounters = new ThriftGroupList(
JTThriftUtils.toThrift(jip.getJobCounters()));
return ret;
}