예제 #1
0
파일: NameNode.java 프로젝트: imace/hops
 private void startActiveServicesInternal() throws IOException {
   try {
     namesystem.startActiveServices();
     startTrashEmptier(conf);
   } catch (Throwable t) {
     doImmediateShutdown(t);
   }
 }
예제 #2
0
파일: NameNode.java 프로젝트: imace/hops
 private void stopActiveServicesInternal() throws IOException {
   try {
     if (namesystem != null) {
       namesystem.stopActiveServices();
     }
     stopTrashEmptier();
   } catch (Throwable t) {
     doImmediateShutdown(t);
   }
 }