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 "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2026/04/28 11:02:00 UTC
[jira] [Updated] (HDFS-17914) Prevent DFSInputStream from issuing 0-byte reads
[ https://issues.apache.org/jira/browse/HDFS-17914?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated HDFS-17914:
----------------------------------
Labels: pull-request-available (was: )
> Prevent DFSInputStream from issuing 0-byte reads
> ------------------------------------------------
>
> Key: HDFS-17914
> URL: https://issues.apache.org/jira/browse/HDFS-17914
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: hdfs-client
> Reporter: Rui Li
> Priority: Major
> Labels: pull-request-available
>
> Currently, {{DFSInputStream#actualGetFromOneDataNode}} can issue an extra {{BlockReader#read}} after the buffer is completely filled. This extra read can cause a wasted slow-lane read into the bounce buffer for {{{}BlockReaderLocal{}}}.
> A possible fix is to terminate the loop once the requested slice is filled.
--
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