private static Map<String, Object> createComponentRequestProperties(AddServiceInfo request, String service, String component) {
    ImmutableMap.Builder<String, Object> properties = ImmutableMap.builder();

    properties.put(ComponentResourceProvider.CLUSTER_NAME, request.clusterName());
    properties.put(ComponentResourceProvider.SERVICE_NAME, service);
    properties.put(ComponentResourceProvider.COMPONENT_NAME, component);
    properties.put(ComponentResourceProvider.STATE, State.INIT.name());

    return properties.build();
  }
@return {@code Optional} with the cluster's kerberos descriptor artifact if it exists, otherwise empty {@code Optional}
ambari-server/src/main/java/org/apache/ambari/server/topology/addservice/ResourceProviderAdapter.java