public InputStream exportData(AtlasExportRequest request) throws SemanticException {
    LOG.debug("exportData: {}" + request);
    return invokeWithRetry(new Callable<InputStream>() {
      @Override
      public InputStream call() throws Exception {
        SecurityUtils.reloginExpiringKeytabUser();
        return clientV2.exportData(request);
      }
    });
  }
Implementation of RESTClient, encapsulates Atlas' REST APIs.
ql/src/java/org/apache/hadoop/hive/ql/exec/repl/atlas/AtlasRestClientImpl.java