YARN-3713. Remove duplicate function call storeContainerDiagnostics in ContainerDiagnosticsUpdateTransition (zxu via rkanter)
(cherry picked from commit 6aec13cb33
)
This commit is contained in:
parent
b9c5c5de68
commit
bde4031a02
|
@ -232,6 +232,9 @@ Release 2.8.0 - UNRELEASED
|
||||||
YARN-3722. Merge multiple TestWebAppUtils into o.a.h.yarn.webapp.util.TestWebAppUtils.
|
YARN-3722. Merge multiple TestWebAppUtils into o.a.h.yarn.webapp.util.TestWebAppUtils.
|
||||||
(Masatake Iwasaki via devaraj)
|
(Masatake Iwasaki via devaraj)
|
||||||
|
|
||||||
|
YARN-3713. Remove duplicate function call storeContainerDiagnostics in
|
||||||
|
ContainerDiagnosticsUpdateTransition (zxu via rkanter)
|
||||||
|
|
||||||
OPTIMIZATIONS
|
OPTIMIZATIONS
|
||||||
|
|
||||||
YARN-3339. TestDockerContainerExecutor should pull a single image and not
|
YARN-3339. TestDockerContainerExecutor should pull a single image and not
|
||||||
|
|
|
@ -1105,13 +1105,6 @@ public class ContainerImpl implements Container {
|
||||||
ContainerDiagnosticsUpdateEvent updateEvent =
|
ContainerDiagnosticsUpdateEvent updateEvent =
|
||||||
(ContainerDiagnosticsUpdateEvent) event;
|
(ContainerDiagnosticsUpdateEvent) event;
|
||||||
container.addDiagnostics(updateEvent.getDiagnosticsUpdate(), "\n");
|
container.addDiagnostics(updateEvent.getDiagnosticsUpdate(), "\n");
|
||||||
try {
|
|
||||||
container.stateStore.storeContainerDiagnostics(container.containerId,
|
|
||||||
container.diagnostics);
|
|
||||||
} catch (IOException e) {
|
|
||||||
LOG.warn("Unable to update state store diagnostics for "
|
|
||||||
+ container.containerId, e);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue