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

HTable uses the conf for each "newCaller"

    XMLWordPrintableJSON

Details

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

    Description

      You can construct a RpcRetryingCallerFactory, but actually the conf is read for each caller creation. Reading the conf is obviously expensive, and a profiling session shows it. If we want to sent hundreds of thousands of queries per second, we should not do that.

      RpcRetryingCallerFactory.newCaller is called for each get, for example.

      This is not a regression, we have something similar in 0.94.

      On the 0.96, we see the creation of: java.util.regex.Matcher: 15739712b after a few thousand calls to "get".

      Attachments

        1. 9990.v1.patch
          7 kB
          Nicolas Liochon
        2. 9990.v2.patch
          4 kB
          Nicolas Liochon
        3. 9990.v2.98.patch
          4 kB
          Nicolas Liochon

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: