@Override
    public void close() {
      LOG.info("Thread finished; renaming back to: {}", oldName);
      Thread.currentThread().setName(oldName);
    }
Renames the {@link Thread} to make it more clear what it is working on.
ql/src/java/org/apache/hadoop/hive/ql/scheduled/ScheduledQueryExecutionService.java