[
https://issues.apache.org/jira/browse/HDFS-17426?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17827345#comment-17827345
]
ASF GitHub Bot commented on HDFS-17426:
---------------------------------------
haiyang1987 opened a new pull request, #6628:
URL: https://github.com/apache/hadoop/pull/6628
### Description of PR
https://issues.apache.org/jira/browse/HDFS-17426
When read the replication file, the following logic will be called when
`readingWithStrategy` and `actualGetFromOneDataNode` logic in
`DFSInputStream.java`
```
if (readStatistics.getBlockType() == BlockType.STRIPED) {
dfsClient.updateFileSystemECReadStats(nread);
}
```
This is 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 read 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 invalid call, can remove it.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]