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 "Yue Wang (Jira)" <ji...@apache.org> on 2026/06/25 08:05:00 UTC
[jira] [Updated] (HDFS-17939) StripedReader.initZeroStrip() should only scan data blocks when initializing zero stripe indices
[ https://issues.apache.org/jira/browse/HDFS-17939?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yue Wang updated HDFS-17939:
----------------------------
Description:
In {{{}StripedReader#initZeroStrip(){}}}, {{zeroStripeIndices}} is initialized by scanning all internal blocks, including parity blocks.
The loop should only scan data block indices, which would make the implementation match the meaning and allocated size of {{{}zeroStripeIndices{}}}, and avoid suggesting that parity block indices may be populated as zero stripe indices.
> StripedReader.initZeroStrip() should only scan data blocks when initializing zero stripe indices
> ------------------------------------------------------------------------------------------------
>
> Key: HDFS-17939
> URL: https://issues.apache.org/jira/browse/HDFS-17939
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: hdfs
> Affects Versions: 3.4.3
> Reporter: Yue Wang
> Assignee: Yue Wang
> Priority: Major
>
> In {{{}StripedReader#initZeroStrip(){}}}, {{zeroStripeIndices}} is initialized by scanning all internal blocks, including parity blocks.
>
> The loop should only scan data block indices, which would make the implementation match the meaning and allocated size of {{{}zeroStripeIndices{}}}, and avoid suggesting that parity block indices may be populated as zero stripe indices.
>
--
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