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

DiskChecker cannot reliably detect an inaccessible disk on Windows with NTFS ACLs

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1-win, 3.0.0-alpha1
    • 1-win, 2.1.0-beta
    • util
    • None
    • Reviewed

    Description

      DiskChecker.checkDir uses File.canRead, File.canWrite, and File.canExecute to check if a directory is inaccessible. These APIs are not reliable on Windows with NTFS ACLs due to a known JVM bug.

      Attachments

        1. HADOOP-8973-branch-trunk-win.patch
          4 kB
          Chris Nauroth
        2. HADOOP-8973-branch-trunk-win.2.patch
          5 kB
          Chris Nauroth
        3. HADOOP-8973-branch-1-win.3.patch
          19 kB
          Chris Nauroth
        4. HADOOP-8973.3.patch
          10 kB
          Chris Nauroth
        5. DiskChecker.proto.patch
          11 kB
          Ivan Mitic

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment