[
https://issues.apache.org/jira/browse/HDFS-9596?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16771435#comment-16771435
]
Hudson commented on HDFS-9596:
------------------------------
SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #15990 (See
[https://builds.apache.org/job/Hadoop-trunk-Commit/15990/])
HDFS-9596. Remove Shuffle Method From DFSUtil. Contributed by BELUGA (inigoiri:
rev 1de25d134f64d815f9b43606fa426ece5ddbc430)
* (edit)
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestBlockPlacementPolicyRackFaultTolerant.java
* (edit)
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/balancer/Dispatcher.java
* (edit)
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/DFSUtil.java
> Remove Shuffle Method From DFSUtil
> ----------------------------------
>
> Key: HDFS-9596
> URL: https://issues.apache.org/jira/browse/HDFS-9596
> Project: Hadoop HDFS
> Issue Type: Improvement
> Reporter: BELUGA BEHR
> Assignee: BELUGA BEHR
> Priority: Trivial
> Fix For: 3.3.0
>
> Attachments: HDFS-9596.2.patch, HDFS-9596.3.patch, HDFS-9596.4.patch,
> HDFS-9596.5.patch, HDFS-9596.6.patch, HDFS-9596.7.patch,
> Shuffle.HDFS-9596.patch
>
>
> DFSUtil contains a "shuffle" routine that shuffles arrays. With a little
> wrapping, Java Collections class can shuffle. This code is superfluous and
> undocumented. The method returns an array, though it does not specify if it
> returns the same array or a new, copy, array of shuffled items.
> It is only used in one place, so it is better to simply remove and substitute
> this implementation with the java Collections implementation.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]