You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Andrew Purtell (JIRA)" <ji...@apache.org> on 2012/04/29 19:51:50 UTC

[jira] [Issue Comment Edited] (HBASE-5897) prePut coprocessor hook causing substantial CPU usage

    [ https://issues.apache.org/jira/browse/HBASE-5897?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13264586#comment-13264586 ] 

Andrew Purtell edited comment on HBASE-5897 at 4/29/12 5:50 PM:
----------------------------------------------------------------

+1 on the -simple patch (at least). This looks like a bug that wasn't caught because we didn't have multiput test coverage.

Edit: But we do now, with LoadTestTool.
                
      was (Author: apurtell):
    +1 on the -simple patch (at least). This looks like a bug that wasn't caught because we didn't have multiput test coverage.
                  
> prePut coprocessor hook causing substantial CPU usage
> -----------------------------------------------------
>
>                 Key: HBASE-5897
>                 URL: https://issues.apache.org/jira/browse/HBASE-5897
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.92.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>            Priority: Critical
>             Fix For: 0.94.0, 0.96.0
>
>         Attachments: 5897-simple.txt, hbase-5897.txt
>
>
> 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%.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira