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 "Andrey Elenskiy (Jira)" <ji...@apache.org> on 2020/04/28 23:15:00 UTC
[jira] [Created] (HDFS-15307) Update description of
"dfs.client.socketcache.*" properties to not have mention of short-circuits
Andrey Elenskiy created HDFS-15307:
--------------------------------------
Summary: Update description of "dfs.client.socketcache.*" properties to not have mention of short-circuits
Key: HDFS-15307
URL: https://issues.apache.org/jira/browse/HDFS-15307
Project: Hadoop HDFS
Issue Type: Bug
Components: caching, dfsclient
Affects Versions: 3.1.3
Environment: Hadoop 3.1.3
Reporter: Andrey Elenskiy
Both `dfs.client.socketcache.capacity` and `dfs.client.socketcache.expiryMsec` mention that cache is for short-circuit reads. That appears to be not the case as PeerCache is also used for caching TCP remote connections:
[https://github.com/apache/hadoop/blob/3f223bebfa6b382a762edcc518fcbae310ce22e5/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/client/impl/BlockReaderRemote.java#L312]
https://github.com/apache/hadoop/blob/3f223bebfa6b382a762edcc518fcbae310ce22e5/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/client/impl/BlockReaderFactory.java#L815
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org