You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Junping Du (JIRA)" <ji...@apache.org> on 2014/06/17 00:36:01 UTC
[jira] [Updated] (YARN-2167) LeveldbIterator should get closed in
NMLeveldbStateStoreService#loadLocalizationState() within finally block
[ https://issues.apache.org/jira/browse/YARN-2167?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Junping Du updated YARN-2167:
-----------------------------
Attachment: YARN-2167.patch
Upload a quick patch to fix it.
> 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
> 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)