public static void Setup() { Configuration conf = new YarnConfiguration(); TimelineStore store = TestApplicationHistoryManagerOnTimelineStore.CreateStore(MaxApps ); TimelineACLsManager aclsManager = new TimelineACLsManager(conf); dataManager = new TimelineDataManager(store, aclsManager); ApplicationACLsManager appAclsManager = new ApplicationACLsManager(conf); ApplicationHistoryManagerOnTimelineStore historyManager = new ApplicationHistoryManagerOnTimelineStore (dataManager, appAclsManager); historyManager.Init(conf); historyManager.Start(); clientService = new ApplicationHistoryClientService(historyManager); }
public _PrivilegedExceptionAction_422(TestApplicationHistoryManagerOnTimelineStore _enclosing, ApplicationAttemptId appAttemptId) { this._enclosing = _enclosing; this.appAttemptId = appAttemptId; }
public _PrivilegedExceptionAction_302(TestApplicationHistoryManagerOnTimelineStore _enclosing, ContainerId containerId) { this._enclosing = _enclosing; this.containerId = containerId; }