[
https://issues.apache.org/jira/browse/HDDS-14724?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jayer updated HDDS-14724:
-------------------------
External issue URL: https://github.com/apache/ozone/pull/9833
> 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
> 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: [email protected]
For additional commands, e-mail: [email protected]