Package org.apache.hadoop.hdfs

Examples of org.apache.hadoop.hdfs.MiniAvatarCluster.shutDown()


      }
      assertEquals(1,
          ns.getNameNode().getDatanodeReport(DatanodeReportType.LIVE).length);
      assertEquals(1, registrations);
    } finally {
      cluster.shutDown();
      MiniAvatarCluster.shutDownZooKeeper();
    }
  }
}
View Full Code Here


      List<AvatarDataNode> datanodes = cluster.getDataNodes();
      Assert.assertEquals(datanodes.size(), 1);
      checkMXBean(datanodes.get(0));
    } finally {
      if (cluster != null) {
        cluster.shutDown();
      }
      MiniAvatarCluster.shutDownZooKeeper();
    }
  }
 
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.