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

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.23.0, 0.23.1, 2.0.0-alpha
    • Fix Version/s: 2.1.0-beta
    • Component/s: mrv2
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: