Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-6881

All regionservers are marked offline even there is still one up

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.95.0
    • None
    • None
    • Reviewed

    Description

      +        RegionPlan newPlan = plan;
      +        if (!regionAlreadyInTransitionException) {
      +          // Force a new plan and reassign. Will return null if no servers.
      +          newPlan = getRegionPlan(state, plan.getDestination(), true);
      +        }
      +        if (newPlan == null) {
                 this.timeoutMonitor.setAllRegionServersOffline(true);
                 LOG.warn("Unable to find a viable location to assign region " +
                   state.getRegion().getRegionNameAsString());
      

      Here, when newPlan is null, plan.getDestination() could be up actually.

      Attachments

        1. trunk-6881.patch
          7 kB
          Jimmy Xiang
        2. trunk-6881_v3.patch
          8 kB
          Jimmy Xiang

        Issue Links

          Activity

            People

              jxiang Jimmy Xiang
              jxiang Jimmy Xiang
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: