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

Lantao Jin commented on YARN-6280:
----------------------------------

Very weird, it's succeed on my side. Will double check it.
< Success! >
 ---------- 
 \     /\  ___  /\
  \   // \/   \/ \\
     ((    O O    ))
      \\ /     \ //
       \/  | |  \/ 
        |  | |  |  
        |  | |  |  
        |   o   |  
        | |   | |  
        |m|   |m| 

| Vote |      Subsystem |  Runtime   | Comment
============================================================================
|   0  |      findbugs  |  0m 00s    | Findbugs executables are not available. 
|  +1  |       @author  |  0m 00s    | The patch does not contain any @author 
|      |                |            | tags.
|  +1  |    test4tests  |  0m 00s    | The patch appears to include 2 new or 
|      |                |            | modified test files.
|  +1  |    mvninstall  |  8m 39s    | trunk passed 
|  +1  |       compile  |  0m 23s    | trunk passed 
|  +1  |    checkstyle  |  0m 17s    | trunk passed 
|  +1  |       mvnsite  |  0m 24s    | trunk passed 
|  +1  |    mvneclipse  |  0m 14s    | trunk passed 
|  +1  |       javadoc  |  0m 15s    | trunk passed 
|  +1  |    mvninstall  |  0m 21s    | the patch passed 
|  +1  |       compile  |  0m 25s    | the patch passed 
|  +1  |         javac  |  0m 25s    | the patch passed 
|  +1  |    checkstyle  |  0m 17s    | the patch passed 
|  +1  |       mvnsite  |  0m 24s    | the patch passed 
|  +1  |    mvneclipse  |  0m 12s    | the patch passed 
|  +1  |    whitespace  |  0m 00s    | The patch has no whitespace issues. 
|  +1  |       javadoc  |  0m 13s    | the patch passed 
|  +1  |    asflicense  |  0m 13s    | The patch does not generate ASF License 
|      |                |            | warnings.
|      |                |  12m 46s   | 


> Add a query parameter in ResourceManager Cluster Applications REST API to 
> control whether or not returns ResourceRequest
> ------------------------------------------------------------------------------------------------------------------------
>
>                 Key: YARN-6280
>                 URL: https://issues.apache.org/jira/browse/YARN-6280
>             Project: Hadoop YARN
>          Issue Type: Improvement
>          Components: resourcemanager, restapi
>    Affects Versions: 2.7.3
>            Reporter: Lantao Jin
>            Assignee: Lantao Jin
>         Attachments: YARN-6280.001.patch, YARN-6280.002.patch, 
> YARN-6280.003.patch, YARN-6280.004.patch, YARN-6280.005.patch, 
> YARN-6280.006.patch
>
>
> Begin from v2.7, the ResourceManager Cluster Applications REST API returns   
> ResourceRequest list. It's a very large construction in AppInfo.
> As a test, we use below URI to query only 2 results:
> http://<rm http 
> address:port>/ws/v1/cluster/apps?states=running,accepted&limit=2
> The results are very different:
> ||Hadoop version|Total Character|Total Word|Total Lines|Size||
> |2.4.1|1192|  42|     42|     1.2 KB|
> |2.7.1|1222179|       48740|  48735|  1.21 MB|
> Most RESTful API requesters don't know about this after upgraded and their 
> old queries may cause ResourceManager more GC consuming and slower. Even if 
> they know this but have no idea to reduce the impact of ResourceManager 
> except slow down their query frequency.
> The patch adding a query parameter "showResourceRequests" to help requesters 
> who don't need this information to reduce the overhead. In consideration of 
> compatibility of interface, the default value is true if they don't set the 
> parameter, so the behaviour is the same as now.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org

Reply via email to