private void loadCacheContent() {
    if (llapIo != null && savePath != null) {
      File file = new File(savePath);
      if (file.exists()) {
        try (FileInputStream fis = new FileInputStream(file)) {
          LlapDaemonProtocolProtos.CacheEntryList entryList = LlapDaemonProtocolProtos.CacheEntryList.parseFrom(fis);
          if (!entryList.getEntriesList().isEmpty()) {
            llapIo.loadDataIntoCache(entryList);
            LOG.debug("Llap cache content info loaded: " + savePath);
            file.delete();
          }
        } catch (IOException ex) {
          LOG.warn("Couldn't load llap cache.", ex);
        }
      }
    }
  }
Simple cache hydration strategy which saves the content info of the cache to a file on the local filesystem on
shutdown, and loads it when the daemon starts.
llap-server/src/java/org/apache/hadoop/hive/llap/cache/BasicLlapCacheHydration.java