hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tsz Wo Nicholas Sze (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-3128) Unit tests should not use a test root in /tmp
Date Fri, 04 Apr 2014 00:10:16 GMT

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

Tsz Wo Nicholas Sze commented on HDFS-3128:
-------------------------------------------

{quote}
Here's a patch that removes use of /tmp from HDFS. I grepped for "/tmp" test roots in the
test directory, and changed them all to use FileSystem/FileContextTestHelper. I don't know
why a test would want to set its own test root, so I made those Helper constructors private
to enforce proper usage.
{quote}

[~andrew.wang], if there is something that you don't understand, please figure them out before
committing anything.  Thanks!

> Unit tests should not use a test root in /tmp
> ---------------------------------------------
>
>                 Key: HDFS-3128
>                 URL: https://issues.apache.org/jira/browse/HDFS-3128
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 2.3.0
>            Reporter: Eli Collins
>            Assignee: Andrew Wang
>            Priority: Minor
>             Fix For: 2.4.0
>
>         Attachments: hdfs-3128-1.patch
>
>
> Saw this on jenkins, TestResolveHdfsSymlink#testFcResolveAfs creates /tmp/alpha which
interferes with other executors on the same machine.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message