@Override protected void serviceStart() throws Exception { if (stateStore != null) { stateStore.start(); TimelineServiceState state = stateStore.loadState(); secretManager.recover(state); } secretManager.startThreads(); super.serviceStart(); }
@Override protected void serviceStart() throws Exception { if (stateStore != null) { stateStore.start(); TimelineServiceState state = stateStore.loadState(); secretManager.recover(state); } secretManager.startThreads(); super.serviceStart(); }
@Override protected void serviceStart() throws Exception { if (stateStore != null) { stateStore.start(); TimelineServiceState state = stateStore.loadState(); ((TimelineV1DelegationTokenSecretManager) getTimelineDelegationTokenSecretManager()).recover(state); } super.serviceStart(); }
private LeveldbTimelineStateStore initAndStartTimelineServiceStateStoreService() { store = new LeveldbTimelineStateStore(); store.init(conf); store.start(); return (LeveldbTimelineStateStore) store; }