[
https://issues.apache.org/jira/browse/AMBARI-22883?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated AMBARI-22883:
------------------------------------
Labels: pull-request-available (was: )
> Create hosts per operating system count summary
> -----------------------------------------------
>
> Key: AMBARI-22883
> URL: https://issues.apache.org/jira/browse/AMBARI-22883
> Project: Ambari
> Issue Type: Bug
> Components: ambari-server
> Affects Versions: 3.0.0
> Reporter: Scott Duan
> Assignee: Scott Duan
> Priority: Major
> Labels: pull-request-available
> Fix For: 3.0.0
>
>
> In the install wizard, after host registration, we need to know the number of
> hosts running each possible operating system.
> *Example request:*
> {code:java}
> GET
> http://localhost:8080/api/v1/hosts?format=summary
> {code}
> Example response:
> {code:java}
> { "operating_systems": [ "redhat6": 75, "debian7": 100
> ]
> }
> {code}
> Note that if there are zero hosts for an operating system type, then it is
> not included in the array.
> This structure allows us to add additional summary information as siblings to
> "operating_systems" in the future.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)