incubator-ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aleksandr Kovalenko (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-3622) [perf] Background operations dialog should not get all details of requests
Date Wed, 30 Oct 2013 13:37:26 GMT

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

Aleksandr Kovalenko commented on AMBARI-3622:
---------------------------------------------

+1 for the 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)

Mime
View raw message