Esempio n. 1
0
 private void startActiveServicesInternal() throws IOException {
   try {
     namesystem.startActiveServices();
     startTrashEmptier(conf);
   } catch (Throwable t) {
     doImmediateShutdown(t);
   }
 }
Esempio n. 2
0
 private void stopActiveServicesInternal() throws IOException {
   try {
     if (namesystem != null) {
       namesystem.stopActiveServices();
     }
     stopTrashEmptier();
   } catch (Throwable t) {
     doImmediateShutdown(t);
   }
 }