[
https://issues.apache.org/jira/browse/HADOOP-5916?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12713317#action_12713317
]
Konstantin Shvachko commented on HADOOP-5916:
---------------------------------------------
+1 setting "test.build.data" to build/test/data
Right now it is simply impossible to run some tests from eclipse because they
try to write to "/tmp" or "." and this collides with the data already stored
there. All unit test generated data should be under build so that it could be
cleaned by the clean compile target.
> Standardize fall-back value of test.build.data for testing directories
> ----------------------------------------------------------------------
>
> Key: HADOOP-5916
> URL: https://issues.apache.org/jira/browse/HADOOP-5916
> Project: Hadoop Core
> Issue Type: Bug
> Components: test
> Reporter: Jakob Homan
> Attachments: test.build.data.txt
>
>
> Currently when the test.build.data property is not set, as happens when run
> through some configurations of Eclipse, the fall-back value varies wildly.
> Most calls set to /tmp, which is not good as it is beyond the scope of the
> ant clean task and thus will not be deleted. Others default to "." which can
> drop the test files right in the current directory. Speaking with Konstanin,
> it seems the correct location should be "build/test/data" to ensure any files
> that are created are within the scope of Ant's clean command.
> Attached is the current variation in this setting.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.