[
https://issues.apache.org/jira/browse/EAGLE-889?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15869003#comment-15869003
]
ASF GitHub Bot commented on EAGLE-889:
--------------------------------------
GitHub user qingwen220 opened a pull request:
https://github.com/apache/eagle/pull/805
EAGLE-889: Add a restful API for Hadoop running queue to query top N users
or jobs
https://issues.apache.org/jira/browse/EAGLE-889
Sample 1: query the top N users/jobs of memory usage under queue1 on site1
at time 1487156721356
http://localhost:9090/rest/queue/memory?top=10&queue=queue1¤tTime=1487156721356&site=site1
Sample 2: query the current queue hierarchy
http://localhost:9090/rest/entities?query=QueueMappingService[@site=%22sandbox%22]{*}&pageSize=10000
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/qingwen220/incubator-eagle EAGLE-889
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/eagle/pull/805.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #805
----
commit 9622d2cb0669e4305e1332835c21cdf47b7cd0e4
Author: Zhao, Qingwen <[email protected]>
Date: 2017-02-14T03:45:48Z
add an estimated finished time for a running job
commit 803d4b07454de29872546338a37856013815dc48
Author: Zhao, Qingwen <[email protected]>
Date: 2017-02-14T03:50:33Z
update topic name
commit 2444b1b301810123321898173a94371d3903292c
Author: Zhao, Qingwen <[email protected]>
Date: 2017-02-14T09:38:36Z
add QueueMappingService
commit b7537fb00d48e0f217c80de14e655642bd490c8f
Author: Zhao, Qingwen <[email protected]>
Date: 2017-02-15T10:33:16Z
add RunningQueueResource
commit 35cd040d05d442de092cfbcf993a30a8196e85ef
Author: Zhao, Qingwen <[email protected]>
Date: 2017-02-15T11:41:57Z
fix a bug
commit 70141550df0d2035945c9e2b475d6da8fc794886
Author: Zhao, Qingwen <[email protected]>
Date: 2017-02-15T11:52:50Z
fix bugs
commit 03a3000130c24a21293dc70c7958de9fc3dec450
Author: Zhao, Qingwen <[email protected]>
Date: 2017-02-16T01:50:03Z
refine conde
commit f07c392f2c2f63d93ff80c7309051aec5aea3790
Author: Zhao, Qingwen <[email protected]>
Date: 2017-02-16T02:04:40Z
fix a bug
commit cc73d6eed3f87abe0a22907f1811b5635277e672
Author: Zhao, Qingwen <[email protected]>
Date: 2017-02-16T02:19:21Z
add LastUpdateTime in QueueStructureAPIEntity
----
> Add two restful APIs for Hadoop running queue to query top N users or jobs
> ---------------------------------------------------------------------------
>
> Key: EAGLE-889
> URL: https://issues.apache.org/jira/browse/EAGLE-889
> Project: Eagle
> Issue Type: New Feature
> Affects Versions: v0.5.0
> Reporter: Zhao, Qingwen
> Assignee: Zhao, Qingwen
>
> * query top N users under a queue at any time point according to memory usage
> * query top N jobs under a queue at any time point according to memory usage
> Sample query: return the latest top N users and jobs by queryTime under
> sampleQueue
> http://localhost:9090/rest/queue/memory?top=10&queue=sampleQueue¤tTime=1487156721356&site=sandbox
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)