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 "André Kelpe (JIRA)" <ji...@apache.org> on 2015/07/10 16:33:04 UTC

[jira] [Created] (MAPREDUCE-6431) JobClient should be an AutoClosable

André Kelpe created MAPREDUCE-6431:
--------------------------------------

             Summary: JobClient should be an AutoClosable
                 Key: MAPREDUCE-6431
                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-6431
             Project: Hadoop Map/Reduce
          Issue Type: Bug
    Affects Versions: 2.7.1
            Reporter: André Kelpe


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)