hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eli Collins (JIRA)" <j...@apache.org>
Subject [jira] Created: (MAPREDUCE-1093) Java assertion failures triggered by tests
Date Mon, 12 Oct 2009 23:21:31 GMT
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.


Mime
View raw message