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-6431) JobClient should be an AutoClosable
Date Thu, 28 Jan 2016 01:24:40 GMT

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

Hudson commented on MAPREDUCE-6431:
-----------------------------------

FAILURE: Integrated in Hadoop-trunk-Commit #9197 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/9197/])
MAPREDUCE-6431. JobClient should be an AutoClosable (haibochen via (rkanter: rev dca0dc8ac28e843acd8b79c9560245638a539fde)
* hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-common/src/test/java/org/apache/hadoop/mapred/TestJobClient.java
* hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapred/JobClient.java
* hadoop-mapreduce-project/CHANGES.txt


> JobClient should be an AutoClosable
> -----------------------------------
>
>                 Key: MAPREDUCE-6431
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-6431
>             Project: Hadoop Map/Reduce
>          Issue Type: Improvement
>    Affects Versions: 2.7.1
>            Reporter: André Kelpe
>            Assignee: Haibo Chen
>             Fix For: 2.9.0
>
>         Attachments: mapreduce6431.001.patch, mapreduce6431.002.patch
>
>
> Since the new target version if Java is 7, it would be great if JobClient could implement
the java.lang.AutoClosable interface, so that it can be used in try-with-ressource statements.
See here: https://docs.oracle.com/javase/tutorial/essential/exceptions/tryResourceClose.html



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

Mime
View raw message