You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "meng gong (JIRA)" <ji...@apache.org> on 2012/12/20 10:25:12 UTC

[jira] [Commented] (MAPREDUCE-4886) TestCapacityScheduler failed in branch-1

    [ https://issues.apache.org/jira/browse/MAPREDUCE-4886?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13536883#comment-13536883 ] 

meng gong commented on MAPREDUCE-4886:
--------------------------------------

1.These failures are caused for this TestCase opens too many files, when the default file handles per thread in linux is 1024. Modify the limit of environment value “nrfile“ to 16384. This test case can be build successfully.

2.We can close this jira
  Or Every time users want to run "ant test-contrib", we can add a task to check the system environment and report warning when some values can't reach the minimum requirement of these Junit tests.
                
> TestCapacityScheduler failed in branch-1
> ----------------------------------------
>
>                 Key: MAPREDUCE-4886
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4886
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: scheduler
>    Affects Versions: 1.2.0
>            Reporter: Junping Du
>            Assignee: meng gong
>             Fix For: 1.2.0
>
>
> The test failure on my local env is as following:
> {noformat}
> compile-test:
>      [echo] contrib: capacity-scheduler
>     [javac] /home/jdu/bdc/hadoop-branch1/hadoop-common/src/contrib/build-contrib.xml:221: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
> test:
>      [echo] contrib: capacity-scheduler
>    [delete] Deleting directory /home/jdu/bdc/hadoop-branch1/hadoop-common/build/contrib/capacity-scheduler/test/logs
>     [mkdir] Created dir: /home/jdu/bdc/hadoop-branch1/hadoop-common/build/contrib/capacity-scheduler/test/logs
>     [junit] Running org.apache.hadoop.mapred.TestCapacityScheduler
>     [junit] Tests run: 35, Failures: 0, Errors: 12, Time elapsed: 370.574 sec
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira