public static void closeSweeperExecutorForTest() throws Exception {
    ScheduledExecutorService service = retrieveSweeperExecutor();
    if (service != null) {
      service.shutdownNow();
    }
  }
Test cases for proactive LLAP cache eviction.
llap-server/src/test/org/apache/hadoop/hive/llap/cache/TestProactiveEviction.java