hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Guru Prateek Pinnadhari <gpinnadh...@zaloni.com>
Subject Re: Documentation for YARN exit codes
Date Mon, 19 Dec 2016 19:55:35 GMT
Thank you Ajay. Was hoping for a documented list of error codes but looks
like there isnt one.

-- 
Thanks,
Guru


On December 19, 2016 at 1:38:30 PM, AJAY GUPTA (ajaygit158@gmail.com) wrote:
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