Class TimelineACLsManager

java.lang.Object
org.apache.hadoop.yarn.server.timeline.security.TimelineACLsManager

@Private public class TimelineACLsManager extends Object
TimelineACLsManager check the entity level timeline data access.
  • Constructor Summary

    Constructors
    Constructor
    Description
    TimelineACLsManager(org.apache.hadoop.conf.Configuration conf)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    checkAccess(org.apache.hadoop.security.UserGroupInformation callerUGI, org.apache.hadoop.yarn.api.records.ApplicationAccessType applicationAccessType, org.apache.hadoop.yarn.api.records.timeline.TimelineEntity entity)
     
    boolean
    checkAccess(org.apache.hadoop.security.UserGroupInformation callerUGI, org.apache.hadoop.yarn.api.records.timeline.TimelineDomain domain)
     
    void
    replaceIfExist(org.apache.hadoop.yarn.api.records.timeline.TimelineDomain domain)
     
    org.apache.hadoop.yarn.security.AdminACLsManager
    setAdminACLsManager(org.apache.hadoop.yarn.security.AdminACLsManager adminAclsManager)
     
    void
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • TimelineACLsManager

      public TimelineACLsManager(org.apache.hadoop.conf.Configuration conf)
  • Method Details

    • setTimelineStore

      public void setTimelineStore(TimelineStore store)
    • replaceIfExist

      public void replaceIfExist(org.apache.hadoop.yarn.api.records.timeline.TimelineDomain domain)
    • checkAccess

      public boolean checkAccess(org.apache.hadoop.security.UserGroupInformation callerUGI, org.apache.hadoop.yarn.api.records.ApplicationAccessType applicationAccessType, org.apache.hadoop.yarn.api.records.timeline.TimelineEntity entity) throws org.apache.hadoop.yarn.exceptions.YarnException, IOException
      Throws:
      org.apache.hadoop.yarn.exceptions.YarnException
      IOException
    • checkAccess

      public boolean checkAccess(org.apache.hadoop.security.UserGroupInformation callerUGI, org.apache.hadoop.yarn.api.records.timeline.TimelineDomain domain) throws org.apache.hadoop.yarn.exceptions.YarnException, IOException
      Throws:
      org.apache.hadoop.yarn.exceptions.YarnException
      IOException
    • setAdminACLsManager

      @Private @VisibleForTesting public org.apache.hadoop.yarn.security.AdminACLsManager setAdminACLsManager(org.apache.hadoop.yarn.security.AdminACLsManager adminAclsManager)