You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-dev@hadoop.apache.org by "Steve Loughran (JIRA)" <ji...@apache.org> on 2013/06/14 15:47:24 UTC

[jira] [Resolved] (MAPREDUCE-3533) have the service interface extend Closeable and use close() as its shutdown operation

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

Steve Loughran resolved MAPREDUCE-3533.
---------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.1.0-beta

Fixed in the YARN-530 patch. {{close()}} forwards to {{stop()}}
                
> have the service interface extend Closeable and use close() as its shutdown operation
> -------------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-3533
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3533
>             Project: Hadoop Map/Reduce
>          Issue Type: Improvement
>          Components: mrv2
>    Affects Versions: 0.23.0, 0.23.1, 0.24.0
>            Reporter: Steve Loughran
>            Priority: Minor
>             Fix For: 2.1.0-beta
>
>
> This is probably going be marked down as a wontfix on the basis that it is (almost) encoded in the interfaces, but it may not be too late.
> If the service interface interface extended Closeable and used close() instead of stop(), it would work automatically in the java7 automatic resource management blocks...

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira