You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Andrii Tkach (JIRA)" <ji...@apache.org> on 2013/10/30 14:35:25 UTC

[jira] [Updated] (AMBARI-3622) [perf] Background operations dialog should not get all details of requests

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

Andrii Tkach updated AMBARI-3622:
---------------------------------

    Attachment: AMBARI-3622.patch

> [perf] Background operations dialog should not get all details of requests
> --------------------------------------------------------------------------
>
>                 Key: AMBARI-3622
>                 URL: https://issues.apache.org/jira/browse/AMBARI-3622
>             Project: Ambari
>          Issue Type: Bug
>          Components: client
>    Affects Versions: 1.4.1
>            Reporter: Andrii Tkach
>            Assignee: Andrii Tkach
>            Priority: Critical
>             Fix For: 1.4.2
>
>         Attachments: AMBARI-3622.patch
>
>
> In Ambari UI we keep polling for last 10 requests, and *all* details about each request. 
> {code}
> http://server:8080/api/v1/clusters/ga/requests?to=end&page_size=10&fields=*,tasks/Tasks/*
> {code}
> On a 600 node cluster if you restart all services, this will contain MBs of data.
> We do not need so much data just to show the number of operations. We need to request API changes to provide rollup of tasks information into each request, and use that.
> The polling query should look more like:
> {code}
> http://server:8080/api/v1/clusters/ga/requests?to=end&page_size=10
> {code}
> This should provide the following about request - 
> * progress%
> * completed (yes/no)
> * state (success/warn/failure/timeout)
> Users should open the background-operations dialog and see progress of requests without making any further calls. Only when the user clicks on a request, should another call to get all tasks information be done.



--
This message was sent by Atlassian JIRA
(v6.1#6144)