You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Shuyan Zhang (Jira)" <ji...@apache.org> on 2023/04/22 16:11:00 UTC

[jira] [Created] (HDFS-16986) EC: Fix locationBudget in getListing()

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: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org