[ 
https://issues.apache.org/jira/browse/YARN-8518?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16541861#comment-16541861
 ] 

Robert Kanter commented on YARN-8518:
-------------------------------------

The original commit was part of a security fix, so there was no precommit 
build.  That's one of the downsides of the way we handle security fixes today.
When I ran the test, I must have either already had the 
{{/tmp/2938rf2983hcqnw8ud}} directory or didn't properly run it.

> test-container-executor test_is_empty() is broken
> -------------------------------------------------
>
>                 Key: YARN-8518
>                 URL: https://issues.apache.org/jira/browse/YARN-8518
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Jim Brennan
>            Assignee: Jim Brennan
>            Priority: Major
>         Attachments: YARN-8518.001.patch
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org

Reply via email to