YARN-7542. Fix issue that causes some Running Opportunistic Containers to be recovered as PAUSED. (Sampada Dehankar via asuresh)

(cherry picked from commit a55884c68eb175f1c9f61771386c086bf1ee65a9)
(cherry picked from commit bd4dcc7772f9a6786e8ef4ef8fa97dfdd34d64d1)
This commit is contained in:
Arun Suresh 2017-12-28 22:20:42 -08:00 committed by Haibo Chen
parent 418e957c64
commit e2b82b82e2

View File

@ -72,7 +72,7 @@ public Integer call() {
String containerIdStr = containerId.toString(); String containerIdStr = containerId.toString();
dispatcher.getEventHandler().handle(new ContainerEvent(containerId, dispatcher.getEventHandler().handle(new ContainerEvent(containerId,
ContainerEventType.RECOVER_PAUSED_CONTAINER)); ContainerEventType.CONTAINER_LAUNCHED));
boolean notInterrupted = true; boolean notInterrupted = true;
try { try {