@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)
Not used currently.
|
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 both Session ACLs and non 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)
Called with a timeline entity which has to be updated with a domain id.
|
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 updateTimelineEntityDomain(Object timelineEntity, String domainId)
timelineEntity - The timeline entity which will be published.domainId - The domainId returned by one of the setup*ACL calls.void close()
Copyright © 2022 Apache Software Foundation. All rights reserved.