Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-9993

FileSystem#close JavaDoc should state that the implementation must be idempotent.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • documentation, fs
    • None

    Description

      In discussion during MAPREDUCE-5508, we realized that any FileSystem subclass must implement an idempotent close method, due to potential multi-threaded interactions with the FileSystem#Cache. We should state this in the JavaDoc for FileSystem#close, so that subclass implementers are aware.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              cnauroth Chris Nauroth
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: