[ 
https://issues.apache.org/jira/browse/AMBARI-7721?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14166702#comment-14166702
 ] 

Hudson commented on AMBARI-7721:
--------------------------------

SUCCESS: Integrated in Ambari-branch-1.7.0 #46 (See 
[https://builds.apache.org/job/Ambari-branch-1.7.0/46/])
AMBARI-7721. UI: REST API Changes in Storm. (Buzhor Denys via onechiporenko) 
(onechiporenko: 
http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=a41f278fc6820e2fffd0ae92d9b0d58d246da4c4)
* ambari-web/app/utils/date.js
* ambari-web/app/utils/helper.js
* ambari-web/test/mappers/service_mapper_test.js
* ambari-web/app/controllers/global/update_controller.js
* ambari-web/app/views/main/service/services/storm.js
* ambari-web/app/mappers/service_metrics_mapper.js
* ambari-web/test/controllers/global/update_controller_test.js
* ambari-web/test/utils/helper_test.js
* ambari-web/app/models/service/storm.js


> UI: REST API Changes in Storm
> -----------------------------
>
>                 Key: AMBARI-7721
>                 URL: https://issues.apache.org/jira/browse/AMBARI-7721
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-web
>    Affects Versions: 1.7.0
>            Reporter: Oleg Nechiporenko
>            Assignee: Oleg Nechiporenko
>            Priority: Critical
>             Fix For: 1.7.0
>
>         Attachments: AMBARI-7721.patch, AMBARI-7721_branch-1.7.0.patch
>
>
> We need to make changes for Storm rest api metrics from UI side.
> In stack 2.2 STORM_REST_API will not be included. All api calls will be added 
> to STORM_UI_SERVER.
> Example:
> {code}
> http://c6402.ambari.apache.org:8080/api/v1/clusters/c1/hosts/c6402.ambari.apache.org/host_components/STORM_UI_SERVER
> {code}
> {code}
> "metrics" : {
>     "api" : {
>       "v1" : {
>         "cluster" : {
>           "summary" : {
>             "executorsTotal" : 28.0,
>             "nimbusUptime" : "15m 1s",
>             "slotsFree" : 0.0,
>             "slotsTotal" : 2.0,
>             "slotsUsed" : 2.0,
>             "supervisors" : 1.0,
>             "tasksTotal" : 28.0
>           }
>         },
>         "topology" : {
>           "summary" : [
>             {
>               "executorsTotal" : 28.0,
>               "uptime" : "5m 59s",
>               "schedulerInfo" : null,
>               "name" : "WordCountida8c06640_date2901141",
>               "workersTotal" : 2.0,
>               "status" : "ACTIVE",
>               "owner" : "",
>               "tasksTotal" : 28.0,
>               "id" : "WordCountida8c06640_date2901141-2-1412195707"
>             }
>           ]
>         }
>       }
> {code}
> Note: Now we need to calculate a number of topologies from this data.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to