[
https://issues.apache.org/jira/browse/HDFS-17503?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17841650#comment-17841650
]
Jian Zhang commented on HDFS-17503:
-----------------------------------
Can you describe in detail how oom came about?
> 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
>
> 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]