YARN-5822. Log ContainerRuntime initialization error in LinuxContainerExecutor. Contributed by Sidharta Seethana.
This commit is contained in:
parent
352cbaa7a5
commit
9ee0e3172e
|
@ -270,6 +270,7 @@ public class LinuxContainerExecutor extends ContainerExecutor {
|
|||
this.linuxContainerRuntime = runtime;
|
||||
}
|
||||
} catch (ContainerExecutionException e) {
|
||||
LOG.error("Failed to initialize linux container runtime(s)!", e);
|
||||
throw new IOException("Failed to initialize linux container runtime(s)!");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue