[ https://issues.apache.org/jira/browse/MAPREDUCE-5514?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13775566#comment-13775566 ]
Zhijie Shen commented on MAPREDUCE-5514: ---------------------------------------- bq. May be the following will work: I've done some more investigation and found: 1. We'd like to set the user name with the submitter's user name, which is consistent with what the production code does. 2. We'd like to add the AMRMToken for the ugi, and set it as the login user, because in addition to the register operation, the following operations may require the ugi and its AMRMToken as well, such as makeRequest. Therefore, IMHO, the current patch is doing the correct thing. > TestRMContainerAllocator fails on trunk > --------------------------------------- > > Key: MAPREDUCE-5514 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-5514 > Project: Hadoop Map/Reduce > Issue Type: Bug > Reporter: Zhijie Shen > Assignee: Zhijie Shen > Priority: Blocker > Attachments: MAPREDUCE-5514.1.patch, > org.apache.hadoop.mapreduce.v2.app.TestRMContainerAllocator-output.txt > > -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira