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

Giovanni Matteo Fumarola commented on YARN-7010:
------------------------------------------------

Thanks [~curino].
1. Done.
2. The 2 methods with the tag in AppInfo are called only from Test classes and 
Mocks for testing.
3. It is the wanted behavior. I want to measure each time I called Yarn RM how 
much time the router spends. 
4. In my local tests this structure is the optimal, the other solutions will 
require additional data structures. I cannot merge on my way since I have to 
scan all the list to figure it out if there is an AM or not. In case we merge 
before we find the AM and the policy is to discard incomplete results we ended 
up doing more iterations than needed.
5. Done.
6. Done.
7. Done.
8. Done.

> Federation: routing REST invocations transparently to multiple RMs (part 2 - 
> getApps)
> -------------------------------------------------------------------------------------
>
>                 Key: YARN-7010
>                 URL: https://issues.apache.org/jira/browse/YARN-7010
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>            Reporter: Giovanni Matteo Fumarola
>            Assignee: Giovanni Matteo Fumarola
>         Attachments: YARN-7010.v0.patch, YARN-7010.v1.patch, 
> YARN-7010.v2.patch, YARN-7010.v3.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to