Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-8162

Remove Method DirectoryCollection#verifyDirUsingMkdir

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.0
    • Fix Version/s: 3.2.0
    • Component/s: nodemanager
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      First of all, DirectoryCollection#verifyDirUsingMkdir doesn't do what it claims to do, it creates a file but its Java doc says it create a dir. Because of that, it doesn't compatible with ReadWriteDiskValidator because the validator will throw an exception if it isn't dir. What's more, it is no longer needed after HADOOP-13738 (DiskChecker should perform some disk IO). It duplicates what HADOOP-13738 does. We should remove it.

        Attachments

        1. YARN-8162.001.patch
          2 kB
          Yufei Gu
        2. YARN-8162.002.patch
          2 kB
          Yufei Gu

          Activity

            People

            • Assignee:
              yufeigu Yufei Gu
              Reporter:
              yufeigu Yufei Gu
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: