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

Lars Hofhansl commented on HBASE-5897:
--------------------------------------

That's a huge stack dump. What sticks to me are these:
{code}
        at 
org.apache.hadoop.hbase.HBaseTestingUtility.shutdownMiniCluster(HBaseTestingUtility.java:711)
        at 
org.apache.hadoop.hbase.coprocessor.TestRegionServerCoprocessorExceptionWithRemove.teardownAfterClass(TestRegionServerCoprocessorExceptionWithRemove.java:77)
{code}
and 
{code}
        at java.util.concurrent.locks.ReentrantReadWriteLock$WriteLock.lock(Reen
trantReadWriteLock.java:807)
        at org.apache.hadoop.hbase.regionserver.HRegion.doClose(HRegion.java:929
)
        at org.apache.hadoop.hbase.regionserver.HRegion.close(HRegion.java:879)
        - locked <7934dcbd0> (a java.lang.Object)
        at 
org.apache.hadoop.hbase.regionserver.handler.CloseRegionHandler.process(CloseRegionHandler.java:121)
{code}

On the face of it, it does seem unrelated.
                
> 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.92.2, 0.94.0, 0.96.0
>
>         Attachments: 5897-simple.txt, hbase-5897.txt, 
> testRegionServerCoprocessorExceptionWithRemove.stack
>
>
> 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

        

Reply via email to