void close() throws IOException {
   nameNode.stop();
 }
 public void stopNameNode(NameNode nn) {
   if (nn != null) {
     nn.stop();
   }
 }
 @AfterClass
 public static void teardownCluster() {
   if (namenode != null) namenode.stop();
 }