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


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: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to