[
https://issues.apache.org/jira/browse/EAGLE-946?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15925475#comment-15925475
]
ASF GitHub Bot commented on EAGLE-946:
--------------------------------------
Github user haoch commented on the issue:
https://github.com/apache/eagle/pull/869
The original idea is:
range = 1 hour
round = 0
apps_num = 0
do {
apps_num = query(current - range * (round+1), current - range(round))
round ++
} while apps_num > 0
instead of hack-ly separating into a few slots by given request num.
> Refactor MRRunningJobApp & HadoopQueueApp
> ------------------------------------------
>
> Key: EAGLE-946
> URL: https://issues.apache.org/jira/browse/EAGLE-946
> Project: Eagle
> Issue Type: Improvement
> Affects Versions: v0.5.0
> Reporter: Zhao, Qingwen
> Assignee: Zhao, Qingwen
>
> Requirements
> 1. REST apis to the remote cluster should be called only once.
> 2. For each request, the fetch running apps should be limits
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)