You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2026/03/03 15:11:00 UTC
[jira] [Updated] (HDDS-14724) Fix infinite CPU spin loop in ECBlockInputStream
[ https://issues.apache.org/jira/browse/HDDS-14724?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated HDDS-14724:
----------------------------------
Labels: pull-request-available (was: )
> Fix infinite CPU spin loop in ECBlockInputStream
> ------------------------------------------------
>
> Key: HDDS-14724
> URL: https://issues.apache.org/jira/browse/HDDS-14724
> Project: Apache Ozone
> Issue Type: Bug
> Components: Ozone Client
> Affects Versions: 2.1.0
> Reporter: Jayer
> Assignee: Jayer
> Priority: Major
> Labels: pull-request-available
> Attachments: spark-executor-cpu-spin-jstack.txt
>
>
> Currently, ECBlockInputStream#readFromStream only checks if actualRead == -1 (EOF). If 0 bytes are returned while expectedRead > 0, the stream fails to advance its position but remains in the while loop, causing an infinite CPU spin and thread starvation.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org