use of org.apache.hadoop.yarn.server.timeline.security.TimelineACLsManager in project hadoop by apache.
the class ApplicationHistoryServer method createTimelineDataManager.
private TimelineDataManager createTimelineDataManager(Configuration conf) {
TimelineACLsManager aclsMgr = new TimelineACLsManager(conf);
aclsMgr.setTimelineStore(timelineStore);
return new TimelineDataManager(timelineStore, aclsMgr);
}
use of org.apache.hadoop.yarn.server.timeline.security.TimelineACLsManager in project hadoop by apache.
the class TestApplicationHistoryClientService method setup.
@BeforeClass
public static void setup() throws Exception {
Configuration conf = new YarnConfiguration();
TimelineStore store = TestApplicationHistoryManagerOnTimelineStore.createStore(MAX_APPS);
TimelineACLsManager aclsManager = new TimelineACLsManager(conf);
aclsManager.setTimelineStore(store);
dataManager = new TimelineDataManager(store, aclsManager);
dataManager.init(conf);
ApplicationACLsManager appAclsManager = new ApplicationACLsManager(conf);
ApplicationHistoryManagerOnTimelineStore historyManager = new ApplicationHistoryManagerOnTimelineStore(dataManager, appAclsManager);
historyManager.init(conf);
historyManager.start();
clientService = new ApplicationHistoryClientService(historyManager);
}
Aggregations