Toggle navigation
Home
boolean to org.apache.hadoop.yarn.security.YarnAuthorizationProvider
No. of Instances - 1
No. of Commits - 1
No. of Projects - {'hadoop'}
Hierarchy/Composition: -
Primitive Info: -
NameSpace: Jdk -> Internal
Mapping:
Add or Remove Method invocation
conf.getBoolean(YarnConfiguration.YARN_ACL_ENABLE,YarnConfiguration.DEFAULT_YARN_ACL_ENABLE)
to
YarnAuthorizationProvider.getInstance(conf)
scheduler.checkAccess(userUgi,QueueACL.ADMINISTER_QUEUE,submissionContext.getQueue())
to
authorizer.checkPermission(new AccessRequest(((CapacityScheduler)scheduler).getQueue(submissionContext.getQueue()).getPrivilegedEntity(),userUgi,SchedulerUtils.toAccessType(QueueACL.ADMINISTER_QUEUE),submissionContext.getApplicationId().toString(),submissionContext.getApplicationName()))
isAclEnabled
to
YarnConfiguration.isAclEnabled(conf)
Rename Variable
isAclEnabled
to
authorizer
isAclEnabled
to
authorizer