public static void reprintLine(PrintStream out, String line) {
    out.print(ansi().eraseLine(Ansi.Erase.ALL).a(line).a('\n').toString());
    out.flush();
  }
Renders information from ProgressMonitor to the stream provided.
common/src/java/org/apache/hadoop/hive/common/log/InPlaceUpdate.java