Hadoop Common
  1. Hadoop Common
  2. HADOOP-7818

DiskChecker#checkDir should fail if the directory is not executable

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.0-alpha
    • Fix Version/s: 2.0.2-alpha
    • Component/s: util
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      DiskChecker#checkDir fails if a directory can't be created, read, or written but does not fail if the directory exists and is not executable. This causes subsequent code to think the directory is OK but later fail due to an inability to access the directory (eg see MAPREDUCE-2921). I propose checkDir fails if the directory is not executable. Looking at the uses, this should be fine, I think it was ignored because checkDir is often used to create directories and it creates executable directories.

      1. HADOOP-7818-4.patch
        3 kB
        Harsh J
      2. HADOOP-7818-3.patch
        3 kB
        madhukara phatak
      3. HADOOP-7818-2.patch
        3 kB
        madhukara phatak
      4. HADOOP-7818-1.patch
        1 kB
        madhukara phatak
      5. HADOOP-7818.patch
        0.7 kB
        madhukara phatak

        Issue Links

          Activity

          Eli Collins created issue -
          Eli Collins made changes -
          Field Original Value New Value
          Link This issue duplicates MAPREDUCE-2921 [ MAPREDUCE-2921 ]
          madhukara phatak made changes -
          Attachment HADOOP-7818.patch [ 12526718 ]
          madhukara phatak made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          madhukara phatak made changes -
          Attachment HADOOP-7818-1.patch [ 12528017 ]
          Eli Collins made changes -
          Assignee Eli Collins [ eli ] madhukara phatak [ phatak.dev ]
          madhukara phatak made changes -
          Attachment HADOOP-7818-2.patch [ 12528621 ]
          madhukara phatak made changes -
          Attachment HADOOP-7818-3.patch [ 12535047 ]
          madhukara phatak made changes -
          Attachment HADOOP-7818-3.patch [ 12535047 ]
          madhukara phatak made changes -
          Attachment HADOOP-7818-3.patch [ 12535048 ]
          Harsh J made changes -
          Attachment HADOOP-7818-4.patch [ 12536560 ]
          Harsh J made changes -
          Hadoop Flags Reviewed [ 10343 ]
          Affects Version/s 2.0.0-alpha [ 12320352 ]
          Affects Version/s 0.23.0 [ 12315569 ]
          Affects Version/s 0.20.205.0 [ 12316390 ]
          Affects Version/s 0.24.0 [ 12317652 ]
          Target Version/s 2.0.1-alpha [ 12321441 ]
          Harsh J made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Target Version/s 2.0.1-alpha [ 12321441 ]
          Fix Version/s 2.0.1-alpha [ 12321441 ]
          Resolution Fixed [ 1 ]
          Arun C Murthy made changes -
          Fix Version/s 2.0.2-alpha [ 12322473 ]
          Fix Version/s 2.1.0-alpha [ 12321441 ]
          Arun C Murthy made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

            • Assignee:
              madhukara phatak
              Reporter:
              Eli Collins
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development