YARN-5400. addendum patch to fix JDK 7 issue
This commit is contained in:
parent
087c61192d
commit
4f8c7f819c
|
@ -412,7 +412,8 @@ public class ZKRMStateStore extends RMStateStore {
|
||||||
ReservationAllocationStateProto.parseFrom(reservationData);
|
ReservationAllocationStateProto.parseFrom(reservationData);
|
||||||
|
|
||||||
if (!rmState.getReservationState().containsKey(planName)) {
|
if (!rmState.getReservationState().containsKey(planName)) {
|
||||||
rmState.getReservationState().put(planName, new HashMap<>());
|
rmState.getReservationState().put(planName,
|
||||||
|
new HashMap<ReservationId, ReservationAllocationStateProto>());
|
||||||
}
|
}
|
||||||
|
|
||||||
ReservationId reservationId =
|
ReservationId reservationId =
|
||||||
|
|
Loading…
Reference in New Issue