You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2015/02/11 21:11:12 UTC

[jira] [Updated] (MAPREDUCE-6221) Stringifier is left unclosed in Chain#getChainElementConf()

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

Ted Yu updated MAPREDUCE-6221:
------------------------------
    Status: Patch Available  (was: Open)

> Stringifier is left unclosed in Chain#getChainElementConf()
> -----------------------------------------------------------
>
>                 Key: MAPREDUCE-6221
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-6221
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>            Reporter: Ted Yu
>            Assignee: Ted Yu
>            Priority: Minor
>         Attachments: mapreduce-6221-001.patch
>
>
> {code}
>       Stringifier<Configuration> stringifier = 
>         new DefaultStringifier<Configuration>(jobConf, Configuration.class);
>       String confString = jobConf.get(confKey, null);
>       if (confString != null) {
>         conf = stringifier.fromString(jobConf.get(confKey, null));
> {code}
> stringifier is not closed upon return from the method.



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