YARN-4991. Fix ContainerRequest Constructor to set nodelabelExpression correctly. (Bibin A Chundatt via asuresh)
(cherry picked from commit a5fed8bbfe
)
This commit is contained in:
parent
155f25061e
commit
ce886ff2b1
|
@ -178,7 +178,8 @@ public abstract class AMRMClient<T extends AMRMClient.ContainerRequest> extends
|
||||||
*/
|
*/
|
||||||
public ContainerRequest(Resource capability, String[] nodes, String[] racks,
|
public ContainerRequest(Resource capability, String[] nodes, String[] racks,
|
||||||
Priority priority, boolean relaxLocality, String nodeLabelsExpression) {
|
Priority priority, boolean relaxLocality, String nodeLabelsExpression) {
|
||||||
this(capability, nodes, racks, priority, relaxLocality, null,
|
this(capability, nodes, racks, priority, relaxLocality,
|
||||||
|
nodeLabelsExpression,
|
||||||
ExecutionType.GUARANTEED);
|
ExecutionType.GUARANTEED);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue