Package org.apache.hadoop.hbase.regionserver.handler

Examples of org.apache.hadoop.hbase.regionserver.handler.OpenRootHandler


      // Mark the region as OPENING up in zk.  This is how we tell the master control of the
      // region has passed to this regionserver.
      int version = transitionZookeeperOfflineToOpening(region, versionOfOfflineNode);
      // Need to pass the expected version in the constructor.
      if (region.isRootRegion()) {
        this.service.submit(new OpenRootHandler(this, this, region, htd, version));
      } else if (region.isMetaRegion()) {
        this.service.submit(new OpenMetaHandler(this, this, region, htd, version));
      } else {
        this.service.submit(new OpenRegionHandler(this, this, region, htd, version));
      }
View Full Code Here


    }
    this.regionsInTransitionInRS.putIfAbsent(region.getEncodedNameAsBytes(),
        true);
    // Need to pass the expected version in the constructor.
    if (region.isRootRegion()) {
      this.service.submit(new OpenRootHandler(this, this, region, htd,
          versionOfOfflineNode));
    } else if (region.isMetaRegion()) {
      this.service.submit(new OpenMetaHandler(this, this, region, htd,
          versionOfOfflineNode));
    } else {
View Full Code Here

      // Mark the region as OPENING up in zk.  This is how we tell the master control of the
      // region has passed to this regionserver.
      int version = transitionZookeeperOfflineToOpening(region, versionOfOfflineNode);
      // Need to pass the expected version in the constructor.
      if (region.isRootRegion()) {
        this.service.submit(new OpenRootHandler(this, this, region, htd, version));
      } else if (region.isMetaRegion()) {
        this.service.submit(new OpenMetaHandler(this, this, region, htd, version));
      } else {
        this.service.submit(new OpenRegionHandler(this, this, region, htd, version));
      }
View Full Code Here

      // Mark the region as OPENING up in zk.  This is how we tell the master control of the
      // region has passed to this regionserver.
      int version = transitionZookeeperOfflineToOpening(region, versionOfOfflineNode);
      // Need to pass the expected version in the constructor.
      if (region.isRootRegion()) {
        this.service.submit(new OpenRootHandler(this, this, region, htd, version));
      } else if (region.isMetaRegion()) {
        this.service.submit(new OpenMetaHandler(this, this, region, htd, version));
      } else {
        this.service.submit(new OpenRegionHandler(this, this, region, htd, version));
      }
View Full Code Here

      // Mark the region as OPENING up in zk.  This is how we tell the master control of the
      // region has passed to this regionserver.
      int version = transitionZookeeperOfflineToOpening(region, versionOfOfflineNode);
      // Need to pass the expected version in the constructor.
      if (region.isRootRegion()) {
        this.service.submit(new OpenRootHandler(this, this, region, htd, version));
      } else if (region.isMetaRegion()) {
        this.service.submit(new OpenMetaHandler(this, this, region, htd, version));
      } else {
        this.service.submit(new OpenRegionHandler(this, this, region, htd, version));
      }
View Full Code Here

      // Mark the region as OPENING up in zk.  This is how we tell the master control of the
      // region has passed to this regionserver.
      int version = transitionZookeeperOfflineToOpening(region, versionOfOfflineNode);
      // Need to pass the expected version in the constructor.
      if (region.isRootRegion()) {
        this.service.submit(new OpenRootHandler(this, this, region, htd, version));
      } else if (region.isMetaRegion()) {
        this.service.submit(new OpenMetaHandler(this, this, region, htd, version));
      } else {
        this.service.submit(new OpenRegionHandler(this, this, region, htd, version));
      }
View Full Code Here

      // Mark the region as OPENING up in zk.  This is how we tell the master control of the
      // region has passed to this regionserver.
      int version = transitionZookeeperOfflineToOpening(region, versionOfOfflineNode);
      // Need to pass the expected version in the constructor.
      if (region.isRootRegion()) {
        this.service.submit(new OpenRootHandler(this, this, region, htd, version));
      } else if (region.isMetaRegion()) {
        this.service.submit(new OpenMetaHandler(this, this, region, htd, version));
      } else {
        this.service.submit(new OpenRegionHandler(this, this, region, htd, version));
      }
View Full Code Here

    }
    this.regionsInTransitionInRS.putIfAbsent(region.getEncodedNameAsBytes(),
        true);
    // Need to pass the expected version in the constructor.
    if (region.isRootRegion()) {
      this.service.submit(new OpenRootHandler(this, this, region, htd,
          versionOfOfflineNode));
    } else if (region.isMetaRegion()) {
      this.service.submit(new OpenMetaHandler(this, this, region, htd,
          versionOfOfflineNode));
    } else {
View Full Code Here

      // Mark the region as OPENING up in zk.  This is how we tell the master control of the
      // region has passed to this regionserver.
      int version = transitionZookeeperOfflineToOpening(region, versionOfOfflineNode);
      // Need to pass the expected version in the constructor.
      if (region.isRootRegion()) {
        this.service.submit(new OpenRootHandler(this, this, region, htd, version));
      } else if (region.isMetaRegion()) {
        this.service.submit(new OpenMetaHandler(this, this, region, htd, version));
      } else {
        this.service.submit(new OpenRegionHandler(this, this, region, htd, version));
      }
View Full Code Here

    LOG.info("Received request to open region: " +
      region.getRegionNameAsString());
    if (this.stopped) throw new RegionServerStoppedException();
    this.regionsInTransitionInRS.add(region.getEncodedNameAsBytes());
    if (region.isRootRegion()) {
      this.service.submit(new OpenRootHandler(this, this, region));
    } else if(region.isMetaRegion()) {
      this.service.submit(new OpenMetaHandler(this, this, region));
    } else {
      this.service.submit(new OpenRegionHandler(this, this, region));
    }
View Full Code Here

TOP

Related Classes of org.apache.hadoop.hbase.regionserver.handler.OpenRootHandler

Copyright © 2018 www.massapicom. 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.