[ https://issues.apache.org/jira/browse/HDFS-12809?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16293601#comment-16293601 ]
Hudson commented on HDFS-12809: ------------------------------- SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #13391 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/13391/]) HDFS-12809. [READ] Fix the randomized selection of locations in (cdouglas: rev 4d59dabb7f6ef1d8565bf2bb2d38aeb91bf7f7cc) * (edit) hadoop-tools/hadoop-fs2img/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestNameNodeProvidedImplementation.java * (edit) hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/ProvidedStorageMap.java > [READ] Fix the randomized selection of locations in {{ProvidedBlocksBuilder}}. > ------------------------------------------------------------------------------ > > Key: HDFS-12809 > URL: https://issues.apache.org/jira/browse/HDFS-12809 > Project: Hadoop HDFS > Issue Type: Sub-task > Reporter: Virajith Jalaparti > Assignee: Virajith Jalaparti > Attachments: HDFS-12809-HDFS-9806.001.patch, > HDFS-12809-HDFS-9806.002.patch > > > Calling {{getBlockLocations}} on files that have a PROVIDED replica, results > in the datanode locations being selected at random. Currently, this > randomization uses the datanode uuids to pick a node at random > ({{ProvidedDescriptor#choose}}, {{ProvidedDescriptor#chooseRandom}}). > Depending on the distribution of the datanode UUIDs, this can lead to large > number of iterations (which may not terminate) before a location is chosen. > This JIRA aims to replace this with a more efficient randomization strategy. -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org