[ https://issues.apache.org/jira/browse/HBASE-5897?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Todd Lipcon updated HBASE-5897: ------------------------------- Attachment: hbase-5897.txt This patch fixes the CPU usage in my test case. Would be good if someone more familiar with coprocessors can look at this -- I think this is also fixing a behavioral bug with coprocessors. So if this seems like the correct fix we should also add a regression test for the behavior. > 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 > Attachments: 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