hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-2167) LeveldbIterator should get closed in NMLeveldbStateStoreService#loadLocalizationState() within finally block
Date Tue, 17 Jun 2014 15:25:21 GMT

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

Hudson commented on YARN-2167:
------------------------------

FAILURE: Integrated in Hadoop-Mapreduce-trunk #1804 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1804/])
YARN-2167. LeveldbIterator should get closed in NMLeveldbStateStoreService#loadLocalizationState()
within finally block. Contributed by Junping Du (jlowe: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1603039)
* /hadoop/common/trunk/hadoop-yarn-project/CHANGES.txt
* /hadoop/common/trunk/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/recovery/NMLeveldbStateStoreService.java


> LeveldbIterator should get closed in NMLeveldbStateStoreService#loadLocalizationState()
within finally block
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: YARN-2167
>                 URL: https://issues.apache.org/jira/browse/YARN-2167
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: nodemanager
>            Reporter: Junping Du
>            Assignee: Junping Du
>             Fix For: 3.0.0, 2.5.0
>
>         Attachments: YARN-2167.patch
>
>
> In NMLeveldbStateStoreService#loadLocalizationState(), we have LeveldbIterator to read
NM's localization state but it is not get closed in finally block. We should close this connection
to DB as a common practice. 



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message