[
https://issues.apache.org/jira/browse/HADOOP-5916?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12713323#action_12713323
]
Hong Tang commented on HADOOP-5916:
-----------------------------------
No strong opinion either ways (/tmp or build/test/data). But a quick comment on
the following:
bq. 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.
I think it is possible to explicitly set it as JVM parameters through
-Dtest.build.data=XXX.
> 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.