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

Optimize HConnectionManager#getCachedLocation

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.98.0, 0.96.0
    • Fix Version/s: 0.98.0, 0.96.1
    • Component/s: Client
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      It javadoc says: "TODO: This method during writing consumes 15% of CPU doing lookup". This is still true, says Yourkit. With 0.96, we also spend more time in these methods. We retry more, and the AsyncProcess calls it in parallel.

      I don't have the patch for this yet, but I will spend some time on it.

        Attachments

        1. 9869.v1.patch
          3 kB
          Nicolas Liochon
        2. 9869.v1.patch
          3 kB
          Nicolas Liochon
        3. 9869.v2.patch
          4 kB
          Nicolas Liochon
        4. 6869.v4.patch
          15 kB
          Nicolas Liochon

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: