YARN-5400. addendum patch to fix JDK 7 issue
This commit is contained in:
parent
087c61192d
commit
4f8c7f819c
@ -412,7 +412,8 @@ private void loadReservationSystemState(RMState rmState) throws Exception {
|
||||
ReservationAllocationStateProto.parseFrom(reservationData);
|
||||
|
||||
if (!rmState.getReservationState().containsKey(planName)) {
|
||||
rmState.getReservationState().put(planName, new HashMap<>());
|
||||
rmState.getReservationState().put(planName,
|
||||
new HashMap<ReservationId, ReservationAllocationStateProto>());
|
||||
}
|
||||
|
||||
ReservationId reservationId =
|
||||
|
Loading…
x
Reference in New Issue
Block a user