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

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: documentation, fs
    • Labels:
      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

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

                Dates

                • Created:
                  Updated: