MAPREDUCE-3608. Fixed compile issue with MAPREDUCE-3522. Contributed by Mahadev Konar.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1225726 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
743a5b78e3
commit
4ab6ae543e
@ -381,6 +381,9 @@ Release 0.23.1 - Unreleased
|
||||
MAPREDUCE-3522. Ensure queues inherit ACLs from parent if they aren't
|
||||
explicitly specified. (Jonathan Eagles via acmurthy)
|
||||
|
||||
MAPREDUCE-3608. Fixed compile issue with MAPREDUCE-3522. (mahadev via
|
||||
acmurthy)
|
||||
|
||||
Release 0.23.0 - 2011-11-01
|
||||
|
||||
INCOMPATIBLE CHANGES
|
||||
|
@ -93,14 +93,14 @@ private static void setupQueueConfiguration(
|
||||
CapacitySchedulerConfiguration conf) {
|
||||
|
||||
// Define top-level queues
|
||||
conf.setQueues(CapacityScheduler.ROOT, new String[] { "a", "b" });
|
||||
conf.setCapacity(CapacityScheduler.ROOT, 100);
|
||||
conf.setQueues(CapacitySchedulerConfiguration.ROOT, new String[] { "a", "b" });
|
||||
conf.setCapacity(CapacitySchedulerConfiguration.ROOT, 100);
|
||||
|
||||
final String A = CapacityScheduler.ROOT + ".a";
|
||||
final String A = CapacitySchedulerConfiguration.ROOT + ".a";
|
||||
conf.setCapacity(A, 10);
|
||||
conf.setMaximumCapacity(A, 50);
|
||||
|
||||
final String B = CapacityScheduler.ROOT + ".b";
|
||||
final String B = CapacitySchedulerConfiguration.ROOT + ".b";
|
||||
conf.setCapacity(B, 90);
|
||||
|
||||
// Define 2nd-level queues
|
||||
@ -209,7 +209,7 @@ public void verifyClusterSchedulerXML(NodeList nodes) throws Exception {
|
||||
for (int j = 0; j < queues.getLength(); j++) {
|
||||
Element qElem = (Element) queues.item(j);
|
||||
String qName = WebServicesTestUtils.getXmlString(qElem, "queueName");
|
||||
String q = CapacityScheduler.ROOT + "." + qName;
|
||||
String q = CapacitySchedulerConfiguration.ROOT + "." + qName;
|
||||
verifySubQueueXML(qElem, q);
|
||||
}
|
||||
}
|
||||
@ -253,7 +253,7 @@ private void verifyClusterScheduler(JSONObject json) throws JSONException,
|
||||
// test subqueues
|
||||
for (int i = 0; i < arr.length(); i++) {
|
||||
JSONObject obj = arr.getJSONObject(i);
|
||||
String q = CapacityScheduler.ROOT + "." + obj.getString("queueName");
|
||||
String q = CapacitySchedulerConfiguration.ROOT + "." + obj.getString("queueName");
|
||||
verifySubQueue(obj, q);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user