You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-dev@hadoop.apache.org by "Eli Collins (JIRA)" <ji...@apache.org> on 2009/10/13 01:21:31 UTC

[jira] Created: (MAPREDUCE-1093) Java assertion failures triggered by tests

Java assertion failures triggered by tests
------------------------------------------

                 Key: MAPREDUCE-1093
                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1093
             Project: Hadoop Map/Reduce
          Issue Type: Test
            Reporter: Eli Collins


While running the tests with java asserts enabled the following two asserts fired:

{code}
testStateRefresh in TestQueueManager:
try{
        Job job = submitSleepJob(10, 2, 10, 10, true,null, "default" );
        assert(job.isSuccessful());         <==========
}catch(Exception e){
{code}

{code}
runJobExceedingMemoryLimit in TestTaskTrackerMemoryManager:
for (TaskCompletionEvent tce : taskComplEvents) {
      // Every task HAS to fail
      assert (tce.getTaskStatus() == TaskCompletionEvent.Status.TIPFAILED || tce     <==========
          .getTaskStatus() == TaskCompletionEvent.Status.FAILED);
{code}


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (MAPREDUCE-1093) Java assertion failures triggered by tests

Posted by "Aaron Kimball (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-1093?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Aaron Kimball resolved MAPREDUCE-1093.
--------------------------------------

    Resolution: Invalid

> Java assertion failures triggered by tests
> ------------------------------------------
>
>                 Key: MAPREDUCE-1093
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1093
>             Project: Hadoop Map/Reduce
>          Issue Type: Test
>            Reporter: Eli Collins
>            Assignee: Aaron Kimball
>         Attachments: MAPREDUCE-1093.patch
>
>
> While running the tests with java asserts enabled the following two asserts fired:
> {code}
> testStateRefresh in TestQueueManager:
> try{
>         Job job = submitSleepJob(10, 2, 10, 10, true,null, "default" );
>         assert(job.isSuccessful());         <==========
> }catch(Exception e){
> {code}
> {code}
> runJobExceedingMemoryLimit in TestTaskTrackerMemoryManager:
> for (TaskCompletionEvent tce : taskComplEvents) {
>       // Every task HAS to fail
>       assert (tce.getTaskStatus() == TaskCompletionEvent.Status.TIPFAILED || tce     <==========
>           .getTaskStatus() == TaskCompletionEvent.Status.FAILED);
> {code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.