Container exit status for released container

2013-12-23 Thread Krishna Kishore Bonagiri
Hi,
 I am seeing the exit status of released container(released through a call
to releaseAssignedContainer())  to be -100. Can my code assume that -100
will always be given as exit status for a released container by YARN?

Thanks,
Kishore


Re: Container exit status for released container

2013-12-26 Thread Jian He
Not true, you can look at ContainerExitStatus.java which includes all the
possible exit codes

Jian


On Mon, Dec 23, 2013 at 11:06 PM, Krishna Kishore Bonagiri <
write2kish...@gmail.com> wrote:

> Hi,
>  I am seeing the exit status of released container(released through a call
> to releaseAssignedContainer())  to be -100. Can my code assume that -100
> will always be given as exit status for a released container by YARN?
>
> Thanks,
> Kishore
>

-- 
CONFIDENTIALITY NOTICE
NOTICE: This message is intended for the use of the individual or entity to 
which it is addressed and may contain information that is confidential, 
privileged and exempt from disclosure under applicable law. If the reader 
of this message is not the intended recipient, you are hereby notified that 
any printing, copying, dissemination, distribution, disclosure or 
forwarding of this communication is strictly prohibited. If you have 
received this communication in error, please contact the sender immediately 
and delete it from your system. Thank You.


Re: Container exit status for released container

2013-12-27 Thread omkar joshi
I think this is tricky in the sense if application returns with same exit
code then I am not sure if we differentiate between the two. But can be
used as defaults.


On Thu, Dec 26, 2013 at 11:24 AM, Jian He  wrote:

> Not true, you can look at ContainerExitStatus.java which includes all the
> possible exit codes
>
> Jian
>
>
> On Mon, Dec 23, 2013 at 11:06 PM, Krishna Kishore Bonagiri <
> write2kish...@gmail.com> wrote:
>
>> Hi,
>>  I am seeing the exit status of released container(released through a
>> call to releaseAssignedContainer())  to be -100. Can my code assume that
>> -100 will always be given as exit status for a released container by YARN?
>>
>> Thanks,
>> Kishore
>>
>
>
> CONFIDENTIALITY NOTICE
> NOTICE: This message is intended for the use of the individual or entity
> to which it is addressed and may contain information that is confidential,
> privileged and exempt from disclosure under applicable law. If the reader
> of this message is not the intended recipient, you are hereby notified that
> any printing, copying, dissemination, distribution, disclosure or
> forwarding of this communication is strictly prohibited. If you have
> received this communication in error, please contact the sender immediately
> and delete it from your system. Thank You.