You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Oleg Nechiporenko (JIRA)" <ji...@apache.org> on 2014/10/10 12:55:33 UTC
[jira] [Created] (AMBARI-7721) UI: REST API Changes in Storm
Oleg Nechiporenko created AMBARI-7721:
-----------------------------------------
Summary: 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
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)