private Map<String, Map<String, String>> buildReplacementsMap(Map<String, String> kerberosConfiguration) {
    final Map<String, Map<String, String>> replacementsMap = new HashMap<>();
    replacementsMap.put("", kerberosConfiguration);
    return replacementsMap;
  }
Invokes the kadmin shell command to issue queries

@param query a String containing the query to send to the kdamin command
@return a ShellCommandUtil.Result containing the result of the operation
@throws KerberosKDCConnectionException       if a connection to the KDC cannot be made
@throws KerberosAdminAuthenticationException if the administrator credentials fail to authenticate
@throws KerberosRealmException               if the realm does not map to a KDC
@throws KerberosOperationException           if an unexpected error occurred
ambari-server/src/main/java/org/apache/ambari/server/serveraction/kerberos/MITKerberosOperationHandler.java