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

HRegionThriftServer' might have to indefinitely do redirtects

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.94.0
    • 0.94.0
    • None
    • None
    • Reviewed
    • RS embedded thrift server can have redirecting turned on/off with "hbase.regionserver.thrift.redirect" (default: false)

    Description

      HRegionThriftServer.getRowWithColumnsTs() redirects the request to the correct region server if it has landed on the wrong region-server. With this approach the smart-client will never get a NotServingRegionException and it will never be able to invalidate its cache. It will indefinitely send the request to the wrong region server and the wrong region server will always be redirecting it.

      Either redirects should be turned off and the client should react to NotServingRegionExceptions.

      Or somehow a flag should be set in the response telling the client to refresh its cache.

      Attachments

        1. HBASE-4696-v1.patch
          2 kB
          Jonathan Gray

        Activity

          People

            streamy Jonathan Gray
            khemani Prakash Khemani
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: