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

Hudson commented on HDFS-13987:
-------------------------------

SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #15217 (See 
[https://builds.apache.org/job/Hadoop-trunk-Commit/15217/])
HDFS-13987. RBF: Review of RandomResolver Class. Contributed by BELUGA 
(inigoiri: rev ee1c80ea324459852e8c1c73b2545a261cb02b6f)
* (edit) 
hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/java/org/apache/hadoop/hdfs/server/federation/resolver/order/RandomResolver.java


> RBF: Review of RandomResolver Class
> -----------------------------------
>
>                 Key: HDFS-13987
>                 URL: https://issues.apache.org/jira/browse/HDFS-13987
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: federation
>    Affects Versions: 3.2.0
>            Reporter: BELUGA BEHR
>            Assignee: BELUGA BEHR
>            Priority: Minor
>             Fix For: 3.3.0
>
>         Attachments: HDFS-13987.1.patch
>
>
> * Use {{ThreadLocalRandom}}
> * Do not create a list, and copy, to pick a random index
> * An early-return in the method means that the 'ERROR' logging is skipped in 
> some cases



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to