private long getInterval(Configuration conf) {
    return HiveConf.getTimeVar(conf, HiveConf.ConfVars.LLAP_LOCAL_DIR_CLEANER_CLEANUP_INTERVAL, TimeUnit.SECONDS);
  }
LocalDirCleaner is an LLAP daemon service to clean up old local files. Under normal circumstances,
intermediate/local files are cleaned up (typically at end of the DAG), but daemons crash sometimes,
and the attached local disk might end up being the same when a new daemon starts (this applies to
on-prem as well as cloud scenarios).
llap-server/src/java/org/apache/hadoop/hive/llap/daemon/impl/LocalDirCleaner.java