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

test-container-executor test_is_empty() is broken

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.2.0, 3.1.1, 2.9.2, 3.0.3
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      A new test was recently added to test-container-executor.c that has some problems.

      It is attempting to mkdir() a hard-coded path: /tmp/2938rf2983hcqnw8ud/emptydir

      This fails because the base directory is not there.  These directories are not being cleaned up either.

      It should be using TEST_ROOT.

      I don't know what Jira this change was made under - the git commit from July 9 2018 does not reference a Jira.

        Attachments

          Activity

            People

            • Assignee:
              Jim_Brennan Jim Brennan
              Reporter:
              Jim_Brennan Jim Brennan
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: