[
https://issues.apache.org/jira/browse/HADOOP-11733?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14371576#comment-14371576
]
Sean Busbey commented on HADOOP-11733:
--------------------------------------
Can we move these writes to be within a target directory instead?
It's maven best practice to avoid writing out side of the build directory.
It'll also do a better job of e.g. allowing us to run tests in parallel.
> mvn clean does not clean /tmp
> -----------------------------
>
> Key: HADOOP-11733
> URL: https://issues.apache.org/jira/browse/HADOOP-11733
> Project: Hadoop Common
> Issue Type: Bug
> Affects Versions: 2.6.0
> Environment: All
> Reporter: Tony Reix
> Priority: Minor
>
> When Hadoop tests are run, files and directories are created in /tmp .
> Many (or all) of them are not cleaned when running "mvn clean".
> This generates an issue when tests were previously run (by mistake) as root
> and then run again as a non-root user, since directories (like: .hdfs-nfs
> hadoop-root hsperfdata_root) cannot be written by second test run.
> List of files/directories that seem to be created in /tmp when testing Hadoop:
> Jetty* *test *deferred .hdfs-nfs hadoop-root hsperfdata_root
> and that should be cleaned after tests.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)