hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tsz Wo (Nicholas), SZE (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-4050) TestFairScheduler failed on Linux
Date Tue, 02 Sep 2008 23:33:44 GMT

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

Tsz Wo (Nicholas), SZE commented on HADOOP-4050:
------------------------------------------------

What we do for hadoop core is setting up a java system property in build.xml and then get
it in the tests
- build.xml
{code}
  <property name="test.build.data" value="${test.build.dir}/data"/>
{code}
- TestLocalFileSystem.java
{code}
private static String TEST_ROOT_DIR
    = System.getProperty("test.build.data","build/test/data/work-dir/localfs");
{code}


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


Mime
View raw message