[ https://issues.apache.org/jira/browse/HDFS-16986?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Xiaoqiao He resolved HDFS-16986. -------------------------------- Fix Version/s: 3.4.0 Hadoop Flags: Reviewed Resolution: Fixed > EC: Fix locationBudget in getListing() > -------------------------------------- > > Key: HDFS-16986 > URL: https://issues.apache.org/jira/browse/HDFS-16986 > Project: Hadoop HDFS > Issue Type: Bug > Reporter: Shuyan Zhang > Assignee: Shuyan Zhang > Priority: Major > Labels: pull-request-available > Fix For: 3.4.0 > > > The current `locationBudget` is estimated using the `block_replication` in > `FileStatus`, which is unreasonable on EC files, because it will count the > number of locations of a EC block as 1. We should consider > ErasureCodingPolicy of the files to keep the meaning of `locationBudget` > consistent. -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-dev-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org