You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "zhixingheyi-tian (Jira)" <ji...@apache.org> on 2025/12/07 14:09:00 UTC
[jira] [Created] (HADOOP-19749) For shortcircuit reading, dfs.client.read.shortcircuit.skip.checksum does not take effect
zhixingheyi-tian created HADOOP-19749:
-----------------------------------------
Summary: For shortcircuit reading, dfs.client.read.shortcircuit.skip.checksum does not take effect
Key: HADOOP-19749
URL: https://issues.apache.org/jira/browse/HADOOP-19749
Project: Hadoop Common
Issue Type: Bug
Components: hdfs
Affects Versions: 3.3.3
Reporter: zhixingheyi-tian
For shortcircuit reading, dfs.client.read.shortcircuit.skip.checksum does not take effect.
Because, refer tp below code block ;
"setVerifyChecksum(verifyChecksum)" will override "Builder(conf.getShortCircuitConf())".
src/main/java/org/apache/hadoop/hdfs/client/impl/BlockReaderFactory.java
{code:java}
return new BlockReaderLocal.Builder(conf.getShortCircuitConf()).
setFilename(fileName).
setBlock(block).
setStartOffset(startOffset).
setShortCircuitReplica(info.getReplica()).
setVerifyChecksum(verifyChecksum).
setCachingStrategy(cachingStrategy).
setStorageType(storageType).
build();
}
{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: common-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-dev-help@hadoop.apache.org