[ 
https://issues.apache.org/jira/browse/AMBARI-5853?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Srimanth Gunturi resolved AMBARI-5853.
--------------------------------------

    Resolution: Fixed

+1 received. Committed to trunk.

> 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
>
>         Attachments: AMBARI-5853.patch
>
>
> 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)

Reply via email to