Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
Description
Several of the Ambari API response schemas (https://github.com/apache/ambari/blob/trunk/ambari-server/docs/api/v1/schemas.md) list several objects as required that don't make sense when Ambari is deployed in a cloud hosting environment. These objects should be made optional. Specifically, the following properties should be optional (listed by API call):
/clusters/:clusterName
- cluster_id
- requests
- configurations
/clusters/:clusterName/hosts/:hostname - public_host_name
- rack_info
- total_mem
/clusters/:clusterName/hosts/:hostName/host_components/:componentName - desired_stack_id
- stack_id
/clusters/<name>/hosts/<node>/host_components/datanode (also tasktracker) - disk
- cpu
- load
- memory
- network
/clusters/:clusterName - workflows
/clusters/<clusterName>/hosts/<hostname> - host_status
- host_state