incubator-ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yusaku Sako (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-2553) Delay between service tab opening and displaying actual states of "Stop"/"Start" buttons
Date Thu, 04 Jul 2013 17:59:48 GMT

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

Yusaku Sako commented on AMBARI-2553:
-------------------------------------

AMBARI-2565 will take care of integrating this to Ambari Web.
                
> 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
>             Fix For: 1.2.5
>
>         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

Mime
View raw message