8889909192939495969798
} // The block should be replicated do { num = namesystem.countNodes(block); } while (num.liveReplicas() != REPLICATION_FACTOR); // restart the first datanode cluster.restartDataNode(dnprop); cluster.waitActive();