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

ASF GitHub Bot commented on EAGLE-946:
--------------------------------------

Github user qingwen220 commented on the issue:

    https://github.com/apache/eagle/pull/869
  
    added three configurations into MRRunningJobApplication:
    * endpointConfig.requestsNum: number of requests separated by time ranges
    * endpointConfig.requestLimit: limit of applications in each request
    * endpointConfig.requestTimeInHour: time span between the first and the 
last request in hours if request number > 1
    
    For example, if we have `requestsNum=5, requestTimeInHour=6`, then 5 
requests are 
    
    
https://rm-host:50030/ws/v1/cluster/apps?applicationTypes=MAPREDUCE&startedTimeEnd=1489448981536&limit=&state=RUNNING&anonymous=true,
 
    
    
https://rm-host:50030/ws/v1/cluster/apps?applicationTypes=MAPREDUCE&startedTimeBegin=1489448981536&startedTimeEnd=1489454381536&limit=&state=RUNNING&anonymous=true,
 
    
    
https://rm-host:50030/ws/v1/cluster/apps?applicationTypes=MAPREDUCE&startedTimeBegin=1489454381536&startedTimeEnd=1489459781536&limit=&state=RUNNING&anonymous=true,
 
    
    
https://rm-host:50030/ws/v1/cluster/apps?applicationTypes=MAPREDUCE&startedTimeBegin=1489459781536&startedTimeEnd=1489465181536&limit=&state=RUNNING&anonymous=true,
 
    
    
https://rm-host:50030/ws/v1/cluster/apps?applicationTypes=MAPREDUCE&startedTimeBegin=1489465181536&limit=&state=RUNNING&anonymous=true



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

Reply via email to