Shuyan Zhang created HDFS-16986:
-----------------------------------
Summary: 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
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: [email protected]
For additional commands, e-mail: [email protected]