[ https://issues.apache.org/jira/browse/YARN-4997?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15454253#comment-15454253 ]
Tao Jie commented on YARN-4997: ------------------------------- I looked more closely at {{synchronized}} in onReload. {{onReload}} here is under the lock of {{AllocationFileLoaderService}}, but initialization of authorizer is under the lock of {{FairScheduler}}. As a result, we'd better to keep all access to authorizer under the same lock of {{FairScheduler}}(Actually, initScheduler and reload won't happen at the same time, but they are called in different threads). > Update fair scheduler to use pluggable auth provider > ---------------------------------------------------- > > Key: YARN-4997 > URL: https://issues.apache.org/jira/browse/YARN-4997 > Project: Hadoop YARN > Issue Type: Improvement > Components: fairscheduler > Affects Versions: 2.8.0 > Reporter: Daniel Templeton > Assignee: Tao Jie > Attachments: YARN-4997-001.patch, YARN-4997-002.patch, > YARN-4997-003.patch, YARN-4997-004.patch, YARN-4997-005.patch, > YARN-4997-006.patch, YARN-4997-007.patch > > > Now that YARN-3100 has made the authorization pluggable, it should be > supported by the fair scheduler. YARN-3100 only updated the capacity > scheduler. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org