Package org.apache.hadoop.hbase.master.AssignmentManager

Examples of org.apache.hadoop.hbase.master.AssignmentManager.RegionsOnDeadServer


      // doing after log splitting.  Could do some states before -- OPENING?
      // OFFLINE? -- and then others after like CLOSING that depend on log
      // splitting.
      Set<HRegionInfo> regionsFromRegionPlansForServer = new HashSet<HRegionInfo>();
      List<RegionState> regionsInTransition = new ArrayList<RegionState>();
      RegionsOnDeadServer regionsOnDeadServer = this.services
          .getAssignmentManager().processServerShutdown(this.hsi);
      regionsFromRegionPlansForServer = regionsOnDeadServer
          .getRegionsFromRegionPlansForServer();
      regionsInTransition = regionsOnDeadServer.getRegionsInTransition();

      // Assign root and meta if we were carrying them.
      if (isCarryingRoot()) { // -ROOT-
        LOG.info("Server " + serverName + " was carrying ROOT. Trying to assign.");
        verifyAndAssignRootWithRetries();
View Full Code Here

TOP

Related Classes of org.apache.hadoop.hbase.master.AssignmentManager.RegionsOnDeadServer

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.