[
https://issues.apache.org/jira/browse/HDFS-17426?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Haiyang Hu updated HDFS-17426:
------------------------------
Description:
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.
was:
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.
> 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]