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

Eli Collins commented on HADOOP-5916:
-------------------------------------

I think the issue here is whether the path is absolute. Is there a way to have 
$PROJ_HOME/build/test/data so the default value is an absolute path? Leaving it 
just build/test/data means eg in TestLocalFSFileContextMainOperations it tries 
to use /user/eli/build/test/data which doesn't make sense since it's a local fs.

> 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 Common
>          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.

Reply via email to