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

Sleep too long when finding region location failed

    XMLWordPrintableJSON

    Details

    • Hadoop Flags:
      Reviewed

      Description

      If RegionServerCallable#prepare failed when getRegionLocation, the location in this callable object is null. And before we retry we will sleep. However, when location is null we will sleep at least 10 seconds. And the request will be failed directly if operation timeout is less than 10 seconds. I think it is no need to keep MIN_WAIT_DEAD_SERVER logic. Use backoff sleeping logic is ok for most cases.

        Attachments

        1. HBASE-18390.v01.patch
          2 kB
          Phil Yang
        2. HBASE-18390.v02.patch
          2 kB
          Phil Yang
        3. HBASE-18390.v03.patch
          4 kB
          Phil Yang

          Issue Links

            Activity

              People

              • Assignee:
                yangzhe1991 Phil Yang
                Reporter:
                yangzhe1991 Phil Yang
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: