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 "Luke Lu (JIRA)" <ji...@apache.org> on 2012/05/20 06:36:42 UTC
[jira] [Created] (MAPREDUCE-4271) Make TestCapacityScheduler more
robust with non-Sun JDK
Luke Lu created MAPREDUCE-4271:
----------------------------------
Summary: Make TestCapacityScheduler more robust with non-Sun JDK
Key: MAPREDUCE-4271
URL: https://issues.apache.org/jira/browse/MAPREDUCE-4271
Project: Hadoop Map/Reduce
Issue Type: Bug
Components: contrib/capacity-sched
Affects Versions: 1.0.3
Reporter: Luke Lu
Assignee: Luke Lu
The capacity scheduler queue is initialized with a HashMap, the values of which are later added to a list (a queue for assigning tasks). TestCapacityScheduler depends on the order of the list hence not portable across JDKs.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (MAPREDUCE-4271) Make TestCapacityScheduler more
robust with non-Sun JDK
Posted by "Yu Gao (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-4271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13492603#comment-13492603 ]
Yu Gao commented on MAPREDUCE-4271:
-----------------------------------
The patch fixed the failure of testMultiTaskAssignmentInMultipleQueues and testQueueOrdering with IBM JDK.
The NullPointException problem seems to be tracked by MAPREDUCE-4699
Testcase: testHighPriorityJobInitialization took 1.412 sec
Caused an ERROR
null
java.lang.NullPointerException
at org.apache.hadoop.mapred.JobHistory$JobInfo.logJobPriority(JobHistory.java:1969)
at org.apache.hadoop.mapred.JobInProgress.setPriority(JobInProgress.java:895)
at org.apache.hadoop.mapred.TestCapacityScheduler$FakeTaskTrackerManager.setPriority(TestCapacityScheduler.java:653)
at org.apache.hadoop.mapred.TestCapacityScheduler.testHighPriorityJobInitialization(TestCapacityScheduler.java:2666)
> Make TestCapacityScheduler more robust with non-Sun JDK
> -------------------------------------------------------
>
> Key: MAPREDUCE-4271
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-4271
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: capacity-sched
> Affects Versions: 1.0.3
> Reporter: Luke Lu
> Assignee: Yu Gao
> Labels: alt-jdk, capacity
> Attachments: mapreduce-4271-branch-1.patch, test-afterepatch.result, test-beforepatch.result, test-patch.result
>
>
> The capacity scheduler queue is initialized with a HashMap, the values of which are later added to a list (a queue for assigning tasks). TestCapacityScheduler depends on the order of the list hence not portable across JDKs.
--
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] [Assigned] (MAPREDUCE-4271) Make TestCapacityScheduler more
robust with non-Sun JDK
Posted by "Luke Lu (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-4271?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Luke Lu reassigned MAPREDUCE-4271:
----------------------------------
Assignee: Yu Gao (was: Luke Lu)
The patch lgtm. Please post ant test and test-patch results for branch-1 patches. Thanks Yu!
> Make TestCapacityScheduler more robust with non-Sun JDK
> -------------------------------------------------------
>
> Key: MAPREDUCE-4271
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-4271
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: capacity-sched
> Affects Versions: 1.0.3
> Reporter: Luke Lu
> Assignee: Yu Gao
> Labels: alt-jdk, capacity
> Attachments: mapreduce-4271-branch-1.patch
>
>
> The capacity scheduler queue is initialized with a HashMap, the values of which are later added to a list (a queue for assigning tasks). TestCapacityScheduler depends on the order of the list hence not portable across JDKs.
--
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] [Updated] (MAPREDUCE-4271) Make TestCapacityScheduler more
robust with non-Sun JDK
Posted by "Yu Gao (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-4271?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yu Gao updated MAPREDUCE-4271:
------------------------------
Attachment: test-afterepatch.result
test-beforepatch.result
> Make TestCapacityScheduler more robust with non-Sun JDK
> -------------------------------------------------------
>
> Key: MAPREDUCE-4271
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-4271
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: capacity-sched
> Affects Versions: 1.0.3
> Reporter: Luke Lu
> Assignee: Yu Gao
> Labels: alt-jdk, capacity
> Attachments: mapreduce-4271-branch-1.patch, test-afterepatch.result, test-beforepatch.result, test-patch.result
>
>
> The capacity scheduler queue is initialized with a HashMap, the values of which are later added to a list (a queue for assigning tasks). TestCapacityScheduler depends on the order of the list hence not portable across JDKs.
--
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] [Updated] (MAPREDUCE-4271) Make TestCapacityScheduler more
robust with non-Sun JDK
Posted by "Yu Gao (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-4271?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yu Gao updated MAPREDUCE-4271:
------------------------------
Attachment: test-patch.result
> Make TestCapacityScheduler more robust with non-Sun JDK
> -------------------------------------------------------
>
> Key: MAPREDUCE-4271
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-4271
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: capacity-sched
> Affects Versions: 1.0.3
> Reporter: Luke Lu
> Assignee: Yu Gao
> Labels: alt-jdk, capacity
> Attachments: mapreduce-4271-branch-1.patch, test-patch.result
>
>
> The capacity scheduler queue is initialized with a HashMap, the values of which are later added to a list (a queue for assigning tasks). TestCapacityScheduler depends on the order of the list hence not portable across JDKs.
--
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] [Updated] (MAPREDUCE-4271) Make TestCapacityScheduler more
robust with non-Sun JDK
Posted by "Yu Gao (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-4271?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yu Gao updated MAPREDUCE-4271:
------------------------------
Attachment: mapreduce-4271-branch-1.patch
> Make TestCapacityScheduler more robust with non-Sun JDK
> -------------------------------------------------------
>
> Key: MAPREDUCE-4271
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-4271
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: capacity-sched
> Affects Versions: 1.0.3
> Reporter: Luke Lu
> Assignee: Luke Lu
> Labels: alt-jdk, capacity
> Attachments: mapreduce-4271-branch-1.patch
>
>
> The capacity scheduler queue is initialized with a HashMap, the values of which are later added to a list (a queue for assigning tasks). TestCapacityScheduler depends on the order of the list hence not portable across JDKs.
--
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-4271) Make TestCapacityScheduler more
robust with non-Sun JDK
Posted by "Yu Gao (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-4271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13492596#comment-13492596 ]
Yu Gao commented on MAPREDUCE-4271:
-----------------------------------
Attached the ant test and test-patch results. Also paste the overall test-patch result here.
[exec] +1 overall.
[exec]
[exec] +1 @author. The patch does not contain any @author tags.
[exec]
[exec] +1 tests included. The patch appears to include 3 new or modified tests.
[exec]
[exec] +1 javadoc. The javadoc tool did not generate any warning messages.
[exec]
[exec] +1 javac. The applied patch does not increase the total number of javac compiler warnings.
[exec]
[exec] +1 findbugs. The patch does not introduce any new Findbugs (version 2.0.1) warnings.
> Make TestCapacityScheduler more robust with non-Sun JDK
> -------------------------------------------------------
>
> Key: MAPREDUCE-4271
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-4271
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: capacity-sched
> Affects Versions: 1.0.3
> Reporter: Luke Lu
> Assignee: Yu Gao
> Labels: alt-jdk, capacity
> Attachments: mapreduce-4271-branch-1.patch, test-patch.result
>
>
> The capacity scheduler queue is initialized with a HashMap, the values of which are later added to a list (a queue for assigning tasks). TestCapacityScheduler depends on the order of the list hence not portable across JDKs.
--
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