public void setUncaughtExceptionHandler(Thread.UncaughtExceptionHandler handler) {
    this.uncaughtExceptionHandler = handler;
  }
Custom thread pool implementation that records per thread file system statistics in TezCounters.
The way it works is we capture before and after snapshots of file system thread statistics,
compute the delta difference in statistics and update them in tez task counters.
llap-server/src/java/org/apache/hadoop/hive/llap/daemon/impl/StatsRecordingThreadPool.java