IndexTask: Better logging at the end of each segment

This commit is contained in:
Gian Merlino 2014-01-08 15:22:07 -08:00
parent 1476d7f51e
commit 9037141c00
1 changed files with 4 additions and 1 deletions

View File

@ -374,8 +374,11 @@ public class IndexTask extends AbstractFixedIntervalTask
} }
finally { finally {
log.info( log.info(
"Task[%s] took in %,d rows (%,d processed, %,d unparseable, %,d thrown away) and output %,d rows", "Task[%s] interval[%s] partition[%d] took in %,d rows (%,d processed, %,d unparseable, %,d thrown away)"
+ " and output %,d rows",
getId(), getId(),
interval,
schema.getShardSpec().getPartitionNum(),
metrics.processed() + metrics.unparseable() + metrics.thrownAway(), metrics.processed() + metrics.unparseable() + metrics.thrownAway(),
metrics.processed(), metrics.processed(),
metrics.unparseable(), metrics.unparseable(),