Пример #1
0
 private void startActiveServicesInternal() throws IOException {
   try {
     namesystem.startActiveServices();
     startTrashEmptier(conf);
   } catch (Throwable t) {
     doImmediateShutdown(t);
   }
 }
Пример #2
0
 private void stopActiveServicesInternal() throws IOException {
   try {
     if (namesystem != null) {
       namesystem.stopActiveServices();
     }
     stopTrashEmptier();
   } catch (Throwable t) {
     doImmediateShutdown(t);
   }
 }