Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-287

should Storage.unlockAll() work through the list of storageDirs before bailing out?

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Incomplete
    • None
    • None
    • None
    • None

    Description

      Storage.unlockAll will forward any exception raised while trying to unlock a storage directory. However, it may be more robust to catch the exception and run through the remaining directories before relaying any (non-null) exception. That way a single directory playing up (it may be offline) won't stop the rest of the filesystem being released when a name node shuts down.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: