You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Tom Beerbower (JIRA)" <ji...@apache.org> on 2013/07/03 18:50:23 UTC

[jira] [Updated] (AMBARI-2553) Delay between service tab opening and displaying actual states of "Stop"/"Start" buttons

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

Tom Beerbower updated AMBARI-2553:
----------------------------------

    Attachment: AMBARI-2553.patch
    
> Delay between service tab opening and displaying actual states of "Stop"/"Start" buttons
> ----------------------------------------------------------------------------------------
>
>                 Key: AMBARI-2553
>                 URL: https://issues.apache.org/jira/browse/AMBARI-2553
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Tom Beerbower
>            Assignee: Tom Beerbower
>         Attachments: AMBARI-2553.patch
>
>
> Sometimes, there are displayed not correct status for "Start"/"Stop" buttons during 5-7 seconds after service tab opening.
> This bug was reproduced on SUSE-11 and RHEL-6.3 (HDP-1.3.0).
> This is happening due to long time of getting "background operations" data (huge array of data). We need this data to determine status of "service buttons" (Start/Stop/SmokeTest). Currently we  have no opportunity to get from API only 10 last requests, we are receiving all requests, in some cases it`s huge array of data.
> Now we are using this request:
> {noformat}
> /api/v1/clusters/cl1/requests?fields=tasks/*
> returns all requests with any statuses
> {noformat}
> If we try this one, result is the same: 
> {noformat}
> api/v1/clusters/cl1/requests?Requests/request_status.in(COMPLETED,IN_PROGRESS,FAILED)&fields=tasks/*
> returns all requests with any statuses
> {noformat}
> We need an API to return only last 10 requests, not all.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira