YARN-4302. SLS not able start due to NPE in SchedulerApplicationAttempt. Contributed by Bibin A Chundatt.

(cherry picked from commit c28e16b40c)
This commit is contained in:
Varun Vasudev 2015-10-27 20:56:00 +05:30
parent 3138b43f16
commit c5bf1cb7af
2 changed files with 4 additions and 1 deletions

View File

@ -933,7 +933,7 @@ public class ResourceSchedulerWrapper
@LimitedPrivate("yarn") @LimitedPrivate("yarn")
@Unstable @Unstable
public Resource getClusterResource() { public Resource getClusterResource() {
return null; return super.getClusterResource();
} }
@Override @Override

View File

@ -973,6 +973,9 @@ Release 2.8.0 - UNRELEASED
YARN-3573. MiniMRYarnCluster constructor that starts the timeline server YARN-3573. MiniMRYarnCluster constructor that starts the timeline server
using a boolean should be marked deprecated. (Brahma Reddy Battula via ozawa) using a boolean should be marked deprecated. (Brahma Reddy Battula via ozawa)
YARN-4302. SLS not able start due to NPE in SchedulerApplicationAttempt
(Bibin A Chundatt via vvasudev)
Release 2.7.2 - UNRELEASED Release 2.7.2 - UNRELEASED
INCOMPATIBLE CHANGES INCOMPATIBLE CHANGES