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

Andrew Purtell commented on HBASE-14489:
----------------------------------------

Yes that equality test is safe because the coprocessor classloader delegates to 
the parent for org.apache.hbase.* and select others, which will be the same one 
used to load the regionserver's classes. 

> postScannerFilterRow consumes a lot of CPU
> ------------------------------------------
>
>                 Key: HBASE-14489
>                 URL: https://issues.apache.org/jira/browse/HBASE-14489
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Lars Hofhansl
>            Assignee: Lars Hofhansl
>              Labels: performance
>             Fix For: 2.0.0, 1.2.0, 1.3.0, 0.98.15, 1.0.3, 1.1.3
>
>         Attachments: 14489-0.98.txt
>
>
> During an unrelated test I found that when scanning a tall table with CQ only 
> and filtering most results at the server, 50%(!) of time is spend in 
> postScannerFilterRow, even though the coprocessor does nothing in that hook.
> We need to find a way not to call this hook when not needed, or to question 
> why we have this hook at all.
> I think [~ram_krish] added the hook (or maybe [~anoop.hbase]). I am also not 
> sure whether Phoenix uses this hook ([~giacomotaylor]?)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to