Java 类org.apache.hadoop.hdfs.server.namenode.NNUpgradeUtil 实例源码

项目:hadoop    文件:BootstrapStandby.java   
private void doUpgrade(NNStorage storage) throws IOException {
  for (Iterator<StorageDirectory> it = storage.dirIterator(false);
       it.hasNext();) {
    StorageDirectory sd = it.next();
    NNUpgradeUtil.doUpgrade(sd, storage);
  }
}
项目:aliyun-oss-hadoop-fs    文件:BootstrapStandby.java   
private void doUpgrade(NNStorage storage) throws IOException {
  for (Iterator<StorageDirectory> it = storage.dirIterator(false);
       it.hasNext();) {
    StorageDirectory sd = it.next();
    NNUpgradeUtil.doUpgrade(sd, storage);
  }
}
项目:big-c    文件:BootstrapStandby.java   
private void doUpgrade(NNStorage storage) throws IOException {
  for (Iterator<StorageDirectory> it = storage.dirIterator(false);
       it.hasNext();) {
    StorageDirectory sd = it.next();
    NNUpgradeUtil.doUpgrade(sd, storage);
  }
}
项目:hadoop-2.6.0-cdh5.4.3    文件:BootstrapStandby.java   
private void doUpgrade(NNStorage storage) throws IOException {
  for (Iterator<StorageDirectory> it = storage.dirIterator(false);
       it.hasNext();) {
    StorageDirectory sd = it.next();
    NNUpgradeUtil.doUpgrade(sd, storage);
  }
}