LOG.error("Failed to initialize mapper with {}", basicMapReduceContext, e);
throw Throwables.propagate(e);
}
}
delegate.run(flushingContext);
// sleep to allow metrics to be written
TimeUnit.SECONDS.sleep(2L);
// transaction is not finished, but we want all operations to be dispatched (some could be buffered in
// memory by tx agent