@InterfaceStability.Unstable
@InterfaceAudience.Private
public interface HistoryACLPolicyManager
extends org.apache.hadoop.conf.Configurable
| Modifier and Type | Method and Description | 
|---|---|
void | 
close()
Call this to stop and clean up 
 | 
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, HistoryACLPolicyException
conf - ConfigurationapplicationId - Application ID for the sessionExceptionIOExceptionHistoryACLPolicyExceptionMap<String,String> setupNonSessionACLs(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.yarn.api.records.ApplicationId applicationId, DAGAccessControls dagAccessControls) throws IOException, HistoryACLPolicyException
conf - ConfigurationapplicationId - Application ID for the AMdagAccessControls - ACLs defined for the DAG being submittedExceptionIOExceptionHistoryACLPolicyExceptionMap<String,String> setupSessionDAGACLs(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.yarn.api.records.ApplicationId applicationId, String dagName, DAGAccessControls dagAccessControls) throws IOException, HistoryACLPolicyException
conf - ConfigurationapplicationId - Application ID for the AMdagAccessControls - ACLs defined for the DAG being submittedExceptionIOExceptionHistoryACLPolicyExceptionvoid close()
Copyright © 2016 Apache Software Foundation. All rights reserved.