@InterfaceStability.Unstable
@InterfaceAudience.Private
public interface HistoryACLPolicyManager
extends org.apache.hadoop.conf.Configurable
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
setupNonSessionACLs(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.yarn.api.records.ApplicationId applicationId,
DAGAccessControls dagAccessControls)
Take any necessary steps for setting up ACLs for an AM which is running in non-session mode
|
Map<String,String> |
setupSessionACLs(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.yarn.api.records.ApplicationId applicationId)
Take any necessary steps for setting up Session ACLs
|
Map<String,String> |
setupSessionDAGACLs(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.yarn.api.records.ApplicationId applicationId,
String dagName,
DAGAccessControls dagAccessControls)
Take any necessary steps for setting up ACLs for a DAG that is submitted to a Session
|
void |
updateTimelineEntityDomain(Object timelineEntity,
String domainId) |
Map<String,String> setupSessionACLs(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.yarn.api.records.ApplicationId applicationId) throws IOException
conf - ConfigurationapplicationId - Application ID for the sessionExceptionIOExceptionMap<String,String> setupNonSessionACLs(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.yarn.api.records.ApplicationId applicationId, DAGAccessControls dagAccessControls) throws IOException
conf - ConfigurationapplicationId - Application ID for the AMdagAccessControls - ACLs defined for the DAG being submittedExceptionIOExceptionMap<String,String> setupSessionDAGACLs(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.yarn.api.records.ApplicationId applicationId, String dagName, DAGAccessControls dagAccessControls) throws IOException
conf - ConfigurationapplicationId - Application ID for the AMdagAccessControls - ACLs defined for the DAG being submittedExceptionIOExceptionCopyright © 2015 Apache Software Foundation. All rights reserved.