[
https://issues.apache.org/jira/browse/HDFS-17503?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17844895#comment-17844895
]
ASF GitHub Bot commented on HDFS-17503:
---------------------------------------
zhuzilong2013 commented on PR #6782:
URL: https://github.com/apache/hadoop/pull/6782#issuecomment-2102119137
@Hexiaoqiao Hi~ sir. Could you please help me review this PR when you are
free? Thanks.
> Unreleased volume references because of OOM
> -------------------------------------------
>
> Key: HDFS-17503
> URL: https://issues.apache.org/jira/browse/HDFS-17503
> Project: Hadoop HDFS
> Issue Type: Bug
> Reporter: Zilong Zhu
> Assignee: Zilong Zhu
> Priority: Major
> Labels: pull-request-available
>
> When BlockSender throws an error because of OOM,the volume reference obtained
> by the thread is not released,which causes the thread trying to remove the
> volume to wait and fall into an infinite loop.
> I found HDFS-15963 catched exception and release volume reference. But it did
> not handle the case of throwing errors. I think "catch (Throwable t)" should
> be used instead of "catch (IOException ioe)".
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]