}
List<HivePrincipal> hivePrincipals = getHivePrincipals(grantOrRevokeRoleDDL.getPrincipalDesc());
List<String> roles = grantOrRevokeRoleDDL.getRoles();
if(grantOrRevokeRoleDDL.getGrant()){
authorizer.grantRole(hivePrincipals, roles,
grantOrRevokeRoleDDL.isGrantOption(), grantorPrinc);
}
else{
authorizer.revokeRole(hivePrincipals, roles,
grantOrRevokeRoleDDL.isGrantOption(), grantorPrinc);