YARN-3270. Fix node label expression not getting set in ApplicationSubmissionContext (Rohit Agarwal via wangda)
(cherry picked from commit abac6eb9d5
)
This commit is contained in:
parent
651aa8761e
commit
19a8e48230
|
@ -638,6 +638,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