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 22:51:44 GMT

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

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

- The test still fails after the patch.  Below is more details
{noformat}
$ant clean
...
BUILD SUCCESSFUL
Total time: 9 seconds
$ant test -Dtestcase=TestFairScheduler
...
test:
     [echo] contrib: fairscheduler
   [delete] Deleting directory /home/tsz/hadoop/testing/build/contrib/fairscheduler/test/logs
    [mkdir] Created dir: /home/tsz/hadoop/testing/build/contrib/fairscheduler/test/logs
    [junit] Running org.apache.hadoop.mapred.TestFairScheduler
    [junit] Tests run: 13, Failures: 0, Errors: 13, Time elapsed: 0.03 sec
    [junit] Test org.apache.hadoop.mapred.TestFairScheduler FAILED

BUILD FAILED
/home/tsz/hadoop/testing/build.xml:662: The following error occurred while executing this
line:
/home/tsz/hadoop/testing/src/contrib/build.xml:48: The following error occurred while executing
this line:
/home/tsz/hadoop/testing/src/contrib/build-contrib.xml:224: Tests failed!

Total time: 57 seconds
$head build/contrib/fairscheduler/test/TEST-org.apache.hadoop.mapred.TestFairScheduler.txt
 
Testsuite: org.apache.hadoop.mapred.TestFairScheduler
Tests run: 13, Failures: 0, Errors: 13, Time elapsed: 0.03 sec

Testcase: testAllocationFileParsing took 0.004 sec
        Caused an ERROR
/home/tsz/hadoop/testing/build/contrib/fairscheduler/test/data/test-pools (No such file or
directory)
java.io.FileNotFoundException: /home/tsz/hadoop/testing/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)
$ ls build/contrib/fairscheduler/test/data
ls: /home/tsz/hadoop/testing/build/contrib/fairscheduler/test/data: No such file or directory
$ ls -ld build/contrib/fairscheduler/test
drwxr-xr-x  4 tsz users 4096 Sep  2 22:45 build/contrib/fairscheduler/test
$ ls -l build/contrib/fairscheduler/test
total 16
-rw-r--r--  1 tsz users 7959 Sep  2 22:45 TEST-org.apache.hadoop.mapred.TestFairScheduler.txt
drwxr-xr-x  2 tsz users 4096 Sep  2 22:45 logs
drwxr-xr-x  3 tsz users 4096 Sep  2 22:45 org

{noformat}

- Here is more information about my envirnoment:
{noformat}
$uname -a
Linux nodename 2.6.9-55.ELsmp #1 SMP Fri Apr 20 16:36:54 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux
$ java -version
java version "1.6.0"
Java(TM) SE Runtime Environment (build 1.6.0-b105)
Java HotSpot(TM) Server VM (build 1.6.0-b105, mixed mode)
{noformat}

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