diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/LinuxContainerExecutor.java b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/LinuxContainerExecutor.java index f75ead2e0dd..b3c9d5ff8b8 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/LinuxContainerExecutor.java +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/LinuxContainerExecutor.java @@ -611,17 +611,7 @@ public class LinuxContainerExecutor extends ContainerExecutor { if (exitCode == ExitCode.INVALID_CONTAINER_EXEC_PERMISSIONS.getExitCode() || exitCode == - ExitCode.INVALID_CONFIG_FILE.getExitCode() || - exitCode == - ExitCode.COULD_NOT_CREATE_SCRIPT_COPY.getExitCode() || - exitCode == - ExitCode.COULD_NOT_CREATE_CREDENTIALS_FILE.getExitCode() || - exitCode == - ExitCode.COULD_NOT_CREATE_WORK_DIRECTORIES.getExitCode() || - exitCode == - ExitCode.COULD_NOT_CREATE_APP_LOG_DIRECTORIES.getExitCode() || - exitCode == - ExitCode.COULD_NOT_CREATE_TMP_DIRECTORIES.getExitCode()) { + ExitCode.INVALID_CONFIG_FILE.getExitCode()) { throw new ConfigurationException( "Linux Container Executor reached unrecoverable exception", e); }