public abstract class QueueACLsManager extends Object
| Constructor and Description |
|---|
QueueACLsManager(org.apache.hadoop.conf.Configuration conf) |
QueueACLsManager(ResourceScheduler scheduler,
org.apache.hadoop.conf.Configuration conf) |
| Modifier and Type | Method and Description |
|---|---|
abstract boolean |
checkAccess(org.apache.hadoop.security.UserGroupInformation callerUGI,
org.apache.hadoop.yarn.api.records.QueueACL acl,
RMApp app,
String remoteAddress,
List<String> forwardedAddresses) |
abstract 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.
|
static QueueACLsManager |
getQueueACLsManager(ResourceScheduler scheduler,
org.apache.hadoop.conf.Configuration conf)
Get queue acl manager corresponding to the scheduler.
|
@VisibleForTesting public QueueACLsManager(org.apache.hadoop.conf.Configuration conf)
public QueueACLsManager(ResourceScheduler scheduler, org.apache.hadoop.conf.Configuration conf)
public static QueueACLsManager getQueueACLsManager(ResourceScheduler scheduler, org.apache.hadoop.conf.Configuration conf)
scheduler - the scheduler for which the queue acl manager is requiredconf - Configuration.QueueACLsManagerpublic abstract boolean checkAccess(org.apache.hadoop.security.UserGroupInformation callerUGI,
org.apache.hadoop.yarn.api.records.QueueACL acl,
RMApp app,
String remoteAddress,
List<String> forwardedAddresses)
public abstract 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)
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.