[
https://issues.apache.org/jira/browse/HADOOP-4050?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12628019#action_12628019
]
Hemanth Yamijala commented on HADOOP-4050:
------------------------------------------
We noticed this issue also when we moved some classes into contrib for the
scheduler in HADOOP-3445. Actually, I think the data dir comes from
build-contrib.xml, as per this line:
{code}
<sysproperty key="test.build.data" value="${build.test}/data"/>
{code}
Also, there are a few test classes in streaming that are creating this
directory. For e.g. UtilTest.redirectIfAntJunit calls mkdirs on the directory
set as the system property as mentioned above, and it is called from
TestStreamingExitStatus.
Since a lot of contrib tests seem to need this, should we just create it in
build-contrib.xml which is used by all contrib build files mostly ?
> TestFairScheduler failed on Linux
> ---------------------------------
>
> Key: HADOOP-4050
> URL: https://issues.apache.org/jira/browse/HADOOP-4050
> Project: Hadoop Core
> Issue Type: Bug
> Components: contrib/fair-share
> Environment: Linux
> Reporter: Tsz Wo (Nicholas), SZE
> Assignee: Matei Zaharia
> Attachments: 4050_20080902debug.patch, HADOOP-4050-v2.patch,
> HADOOP-4050.patch
>
>
> {noformat}
> Testsuite: org.apache.hadoop.mapred.TestFairScheduler
> Tests run: 13, Failures: 0, Errors: 13, Time elapsed: 0.042 sec
> Testcase: testAllocationFileParsing took 0.004 sec
> Caused an ERROR
> /home/tsz/hadoop/latest/build/contrib/fairscheduler/test/data/./test-pools
> (No such file or directory)
> java.io.FileNotFoundException:
> /home/tsz/hadoop/latest/build/contrib/fairscheduler/test/data/./test-pools
> (No such file or directory)
> at java.io.FileOutputStream.open(Native Method)
> at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
> at java.io.FileOutputStream.<init>(FileOutputStream.java:70)
> at java.io.FileWriter.<init>(FileWriter.java:46)
> at
> org.apache.hadoop.mapred.TestFairScheduler.setUp(TestFairScheduler.java:215)
> ...
> {noformat}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.