incubator-ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Siddharth Wagle (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-2838) Running Requests are not visibile on the UI since the API is not returning the running requests.
Date Wed, 07 Aug 2013 23:10:47 GMT

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

Siddharth Wagle commented on AMBARI-2838:
-----------------------------------------

+1 patch looks good.
                
> Running Requests are not visibile on the UI since the API is not returning the running
requests.
> ------------------------------------------------------------------------------------------------
>
>                 Key: AMBARI-2838
>                 URL: https://issues.apache.org/jira/browse/AMBARI-2838
>             Project: Ambari
>          Issue Type: Bug
>          Components: controller
>    Affects Versions: 1.2.5
>            Reporter: Sumit Mohanty
>            Assignee: Sumit Mohanty
>             Fix For: 1.2.5
>
>         Attachments: AMBARI-2838.patch
>
>
> The issue is the following:
> getRequestsByTaskStatus behaves correctly and returns the latest N requests. Note that
the N requests have M (M >> N) tasks.
> Then the call to findByRequestIds gets oldest N tasks where the requestId for tasks belong
to the  list returned by the first call. So instead of getting M tasks we only get N tasks
that too N oldest tasks which are returned. As a result the call never returns that latest
request/tasks. 
> The fix is to drop the filter done by the calls findByRequestIds and findByRequestAndTaskIds.
Filter should only be applied on the number of requests to be returned.

--
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