YARN-3713. Remove duplicate function call storeContainerDiagnostics in ContainerDiagnosticsUpdateTransition (zxu via rkanter)
This commit is contained in:
parent
3ae2a62501
commit
6aec13cb33
@ -280,6 +280,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…
x
Reference in New Issue
Block a user