|
Vinod K V made changes - 27/May/09 06:27 AM
Vinod K V made changes - 29/May/09 07:01 AM
Vinod K V made changes - 29/May/09 07:01 AM
Vinod K V made changes - 29/May/09 07:02 AM
The above patch also incorporates minor modifications to test-cases as suggested in
Some comments:
Can we also add the number of slots to the UI?
Long term - we really should fix TestCapacityScheduler to not check strings and use relevant apis (even package-private ones).
Some comments on test cases:
Updated patch incorporating all the above review comments except one:
@Arun
I didn't get this. Do you mean number of slots per job being displayed in job-scheduling information? We are already displaying the number of slots used by a queue as percentage. If you meant the first, I already considered this, but let it go for another jira. The job scheduling information is being displayed on the jobtracker ui first page and it looked ugly when it spanned multiple lines. I think it would be good if we can remove job scheduling information from the first page. But as that might trigger discussion, I've decided to leave it for now.
Agree, even I could realize the pain while modifying testcases, but decide to postpone it for another jira as it is slightly tricky.
Vinod K V made changes - 02/Jun/09 11:51 AM
Arun C Murthy made changes - 03/Jun/09 12:53 AM
I'm just proposing we add #slots (along with already available #running_tasks) to both per-queue info and per-job info (jobdetails.jsp) so that it's clear to users that the queue isn't being under-served (since #running_tasks might be lesser than #slots_taken).
Vinod K V made changes - 03/Jun/09 01:51 PM
Vinod K V made changes - 03/Jun/09 01:52 PM
Vinod K V made changes - 04/Jun/09 05:09 AM
A slightly modified patch. Basically just makes the comments and debug statements in test cases match code. The list of changes made are the following:
Hemanth Yamijala made changes - 04/Jun/09 01:55 PM
Results of test-patch:
[exec] +1 overall. All capacity scheduler tests pass, except TestQueueCapacities which is being tracked elsewhere. Vinod, can you please upload a patch for Hadoop 0.20, so I can commit it to the 0.20 branch as well ? I will commit both together.
Vinod K V made changes - 05/Jun/09 04:15 AM
I just committed this to trunk and branch 0.20. Thanks, Vinod !
Hemanth Yamijala made changes - 05/Jun/09 06:01 AM
Integrated in Hadoop-trunk #863 (See http://hudson.zones.apache.org/hudson/job/Hadoop-trunk/863/
Hemanth Yamijala made changes - 12/Jun/09 03:56 PM
Owen O'Malley made changes - 08/Jul/09 04:40 PM
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Attaching patch implementing this. This patch has to be applied over the latest patch for
HADOOP-5932. This patch does the following: