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

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

[~jianhe], thanks for reviewing the patch.
1. Sure;
2. Sure, I will check it.
3. Because I can customize CustomContainerManagerImpl and AMRMProxyService.
MiniYarnCluster allocates the ports for the RM during the Start phase, and 
there was no way to pass the information to the AMRMProxy. 
For this reason I save the value of the Scheduler address and in the 
Customizazion I inform the AMRMProxy what is the address it will connect to. 
4. The purpose of testE2ETokenSwap is to verified that the AMRMProxy swapped 
the security token and the AM cannot submit the job directly to the RM. 

I will update the patch according to the feedback. 

> End to end unit test with mini YARN cluster for AMRMProxy Service
> -----------------------------------------------------------------
>
>                 Key: YARN-4117
>                 URL: https://issues.apache.org/jira/browse/YARN-4117
>             Project: Hadoop YARN
>          Issue Type: Improvement
>          Components: nodemanager, resourcemanager
>            Reporter: Kishore Chaliparambil
>            Assignee: Giovanni Matteo Fumarola
>         Attachments: YARN-4117.v0.patch
>
>
> YARN-2884 introduces a proxy between AM and RM. This JIRA proposes an end to 
> end unit test using mini YARN cluster to the AMRMProxy service. This test 
> will validate register, allocate and finish application and token renewal.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to