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

htrace synchronized on getInstance

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.98.0, 0.96.0
    • 0.98.0, 0.96.0
    • regionserver
    • None
    • Reviewed

    Description

      When doing tests on cached data, one of the bottleneck is the getInstance() on HTrace, called in RequestContext#set() --> Trace.isTracing()

      When it's fixed, we see threads blocked in sendResponse and in the metrics (with hadoop 1).

      The difference is not huge (it's in the range 0-5%), but there is no reason to keep this.

      I'm sending a pull request to htrace.

      Attachments

        1. HBASE-9471-0.patch
          0.8 kB
          Elliott Neil Clark

        Activity

          People

            eclark Elliott Neil Clark
            nkeywal Nicolas Liochon
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: