HBase
  1. HBase
  2. HBASE-3975

NoServerForRegionException stalls write pipeline

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 0.89.20100924, 0.90.3, 0.92.0
    • Fix Version/s: None
    • Component/s: Client
    • Labels:
      None

      Description

      When we process a batch of puts, the current algorithm basically goes like this:

      1. Find all servers for the Put requests
      2. Partition Puts by servers
      3. Make requests
      4. Collect success/error results

      If we throw an IOE in step 1 or 2, we will abort the whole batch operation. In our case, this was an NoServerForRegionException due to region rebalancing. However, the asynchronous put case normally has requests going to a wide variety of servers. We should fail all the put requests that throw an IOE in Step 1 but continue to try all the put requests that succeed at this stage.

        Activity

        Nicolas Spiegelberg created issue -
        Hide
        Lars Hofhansl added a comment -

        @Nicolas: How do you envision the API here? Will the client get a list of successful Puts and then has to disentangle those from the successful and retry?

        Show
        Lars Hofhansl added a comment - @Nicolas: How do you envision the API here? Will the client get a list of successful Puts and then has to disentangle those from the successful and retry?

          People

          • Assignee:
            Nicolas Spiegelberg
            Reporter:
            Nicolas Spiegelberg
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:

              Development