public class QueueACLsManager extends Object
Constructor and Description |
---|
QueueACLsManager() |
QueueACLsManager(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.
|
public QueueACLsManager()
public QueueACLsManager(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)
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)
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–2022 Apache Software Foundation. All rights reserved.