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

Hudson commented on HBASE-13917:
--------------------------------

FAILURE: Integrated in HBase-1.3 #7 (See 
[https://builds.apache.org/job/HBase-1.3/7/])
HBASE-13917 Remove string comparison to identify request priority 
(matteo.bertozzi: rev d628f95307a97ac82264e72a9dae2f3d4013da52)
* 
hbase-server/src/test/java/org/apache/hadoop/hbase/ipc/TestSimpleRpcScheduler.java
* hbase-server/src/main/java/org/apache/hadoop/hbase/ipc/RWQueueRpcExecutor.java
* 
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/AnnotationReadingPriorityFunction.java


> Remove string comparison to identify request priority
> -----------------------------------------------------
>
>                 Key: HBASE-13917
>                 URL: https://issues.apache.org/jira/browse/HBASE-13917
>             Project: HBase
>          Issue Type: Improvement
>          Components: regionserver
>            Reporter: Matteo Bertozzi
>            Assignee: Matteo Bertozzi
>            Priority: Minor
>             Fix For: 2.0.0, 1.2.0
>
>         Attachments: HBASE-13917-v0.patch
>
>
> We have a couple of if (methodName.equalsIgnoreCase("scan")) { ScanRequest 
> req = (ScanRequest)parm; } we can replace that string comparison with an 
> instanceof



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

Reply via email to