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

Naganarasimha G R commented on YARN-5988:
-----------------------------------------

Thanks for the patch [~ajithshetty], 2nd patch seems to be much better, 
bq. Could you use ResourceManager object instead of MockRM so that real admin 
service will be started.
Is this really required ? as Resource manager is a much heavier class and to 
just test a small part is it required to ensure everything else is configured 
and working fine ?  If its just one additional method at default/protected 
package visibility then i think it should be fine right ?

Apart from this one query in AdminService,  {{refreshServiceAcls(Configuration 
configuration,PolicyProvider policyProvider)}} is synchronized but server 
configuration refreshes for the active services (ClientRMService, 
ApplicationMasterService, ResourceTrackerService) is not synchronized, is it 
required to ensure for multi client refresh ? Or we are doing synchronization 
just to ensure transitionToActive/Passive does not happen at the same time when 
the client is calling refresh ?

> RM unable to start in secure setup
> ----------------------------------
>
>                 Key: YARN-5988
>                 URL: https://issues.apache.org/jira/browse/YARN-5988
>             Project: Hadoop YARN
>          Issue Type: Bug
>    Affects Versions: 2.9.0, 3.0.0-alpha1
>            Reporter: Ajith S
>            Assignee: Ajith S
>            Priority: Blocker
>         Attachments: YARN-5988.01.patch, YARN-5988.02.patch
>
>
> When CommonConfigurationKeysPublic.HADOOP_SECURITY_AUTHORIZATION=true
> RM is unable to start



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

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

Reply via email to