You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "skrho (JIRA)" <ji...@apache.org> on 2014/11/03 05:43:33 UTC

[jira] [Updated] (HADOOP-11229) JobStoryProducer is not closed upon return from Gridmix#setupDistCacheEmulation()

     [ https://issues.apache.org/jira/browse/HADOOP-11229?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

skrho updated HADOOP-11229:
---------------------------
    Attachment: HADOOP-11229_002.patch

I added try and finally method..

So JobStoryProducer object is always closed..



> JobStoryProducer is not closed upon return from Gridmix#setupDistCacheEmulation()
> ---------------------------------------------------------------------------------
>
>                 Key: HADOOP-11229
>                 URL: https://issues.apache.org/jira/browse/HADOOP-11229
>             Project: Hadoop Common
>          Issue Type: Bug
>            Reporter: Ted Yu
>            Assignee: skrho
>            Priority: Minor
>         Attachments: HADOOP-11229_001.patch, HADOOP-11229_002.patch
>
>
> Here is related code:
> {code}
>       JobStoryProducer jsp = createJobStoryProducer(traceIn, conf);
>       exitCode = distCacheEmulator.setupGenerateDistCacheData(jsp);
> {code}
> jsp should be closed upon return from setupDistCacheEmulation().



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)