[jira] [Commented] (MAPREDUCE-4732) testcase testJobRetire fails using IBM JAVA

2012-12-05 Thread Amir Sanjar (JIRA)

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

Amir Sanjar commented on MAPREDUCE-4732:


was able to reprouduce on IBM JAVA 6.. updatting abstract 

> testcase testJobRetire fails using IBM JAVA 
> 
>
> Key: MAPREDUCE-4732
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-4732
> Project: Hadoop Map/Reduce
>  Issue Type: Bug
>  Components: test
>Affects Versions: 1.0.3
> Environment: RHEL 6.2 with IBM JAVA 7 on a x86_64 system
>Reporter: Amir Sanjar
>
> Testcase: testJobRetire took 53.352 sec
> Testcase: testJobRetireWithUnreportedTasks took 41.173 sec
>   FAILED
> Job did not retire
> junit.framework.AssertionFailedError: Job did not retire
>   at 
> org.apache.hadoop.mapred.TestJobRetire.waitTillRetire(TestJobRetire.java:130)
>   at 
> org.apache.hadoop.mapred.TestJobRetire.testJobRetireWithUnreportedTasks(TestJobRetire.java:229)
> Testcase: testJobRemoval took 1.073 sec

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


[jira] [Commented] (MAPREDUCE-4732) testcase testJobRetire fails using IBM JAVA 7

2012-10-31 Thread Amir Sanjar (JIRA)

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

Amir Sanjar commented on MAPREDUCE-4732:


this is blocking our %100 success running all  unittests, should I submit the 
patch?


> testcase testJobRetire fails using IBM JAVA 7
> -
>
> Key: MAPREDUCE-4732
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-4732
> Project: Hadoop Map/Reduce
>  Issue Type: Bug
>  Components: test
>Affects Versions: 1.0.3
> Environment: RHEL 6.2 with IBM JAVA 7 on a x86_64 system
>Reporter: Amir Sanjar
>
> Testcase: testJobRetire took 53.352 sec
> Testcase: testJobRetireWithUnreportedTasks took 41.173 sec
>   FAILED
> Job did not retire
> junit.framework.AssertionFailedError: Job did not retire
>   at 
> org.apache.hadoop.mapred.TestJobRetire.waitTillRetire(TestJobRetire.java:130)
>   at 
> org.apache.hadoop.mapred.TestJobRetire.testJobRetireWithUnreportedTasks(TestJobRetire.java:229)
> Testcase: testJobRemoval took 1.073 sec

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


[jira] [Commented] (MAPREDUCE-4732) testcase testJobRetire fails using IBM JAVA 7

2012-10-19 Thread Amir Sanjar (JIRA)

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

Amir Sanjar commented on MAPREDUCE-4732:


like submit these changes to waitTillRetire() in TestJobRetire.java  patch, any 
suggestions?
 private void waitTillRetire(JobID id, JobTracker jobtracker) {
//wait for job to get retired
int noSec = 
Integer.parseInt(System.getProperty("test.job.retire.timeout", "10")); << 
added
JobInProgress job = jobtracker.getJob(id);
for (int i = 0; i < noSec && job != null; i++) {
   < changed
  UtilsForTests.waitFor(1000);
  job = jobtracker.getJob(id);
}
assertNull("Timeout - Job did not retire. Increase value of 
test.job.retire.timeout property, current value="+noSec, job); <=== changed 
  }

> testcase testJobRetire fails using IBM JAVA 7
> -
>
> Key: MAPREDUCE-4732
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-4732
> Project: Hadoop Map/Reduce
>  Issue Type: Bug
>  Components: test
>Affects Versions: 1.0.3
> Environment: RHEL 6.2 with IBM JAVA 7 on a x86_64 system
>Reporter: Amir Sanjar
>Priority: Minor
>
> Testcase: testJobRetire took 53.352 sec
> Testcase: testJobRetireWithUnreportedTasks took 41.173 sec
>   FAILED
> Job did not retire
> junit.framework.AssertionFailedError: Job did not retire
>   at 
> org.apache.hadoop.mapred.TestJobRetire.waitTillRetire(TestJobRetire.java:130)
>   at 
> org.apache.hadoop.mapred.TestJobRetire.testJobRetireWithUnreportedTasks(TestJobRetire.java:229)
> Testcase: testJobRemoval took 1.073 sec

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


[jira] [Commented] (MAPREDUCE-4732) testcase testJobRetire fails using IBM JAVA 7

2012-10-18 Thread Amir Sanjar (JIRA)

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

Amir Sanjar commented on MAPREDUCE-4732:


debug result: 

 private void waitTillRetire(JobID id, JobTracker jobtracker) {
//wait for job to get retired
JobInProgress job = jobtracker.getJob(id);
for (int i = 0; i < 10 && job != null; i++) {
  UtilsForTests.waitFor(1000);  
  job = jobtracker.getJob(id);
}
assertNull("Job did not retire", job); <<= assertion job != null

Conclusion: this is a timing issue, build and run with IBM JAVA 7, this 
particular jobs does not terminate in the given maximum time of 10sec, Works 
with >15 sec on a TP520.
Having a hardcoded max time is not recommanded..
We are testing a patch.. will be up loaded shortly ..

  

> testcase testJobRetire fails using IBM JAVA 7
> -
>
> Key: MAPREDUCE-4732
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-4732
> Project: Hadoop Map/Reduce
>  Issue Type: Bug
>  Components: test
>Affects Versions: 1.0.3
> Environment: RHEL 6.2 with IBM JAVA 7 on a x86_64 system
>Reporter: Amir Sanjar
>Priority: Minor
>
> Testcase: testJobRetire took 53.352 sec
> Testcase: testJobRetireWithUnreportedTasks took 41.173 sec
>   FAILED
> Job did not retire
> junit.framework.AssertionFailedError: Job did not retire
>   at 
> org.apache.hadoop.mapred.TestJobRetire.waitTillRetire(TestJobRetire.java:130)
>   at 
> org.apache.hadoop.mapred.TestJobRetire.testJobRetireWithUnreportedTasks(TestJobRetire.java:229)
> Testcase: testJobRemoval took 1.073 sec

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