/// <exception cref="System.Exception"/> protected override void ServiceStart() { hsManager.Start(); if (storage is Org.Apache.Hadoop.Service.Service) { ((Org.Apache.Hadoop.Service.Service)storage).Start(); } scheduledExecutor = new ScheduledThreadPoolExecutor(2, new ThreadFactoryBuilder() .SetNameFormat("Log Scanner/Cleaner #%d").Build()); scheduledExecutor.ScheduleAtFixedRate(new JobHistory.MoveIntermediateToDoneRunnable (this), moveThreadInterval, moveThreadInterval, TimeUnit.Milliseconds); // Start historyCleaner ScheduleHistoryCleaner(); base.ServiceStart(); }