[ 
https://issues.apache.org/jira/browse/HDFS-15908?focusedWorklogId=570370&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-570370
 ]

ASF GitHub Bot logged work on HDFS-15908:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 23/Mar/21 11:51
            Start Date: 23/Mar/21 11:51
    Worklog Time Spent: 10m 
      Work Description: ayushtkn commented on pull request #2790:
URL: https://github.com/apache/hadoop/pull/2790#issuecomment-804839355


   Thanx @Nargeshdb for the contribution and @virajjasani for the review!!!


-- 
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:
us...@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 570370)
    Time Spent: 1h 10m  (was: 1h)

> Possible Resource Leak in org.apache.hadoop.hdfs.qjournal.server.Journal
> ------------------------------------------------------------------------
>
>                 Key: HDFS-15908
>                 URL: https://issues.apache.org/jira/browse/HDFS-15908
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Narges Shadab
>            Assignee: Narges Shadab
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> We noticed a possible resource leak 
> [here|https://github.com/apache/hadoop/blob/cd44e917d0b331a2d1e1fa63fdd498eac01ae323/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/qjournal/server/Journal.java#L266].
>  The call to close on {{storage}} at line 267 can throw an exception. If it 
> occurs, then {{committedTxnId}} and {{curSegment}} are never closed.
> 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-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to