hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MAPREDUCE-6221) Stringifier is left unclosed in Chain#getChainElementConf()
Date Fri, 13 Feb 2015 10:42:24 GMT

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

Hudson commented on MAPREDUCE-6221:
-----------------------------------

FAILURE: Integrated in Hadoop-Yarn-trunk-Java8 #103 (See [https://builds.apache.org/job/Hadoop-Yarn-trunk-Java8/103/])
MAPREDUCE-6221. Stringifier is left unclosed in Chain#getChainElementConf(). Contributed by
Ted Yu. (ozawa: rev 9b0ba59b8284fae132535fbca5ce372d7a6c38c0)
* hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/lib/chain/Chain.java
* hadoop-mapreduce-project/CHANGES.txt


> 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
>    Affects Versions: 2.6.0
>            Reporter: Ted Yu
>            Assignee: Ted Yu
>            Priority: Minor
>             Fix For: 2.7.0
>
>         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)

Mime
View raw message