YARN-4991. Fix ContainerRequest Constructor to set nodelabelExpression correctly. (Bibin A Chundatt via asuresh)
This commit is contained in:
parent
5865fe2bf0
commit
a5fed8bbfe
|
@ -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