You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Srimanth Gunturi (JIRA)" <ji...@apache.org> on 2014/05/22 05:59:39 UTC
[jira] [Created] (AMBARI-5853) Implement apps and app GET endpoint
in Slider Apps view
Srimanth Gunturi created AMBARI-5853:
----------------------------------------
Summary: Implement apps and app GET endpoint in Slider Apps view
Key: AMBARI-5853
URL: https://issues.apache.org/jira/browse/AMBARI-5853
Project: Ambari
Issue Type: Task
Components: client
Affects Versions: 1.6.1
Reporter: Srimanth Gunturi
Assignee: Srimanth Gunturi
Fix For: 1.6.1
Slider Apps View should provide the GET method for following endpoints - {{/api/v1/apps}} and {{/api/v1/apps/app-id}}.
The response should be in following format
{code}
{
apps: [
{
id: 'yarn-bbb',
yarn_id: 'bbb',
status: 'running|frozen|???',
type: 'HBase|Storm|...'
user: 'yarn',
start_time: 123456,
end_time: 345678,
components: {
HBASE_MASTER: {
num_instances: 1,
active_containers: {
'h1': {
log_location: '..',
}
},
completed_containers: {
'h1': {
log_location: '..',
}
}
}
HBASE_REGIONSERVER: {
num_instances: 6,
active_containers: {
'h1': {
log_location: '..',
},
},
completed_containers: {
'h1': {
log_location: '..',
}
}
}
},
jmx: {
"Regions in Transition": "3",
},
urls:{
"Logs": "http://.…./logs",
}
diagnostics: 'frozen was issued',
configs: {
'yarn-site': {
"a" : "b"
},
'global': {
}
}
}
]
}
{code}
--
This message was sent by Atlassian JIRA
(v6.2#6252)