@Override
  public void analyzeInternal(ASTNode root) throws SemanticException {
    Task<?> task = hiveAuthorizationTaskFactory.createRevokeRoleTask(root, getInputs(), getOutputs());
    if (task != null) {
      rootTasks.add(task);
    }
  }
Analyzer for revoking from role commands.
ql/src/java/org/apache/hadoop/hive/ql/ddl/privilege/role/revoke/RevokeRoleAnalyzer.java