Examples of postModifyTableHandler()


Examples of org.apache.hadoop.hbase.master.MasterCoprocessorHost.postModifyTableHandler()

    // Update descriptor
    HTableDescriptor oldHtd = getTableDescriptor();
    this.masterServices.getTableDescriptors().add(this.htd);
    deleteFamilyFromFS(hris, oldHtd.getFamiliesKeys());
    if (cpHost != null) {
      cpHost.postModifyTableHandler(this.tableName, this.htd);
    }
  }

  /**
   * Removes from hdfs the families that are not longer present in the new table descriptor.
View Full Code Here

Examples of org.apache.hadoop.hbase.master.MasterCoprocessorHost.postModifyTableHandler()

      cpHost.preModifyTableHandler(this.tableName, this.htd);
    }
    // Update descriptor
    this.masterServices.getTableDescriptors().add(this.htd);
    if (cpHost != null) {
      cpHost.postModifyTableHandler(this.tableName, this.htd);
    }
  }

  @Override
  public String toString() {
View Full Code Here

Examples of org.apache.hadoop.hbase.master.MasterCoprocessorHost.postModifyTableHandler()

      cpHost.preModifyTableHandler(this.tableName, this.htd);
    }
    // Update descriptor
    this.masterServices.getTableDescriptors().add(this.htd);
    if (cpHost != null) {
      cpHost.postModifyTableHandler(this.tableName, this.htd);
    }
  }

  @Override
  public String toString() {
View Full Code Here

Examples of org.apache.hadoop.hbase.master.MasterCoprocessorHost.postModifyTableHandler()

    this.masterServices.getTableDescriptors().add(this.htd);
    deleteFamilyFromFS(hris, oldHtd.getFamiliesKeys());
    removeReplicaColumnsIfNeeded(this.htd.getRegionReplication(), oldHtd.getRegionReplication(),
        htd.getTableName());
    if (cpHost != null) {
      cpHost.postModifyTableHandler(this.tableName, this.htd);
    }
  }

  private void removeReplicaColumnsIfNeeded(int newReplicaCount, int oldReplicaCount,
      TableName table) throws IOException {
View Full Code Here

Examples of org.apache.hadoop.hbase.master.MasterCoprocessorHost.postModifyTableHandler()

    // Update descriptor
    HTableDescriptor oldHtd = getTableDescriptor();
    this.masterServices.getTableDescriptors().add(this.htd);
    deleteFamilyFromFS(hris, oldHtd.getFamiliesKeys());
    if (cpHost != null) {
      cpHost.postModifyTableHandler(this.tableName, this.htd);
    }
  }

  /**
   * Removes from hdfs the families that are not longer present in the new table descriptor.
View Full Code Here

Examples of org.apache.hadoop.hbase.master.MasterCoprocessorHost.postModifyTableHandler()

    removeReplicaColumnsIfNeeded(
        this.htd.getRegionReplication(),
        oldDescriptor.getRegionReplication(),
        this.htd.getTableName());
    if (cpHost != null) {
      cpHost.postModifyTableHandler(this.tableName, this.htd);
    }
  }

  private void removeReplicaColumnsIfNeeded(int newReplicaCount, int oldReplicaCount,
      TableName table) throws IOException {
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.