hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From AJAY GUPTA <ajaygit...@gmail.com>
Subject Re: Documentation for YARN exit codes
Date Mon, 19 Dec 2016 18:38:28 GMT
I found the following 3 exit codes in the code.

https://github.com/apache/hadoop/blob/master/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/ContainerExecutor.java


public enum ExitCode {

    FORCE_KILLED(137),

    TERMINATED(143),

    LOST(154);

    private final int code;



    private ExitCode(int exitCode) {

      this.code = exitCode;

    }

    public int getExitCode() {

      return code;

    }

    @Override

    public String toString() {

      return String.valueOf(code);

    }

  }

On Mon, Dec 19, 2016 at 10:17 PM, Guru Prateek Pinnadhari <
gpinnadhari@zaloni.com> wrote:

> Hi,
>
> Could you please provide me a link to where I can find YARN exit codes and
> their meaning?
>
> For example, what does "Container killed on request. Exit code is 143"
> actually mean?
>
>
> --
> Thanks,
> Guru
>
>

Mime
View raw message