HBase
  1. HBase
  2. HBASE-5897

prePut coprocessor hook causing substantial CPU usage

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 0.92.0
    • Fix Version/s: 0.92.2, 0.94.0, 0.95.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      I was running an insert workload against trunk under oprofile and saw that a significant portion of CPU usage was going to calling the "prePut" coprocessor hook inside doMiniBatchPut, even though I don't have any coprocessors installed. I ran a million-row insert and collected CPU time spent in the RS after commenting out the preput hook, and found CPU usage reduced by 33%.

      1. hbase-5897.txt
        4 kB
        Todd Lipcon
      2. 5897-simple.txt
        0.8 kB
        Lars Hofhansl
      3. testRegionServerCoprocessorExceptionWithRemove.stack
        84 kB
        Ted Yu
      4. 5897-v2.txt
        4 kB
        Ted Yu
      5. 5897-v3.txt
        4 kB
        Lars Hofhansl
      6. 5897-v3-0.94.txt
        4 kB
        Lars Hofhansl
      7. 5897-v3-0.92.txt
        3 kB
        Lars Hofhansl

        Activity

          People

          • Assignee:
            Todd Lipcon
            Reporter:
            Todd Lipcon
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development