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

TestLocalDirsHandlerService should delete the created test directory logDir2

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.7.0
    • 2.8.0, 3.0.0-alpha1
    • test
    • None
    • Reviewed

    Description

      During a code review of hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/java/org/apache/hadoop/yarn/server/nodemanager/TestLocalDirsHandlerService.java I noted that logDir2 is never deleted while logDir1 is deleted twice. This is not in keeping with the rest of the function and appears to be a bug.

      I will be submitting a patch shortly.

      Attachments

        1. YARN-3747.patch
          1 kB
          David Moore

        Activity

          People

            grajagandev David Moore
            grajagandev David Moore
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: