code: private void load(AlluxioURI filePath, int replication)
        throws AlluxioException, IOException, InterruptedException {
      URIStatus status = mFileSystem.getStatus(filePath);
      if (status.isFolder()) {
        List<URIStatus> statuses = mFileSystem.listStatus(filePath);
        for (URIStatus uriStatus : statuses) {
          AlluxioURI newPath = new AlluxioURI(uriStatus.getPath());
          load(newPath, replication);
        }
      } else {
        Thread thread = JobGrpcClientUtils.createProgressThread(System.out);
        thread.start();
        try {
          JobGrpcClientUtils.run(new LoadConfig(filePath.getPath(), replication), 3,
              mFsContext.getPathConf(filePath));
        } finally {
          thread.interrupt();
        }
      }
      System.out.println(filePath + " loaded");
    }
docs: Loads a file or directory in Alluxio space, makes it resident in memory.
  
  @param filePath The {@link AlluxioURI} path to load into Alluxio memory
  @throws AlluxioException when Alluxio exception occurs
  @throws IOException      when non-Alluxio exception occurs