Java 类org.apache.hadoop.hbase.util.ZKDataMigrator 实例源码

项目:ditb    文件:UpgradeTo96.java   
/**
 * Executes the upgrade process. It involves:
 * <ul>
 * <li> Upgrading Namespace
 * <li> Upgrading Znodes
 * <li> Log splitting
 * </ul>
 * @throws Exception
 */
private int executeUpgrade() throws Exception {
  executeTool("Namespace upgrade", new NamespaceUpgrade(),
    new String[] { "--upgrade" }, 0);
  executeTool("Znode upgrade", new ZKDataMigrator(), null, 0);
  doOfflineLogSplitting();
  return 0;
}
项目:pbase    文件:UpgradeTo96.java   
/**
 * Executes the upgrade process. It involves:
 * <ul>
 * <li> Upgrading Namespace
 * <li> Upgrading Znodes
 * <li> Log splitting
 * </ul>
 * @throws Exception
 */
private int executeUpgrade() throws Exception {
  executeTool("Namespace upgrade", new NamespaceUpgrade(),
    new String[] { "--upgrade" }, 0);
  executeTool("Znode upgrade", new ZKDataMigrator(), null, 0);
  doOfflineLogSplitting();
  return 0;
}
项目:HIndex    文件:UpgradeTo96.java   
/**
 * Executes the upgrade process. It involves:
 * <ul>
 * <li> Upgrading Namespace
 * <li> Upgrading Znodes
 * <li> Log splitting
 * </ul>
 * @throws Exception
 */
private int executeUpgrade() throws Exception {
  executeTool("Namespace upgrade", new NamespaceUpgrade(),
    new String[] { "--upgrade" }, 0);
  executeTool("Znode upgrade", new ZKDataMigrator(), null, 0);
  doOfflineLogSplitting();
  return 0;
}
项目:PyroDB    文件:UpgradeTo96.java   
/**
 * Executes the upgrade process. It involves:
 * <ul>
 * <li> Upgrading Namespace
 * <li> Upgrading Znodes
 * <li> Log splitting
 * </ul>
 * @throws Exception
 */
private int executeUpgrade() throws Exception {
  executeTool("Namespace upgrade", new NamespaceUpgrade(),
    new String[] { "--upgrade" }, 0);
  executeTool("Znode upgrade", new ZKDataMigrator(), null, 0);
  doOfflineLogSplitting();
  return 0;
}
项目:c5    文件:UpgradeTo96.java   
/**
 * Executes the upgrade process. It involves:
 * <ul>
 * <li> Upgrading Namespace
 * <li> Upgrading Znodes
 * <li> Log splitting
 * </ul>
 * @throws Exception
 */
private int executeUpgrade() throws Exception {
  executeTool("Namespace upgrade", new NamespaceUpgrade(),
    new String[] { "--upgrade" }, 0);
  executeTool("Znode upgrade", new ZKDataMigrator(), null, 0);
  doOfflineLogSplitting();
  return 0;
}