Examples of CreateTableHandler


Examples of org.apache.hadoop.hbase.master.handler.CreateTableHandler

        new HRegionInfo(HTableDescriptor.NAMESPACE_TABLEDESC.getTableName(), null, null)};

    //we need to create the table this way to bypass
    //checkInitialized
    masterServices.getExecutorService()
        .submit(new CreateTableHandler(masterServices,
            masterServices.getMasterFileSystem(),
            HTableDescriptor.NAMESPACE_TABLEDESC,
            masterServices.getConfiguration(),
            newRegions,
            masterServices).prepare());
View Full Code Here

Examples of org.apache.hadoop.hbase.master.handler.CreateTableHandler

    sanityCheckTableDescriptor(hTableDescriptor);
    if (cpHost != null) {
      cpHost.preCreateTable(hTableDescriptor, newRegions);
    }
    LOG.info(getClientIdAuditPrefix() + " create " + hTableDescriptor);
    this.service.submit(new CreateTableHandler(this,
      this.fileSystemManager, hTableDescriptor, conf,
      newRegions, this).prepare());
    if (cpHost != null) {
      cpHost.postCreateTable(hTableDescriptor, newRegions);
    }
View Full Code Here

Examples of org.apache.hadoop.hbase.master.handler.CreateTableHandler

    checkInitialized();
    if (cpHost != null) {
      cpHost.preCreateTable(hTableDescriptor, newRegions);
    }

    this.executorService.submit(new CreateTableHandler(this,
      this.fileSystemManager, this.serverManager, hTableDescriptor, conf,
      newRegions, catalogTracker, assignmentManager));

    if (cpHost != null) {
      cpHost.postCreateTable(hTableDescriptor, newRegions);
View Full Code Here

Examples of org.apache.hadoop.hbase.master.handler.CreateTableHandler

    checkCompression(hTableDescriptor);
    if (cpHost != null) {
      cpHost.preCreateTable(hTableDescriptor, newRegions);
    }
    LOG.info(getClientIdAuditPrefix() + " create " + hTableDescriptor);
    this.executorService.submit(new CreateTableHandler(this,
      this.fileSystemManager, hTableDescriptor, conf,
      newRegions, this).prepare());
    if (cpHost != null) {
      cpHost.postCreateTable(hTableDescriptor, newRegions);
    }
View Full Code Here

Examples of org.apache.hadoop.hbase.master.handler.CreateTableHandler

    checkCompression(hTableDescriptor);
    if (cpHost != null) {
      cpHost.preCreateTable(hTableDescriptor, newRegions);
    }
    LOG.info(getClientIdAuditPrefix() + " create " + hTableDescriptor);
    this.executorService.submit(new CreateTableHandler(this,
      this.fileSystemManager, hTableDescriptor, conf,
      newRegions, this).prepare());
    if (cpHost != null) {
      cpHost.postCreateTable(hTableDescriptor, newRegions);
    }
View Full Code Here

Examples of org.apache.hadoop.hbase.master.handler.CreateTableHandler

    checkInitialized();
    if (cpHost != null) {
      cpHost.preCreateTable(hTableDescriptor, newRegions);
    }

    this.executorService.submit(new CreateTableHandler(this,
      this.fileSystemManager, this.serverManager, hTableDescriptor, conf,
      newRegions, catalogTracker, assignmentManager));

    if (cpHost != null) {
      cpHost.postCreateTable(hTableDescriptor, newRegions);
View Full Code Here

Examples of org.apache.hadoop.hbase.master.handler.CreateTableHandler

      ConstantSizeRegionSplitPolicy.class.getName());
    indexTableDesc.setMaxFileSize(Long.MAX_VALUE);
    LOG.info("Setting the split policy for the Index Table " + indexTableName
        + " as ConstantSizeRegionSplitPolicy with maxFileSize as " + Long.MAX_VALUE + '.');
    HRegionInfo[] newRegions = getHRegionInfos(indexTableDesc, splitKeys);
    new CreateTableHandler(master, master.getMasterFileSystem(), master.getServerManager(),
        indexTableDesc, master.getConfiguration(), newRegions, master.getCatalogTracker(),
        master.getAssignmentManager()).process();
    // Disable the index table so that when we enable the main table both can be enabled
    if (disableTable) {
      new DisableTableHandler(master, Bytes.toBytes(indexTableName), master.getCatalogTracker(),
View Full Code Here

Examples of org.apache.hadoop.hbase.master.handler.CreateTableHandler

    checkCompression(hTableDescriptor);
    if (cpHost != null) {
      cpHost.preCreateTable(hTableDescriptor, newRegions);
    }
    LOG.info(getClientIdAuditPrefix() + " create " + hTableDescriptor);
    this.executorService.submit(new CreateTableHandler(this,
      this.fileSystemManager, hTableDescriptor, conf,
      newRegions, this).prepare());
    if (cpHost != null) {
      cpHost.postCreateTable(hTableDescriptor, newRegions);
    }
View Full Code Here

Examples of org.apache.hadoop.hbase.master.handler.CreateTableHandler

    sanityCheckTableDescriptor(hTableDescriptor);
    if (cpHost != null) {
      cpHost.preCreateTable(hTableDescriptor, newRegions);
    }
    LOG.info(getClientIdAuditPrefix() + " create " + hTableDescriptor);
    this.service.submit(new CreateTableHandler(this,
      this.fileSystemManager, hTableDescriptor, conf,
      newRegions, this).prepare());
    if (cpHost != null) {
      cpHost.postCreateTable(hTableDescriptor, newRegions);
    }
View Full Code Here

Examples of org.apache.hadoop.hbase.master.handler.CreateTableHandler

    HRegionInfo newRegions[] = new HRegionInfo[] {
      new HRegionInfo(QuotaUtil.QUOTA_TABLE_NAME)
    };

    masterServices.getExecutorService()
      .submit(new CreateTableHandler(masterServices,
        masterServices.getMasterFileSystem(),
        QuotaUtil.QUOTA_TABLE_DESC,
        masterServices.getConfiguration(),
        newRegions,
        masterServices)
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.