ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-7721) UI: REST API Changes in Storm
Date Fri, 10 Oct 2014 12:24:33 GMT

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

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

SUCCESS: Integrated in Ambari-trunk-Commit #536 (See [https://builds.apache.org/job/Ambari-trunk-Commit/536/])
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=1fd8eb6658d22012535060cc42fbcf879795b854)
* ambari-web/app/views/main/service/services/storm.js
* ambari-web/test/utils/helper_test.js
* ambari-web/app/mappers/service_metrics_mapper.js
* ambari-web/app/controllers/global/update_controller.js
* ambari-web/test/mappers/service_mapper_test.js
* ambari-web/app/utils/date.js
* ambari-web/app/utils/helper.js
* ambari-web/app/models/service/storm.js
* ambari-web/test/controllers/global/update_controller_test.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)

Mime
View raw message