[ https://issues.apache.org/jira/browse/HDFS-12725?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16221224#comment-16221224 ]
Xiao Chen edited comment on HDFS-12725 at 10/26/17 8:54 PM: ------------------------------------------------------------ Patch 1 to reproduce the error and fix. This keeps the {{getMaxNodesPerRack}} calculation so normal placements can still be as even as possible. Modified unit test fail-before-pass-after. In real clusters this come in the form of message {{Cannot allocate parity block}} in the client and {{org.apache.hadoop.hdfs.server.blockmanagement.BlockPlacementPolicy: Failed to place enough replicas, still in need of 3 to reach 14}} in the NN. [~andrew.wang] and [~eddyxu], could you take a look? was (Author: xiaochen): Patch 1 to reproduce the error and fix. [~andrew.wang] and [~eddyxu], could you take a look? > BlockPlacementPolicyRackFaultTolerant still fails with racks with very few > nodes > -------------------------------------------------------------------------------- > > Key: HDFS-12725 > URL: https://issues.apache.org/jira/browse/HDFS-12725 > Project: Hadoop HDFS > Issue Type: Bug > Components: erasure-coding > Affects Versions: 3.0.0 > Reporter: Xiao Chen > Assignee: Xiao Chen > Attachments: HDFS-12725.01.patch, HDFS-12725.01.patch > > > HDFS-12567 tries to fix the scenario where EC blocks may not be allocated in > extremely rack-imbalanced cluster. > The added fall-back step of the fix could be improved to do a best-effort > placement. This is more likely to happen in testing than in real clusters. -- 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