Merge -r 1353624:1353625 from trunk to branch. FIXES: MAPREDUCE-4336
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1353628 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
461ef73bf2
commit
e519ed959a
|
@ -60,6 +60,9 @@ Release 2.0.1-alpha - UNRELEASED
|
|||
MAPREDUCE-4031. Prevent a Node Manager hang during shutdown.
|
||||
(Devaraj K via sseth)
|
||||
|
||||
MAPREDUCE-4336. Distributed Shell fails when used with the CapacityScheduler
|
||||
(ahmed via tucu)
|
||||
|
||||
Release 2.0.0-alpha - 05-23-2012
|
||||
|
||||
INCOMPATIBLE CHANGES
|
||||
|
|
|
@ -260,7 +260,7 @@ public class Client {
|
|||
|
||||
appName = cliParser.getOptionValue("appname", "DistributedShell");
|
||||
amPriority = Integer.parseInt(cliParser.getOptionValue("priority", "0"));
|
||||
amQueue = cliParser.getOptionValue("queue", "");
|
||||
amQueue = cliParser.getOptionValue("queue", "default");
|
||||
amMemory = Integer.parseInt(cliParser.getOptionValue("master_memory", "10"));
|
||||
|
||||
if (amMemory < 0) {
|
||||
|
@ -353,6 +353,7 @@ public class Client {
|
|||
}
|
||||
|
||||
GetQueueInfoRequest queueInfoReq = Records.newRecord(GetQueueInfoRequest.class);
|
||||
queueInfoReq.setQueueName(this.amQueue);
|
||||
GetQueueInfoResponse queueInfoResp = applicationsManager.getQueueInfo(queueInfoReq);
|
||||
QueueInfo queueInfo = queueInfoResp.getQueueInfo();
|
||||
LOG.info("Queue info"
|
||||
|
|
Loading…
Reference in New Issue