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

Various fixes in client code

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.96.0
    • 0.98.0, 0.96.1
    • Client
    • None
    • Reviewed

    Description

      This mainly fixes issues when we had "long" errors, for example a multi blocked when trying to obtain a lock that was finally failing after 60s. Previously we were trying only for 5 minutes. We now do all the tries. I've fixed stuff around this area to make it work.

      There is also more logs.

      I've changed the back off array. With the default pause of 100ms, even after 20 tries we still retry every 10s.

      I've also changed the max per RS to something minimal. If the cluster is not in a very good state it's less aggressive. It seems to be a better default.

      I've done two tests:

      • on a small; homogeneous cluster, I had the same performances
      • on a bigger, but heterogeneous cluster it was twice as fast.

      Attachments

        1. 9843-trunk.v2.patch
          29 kB
          Nicolas Liochon
        2. 9843-trunk.v3.patch
          30 kB
          Nicolas Liochon

        Issue Links

          Activity

            People

              nkeywal Nicolas Liochon
              nkeywal Nicolas Liochon
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: