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 "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/03/02 19:58:00 UTC
[jira] [Work logged] (HDFS-15868) Possible Resource Leak in
EditLogFileOutputStream
[ https://issues.apache.org/jira/browse/HDFS-15868?focusedWorklogId=560111&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-560111 ]
ASF GitHub Bot logged work on HDFS-15868:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 02/Mar/21 19:57
Start Date: 02/Mar/21 19:57
Worklog Time Spent: 10m
Work Description: Nargeshdb opened a new pull request #2736:
URL: https://github.com/apache/hadoop/pull/2736
This PR fixes the issue mentioned [here](https://issues.apache.org/jira/browse/HDFS-15868).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Issue Time Tracking
-------------------
Worklog Id: (was: 560111)
Remaining Estimate: 0h
Time Spent: 10m
> Possible Resource Leak in EditLogFileOutputStream
> -------------------------------------------------
>
> Key: HDFS-15868
> URL: https://issues.apache.org/jira/browse/HDFS-15868
> Project: Hadoop HDFS
> Issue Type: Bug
> Reporter: Narges Shadab
> Priority: Major
> Time Spent: 10m
> Remaining Estimate: 0h
>
> We noticed a possible resource leak [here|https://github.com/apache/hadoop/blob/1f1a1ef52df896a2b66b16f5bbc17aa39b1a1dd7/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/EditLogFileOutputStream.java#L91]. If an I/O error occurs at line 91, rp remains open since the exception isn't caught locally, and there is no way for any caller to close the RandomAccessFile.
> I'll submit a pull request to fix it.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org