hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-12529) Use ThreadLocalRandom for RandomQueueBalancer
Date Wed, 19 Nov 2014 20:45:34 GMT

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

Hudson commented on HBASE-12529:
--------------------------------

SUCCESS: Integrated in HBase-0.98-on-Hadoop-1.1 #651 (See [https://builds.apache.org/job/HBase-0.98-on-Hadoop-1.1/651/])
HBASE-12529 Use ThreadLocalRandom for RandomQueueBalancer (matteo.bertozzi: rev 1591fa9f14713f54f9912ba171d7bb30e5c7aabe)
* hbase-server/src/main/java/org/apache/hadoop/hbase/ipc/BalancedQueueRpcExecutor.java
* hbase-server/src/main/java/org/apache/hadoop/hbase/ipc/RWQueueRpcExecutor.java
* hbase-server/src/main/java/org/apache/hadoop/hbase/ipc/RpcExecutor.java


> Use ThreadLocalRandom for RandomQueueBalancer
> ---------------------------------------------
>
>                 Key: HBASE-12529
>                 URL: https://issues.apache.org/jira/browse/HBASE-12529
>             Project: HBase
>          Issue Type: Improvement
>          Components: IPC/RPC
>    Affects Versions: 2.0.0, 0.99.1, 0.98.6.1
>            Reporter: Matteo Bertozzi
>            Assignee: Matteo Bertozzi
>            Priority: Minor
>             Fix For: 2.0.0, 0.98.9, 0.99.2
>
>         Attachments: HBASE-12529-0.98-v1.patch, HBASE-12529-v0.patch, HBASE-12529-v1.patch,
HBASE-12529-v2.patch, RandTest.java
>
>
> looks like the Random in RandomQueueBalancer is now the main cause of contention in the
rpc queue insertion. we should replace that Random with  a ThreadLocalRandom.



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

Mime
View raw message