hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Nauroth (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-11733) mvn clean does not clean /tmp
Date Fri, 20 Mar 2015 17:04:39 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-11733?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14371634#comment-14371634

Chris Nauroth commented on HADOOP-11733:

+1 for tracking down the individual tests that write to /tmp and changing them to write to
the directory defined by the {{test.build.dir}} system property.  That's how we've handled
problems like this in the past, but I guess a few new cases of writing to /tmp have been introduced.

> mvn clean does not clean /tmp
> -----------------------------
>                 Key: HADOOP-11733
>                 URL: https://issues.apache.org/jira/browse/HADOOP-11733
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: build, test
>    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

View raw message