[ 
https://issues.apache.org/jira/browse/HDFS-15914?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18042349#comment-18042349
 ] 

ASF GitHub Bot commented on HDFS-15914:
---------------------------------------

github-actions[bot] commented on PR #2809:
URL: https://github.com/apache/hadoop/pull/2809#issuecomment-3604493964

   We're closing this stale PR because it has been open for 100 days with no 
activity. This isn't a judgement on the merit of the PR in any way. It's just a 
way of keeping the PR queue manageable.
   If you feel like this was a mistake, or you would like to continue working 
on it, please feel free to re-open it and ask for a committer to remove the 
stale tag and review again.
   Thanks all for your contribution.




> Possible Resource Leak in 
> org.apache.hadoop.hdfs.server.common.blockaliasmap.impl.TextFileRegionAliasMap
> --------------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-15914
>                 URL: https://issues.apache.org/jira/browse/HDFS-15914
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Narges Shadab
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> We noticed a possible resource leak 
> [here|https://github.com/apache/hadoop/blob/174f3a96b10a0ab0fd8aed1b0f904ca5f0c3f268/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/common/blockaliasmap/impl/TextFileRegionAliasMap.java#L370].
>  {{createInputStream}} might throw an {{IOException}} and if it occurs, {{i}} 
> remains open since the exception isn't caught locally, and there is no way 
> for any caller to close the FSDataInputStream that is returned by 
> {{fs.open(file)}} at line 371.
> I'll submit a pull request to fix it.
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to