Uploaded image for project: 'Hadoop Map/Reduce'
  1. Hadoop Map/Reduce
  2. MAPREDUCE-3533

have the service interface extend Closeable and use close() as its shutdown operation

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.23.0, 0.23.1, 2.0.0-alpha
    • 2.1.0-beta
    • mrv2
    • None

    Description

      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...

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              stevel@apache.org Steve Loughran
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: