YARN-1447. Common PB type definitions for container resizing. (Wangda Tan via Sandy Ryza)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1548318 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
55e5b0653c
commit
a5fce4fa71
|
@ -43,6 +43,9 @@ Release 2.4.0 - UNRELEASED
|
|||
YARN-1392. Allow sophisticated app-to-queue placement policies in the Fair
|
||||
Scheduler (Sandy Ryza)
|
||||
|
||||
YARN-1447. Common PB type definitions for container resizing. (Wangda Tan
|
||||
via Sandy Ryza)
|
||||
|
||||
IMPROVEMENTS
|
||||
|
||||
YARN-7. Support CPU resource for DistributedShell. (Junping Du via llu)
|
||||
|
|
|
@ -311,6 +311,22 @@ enum ContainerExitStatusProto {
|
|||
DISKS_FAILED = -101;
|
||||
}
|
||||
|
||||
message ContainerResourceIncreaseRequestProto {
|
||||
optional ContainerIdProto container_id = 1;
|
||||
optional ResourceProto capability = 2;
|
||||
}
|
||||
|
||||
message ContainerResourceIncreaseProto {
|
||||
optional ContainerIdProto container_id = 1;
|
||||
optional ResourceProto capability = 2;
|
||||
optional hadoop.common.TokenProto container_token = 3;
|
||||
}
|
||||
|
||||
message ContainerResourceDecreaseProto {
|
||||
optional ContainerIdProto container_id = 1;
|
||||
optional ResourceProto capability = 2;
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////
|
||||
////// From common//////////////////////////////////////////////////////
|
||||
////////////////////////////////////////////////////////////////////////
|
||||
|
|
Loading…
Reference in New Issue