YARN-3270. Fix node label expression not getting set in ApplicationSubmissionContext (Rohit Agarwal via wangda)
This commit is contained in:
parent
c5eac9c6fe
commit
abac6eb9d5
|
@ -683,6 +683,9 @@ Release 2.7.0 - UNRELEASED
|
|||
all Schedulers even when using ParameterizedSchedulerTestBase.
|
||||
(Anubhav Dhoot via devaraj)
|
||||
|
||||
YARN-3270. Fix node label expression not getting set in
|
||||
ApplicationSubmissionContext (Rohit Agarwal via wangda)
|
||||
|
||||
Release 2.6.0 - 2014-11-18
|
||||
|
||||
INCOMPATIBLE CHANGES
|
||||
|
|
|
@ -155,6 +155,7 @@ public abstract class ApplicationSubmissionContext {
|
|||
context.setMaxAppAttempts(maxAppAttempts);
|
||||
context.setApplicationType(applicationType);
|
||||
context.setKeepContainersAcrossApplicationAttempts(keepContainers);
|
||||
context.setNodeLabelExpression(appLabelExpression);
|
||||
context.setAMContainerResourceRequest(resourceRequest);
|
||||
return context;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue