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

test-container-executor test_is_empty() is broken

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.2.0, 3.1.1, 2.9.2, 3.0.3
    • None
    • None
    • 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

        1. YARN-8518.001.patch
          1 kB
          Jim Brennan

        Activity

          People

            jbrennan Jim Brennan
            jbrennan Jim Brennan
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: