[
https://issues.apache.org/jira/browse/HADOOP-4050?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12627328#action_12627328
]
Matei Zaharia commented on HADOOP-4050:
---------------------------------------
By the way, you may also want to try changing the path in ALLOC_FILE from
./test-pools to just test-pools. This is the biggest difference I've seen
between my test and others that use data files. I wouldn't expect this to be a
problem, but I see some Java bugs such as
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4879985 which could
potentially be related.
I'm also a little confused as to how the test/data directory should be created.
I thought that the build-contrib.xml ant file simply set the test's working dir
to the data directory, but did not actually create it. However, for streaming
for example, the data directory does seem to be created without the tests
explicitly mkdir'ing it. Am I missing something in my build file?
> 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
>
> {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.