You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Haiyang Hu (Jira)" <ji...@apache.org> on 2024/03/13 09:04:00 UTC

[jira] [Updated] (HDFS-17426) Remove Invalid FileSystemECReadStats logic in DFSInputStream

     [ https://issues.apache.org/jira/browse/HDFS-17426?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Haiyang Hu updated HDFS-17426:
------------------------------
    Description: 
When currently reading the replication file, the following logic will be called when readingWithStrategy and actualGetFromOneDataNode logic in DFSInputStream.java 
{code:java}
/ if (readStatistics.getBlockType() == BlockType.STRIPED) {
          dfsClient.updateFileSystemECReadStats(nread);
        }
{code}
This is an invalid call, can remove it.

> Remove Invalid FileSystemECReadStats logic in DFSInputStream
> ------------------------------------------------------------
>
>                 Key: HDFS-17426
>                 URL: https://issues.apache.org/jira/browse/HDFS-17426
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>            Reporter: Haiyang Hu
>            Assignee: Haiyang Hu
>            Priority: Major
>
> When currently reading the replication file, the following logic will be called when readingWithStrategy and actualGetFromOneDataNode logic in DFSInputStream.java 
> {code:java}
> / if (readStatistics.getBlockType() == BlockType.STRIPED) {
>           dfsClient.updateFileSystemECReadStats(nread);
>         }
> {code}
> This is an invalid call, can remove it.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org