public class GenericQueueACLsManager extends QueueACLsManager
QueueACLsManager
.Constructor and Description |
---|
GenericQueueACLsManager(ResourceScheduler scheduler,
org.apache.hadoop.conf.Configuration conf) |
Modifier and Type | Method and Description |
---|---|
boolean |
checkAccess(org.apache.hadoop.security.UserGroupInformation callerUGI,
org.apache.hadoop.yarn.api.records.QueueACL acl,
RMApp app,
String remoteAddress,
List<String> forwardedAddresses) |
boolean |
checkAccess(org.apache.hadoop.security.UserGroupInformation callerUGI,
org.apache.hadoop.yarn.api.records.QueueACL acl,
RMApp app,
String remoteAddress,
List<String> forwardedAddresses,
String targetQueue)
Check access to a targetQueue in the case of a move of an application.
|
getQueueACLsManager
public GenericQueueACLsManager(ResourceScheduler scheduler, org.apache.hadoop.conf.Configuration conf)
public boolean checkAccess(org.apache.hadoop.security.UserGroupInformation callerUGI, org.apache.hadoop.yarn.api.records.QueueACL acl, RMApp app, String remoteAddress, List<String> forwardedAddresses)
checkAccess
in class QueueACLsManager
public boolean checkAccess(org.apache.hadoop.security.UserGroupInformation callerUGI, org.apache.hadoop.yarn.api.records.QueueACL acl, RMApp app, String remoteAddress, List<String> forwardedAddresses, String targetQueue)
QueueACLsManager
checkAccess
in class QueueACLsManager
callerUGI
- the caller UGIacl
- the acl for the Queue to checkapp
- the application to moveremoteAddress
- server ip addressforwardedAddresses
- forwarded adressestargetQueue
- the name of the queue to move the application toCopyright © 2008–2024 Apache Software Foundation. All rights reserved.