private void initiateRangerDenyTask() throws SemanticException {
    if (RANGER_AUTHORIZER.equalsIgnoreCase(conf.getVar(HiveConf.ConfVars.REPL_AUTHORIZATION_PROVIDER_SERVICE))) {
      LOG.info("Adding Ranger Deny Policy Task for {} ", work.dbNameToLoadIn);
      RangerDenyWork rangerDenyWork = new RangerDenyWork(new Path(work.getDumpDirectory()), work.getSourceDbName(),
              work.dbNameToLoadIn, work.getMetricCollector());
      if (childTasks == null) {
        childTasks = new ArrayList<>();
      }
      childTasks.add(TaskFactory.get(rangerDenyWork, conf));
    } else {
      throw new SemanticException(ErrorMsg.REPL_INVALID_CONFIG_FOR_SERVICE.format("Authorizer: " +
              conf.getVar(HiveConf.ConfVars.REPL_AUTHORIZATION_PROVIDER_SERVICE)
              + " not supported for deny policy creation. Currently Only supports: ", ReplUtils.REPL_RANGER_SERVICE));
    }
  }
Provides the root Tasks created as a result of this loadTask run which will be executed
by the driver. It does not track details across multiple runs of LoadTask.
ql/src/java/org/apache/hadoop/hive/ql/exec/repl/ReplLoadTask.java