hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Joseph Evans (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MAPREDUCE-6867) ApplicationMaster hung on OOM Error
Date Thu, 30 Mar 2017 14:41:46 GMT

    [ https://issues.apache.org/jira/browse/MAPREDUCE-6867?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15949200#comment-15949200
] 

Robert Joseph Evans commented on MAPREDUCE-6867:
------------------------------------------------

I am fine with this change.  I put something similar to this in storm, and I thought we had
it here in MR too, but I guess not.  +1

> ApplicationMaster hung on OOM Error
> -----------------------------------
>
>                 Key: MAPREDUCE-6867
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-6867
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: applicationmaster
>            Reporter: Bilwa S T
>            Assignee: Bilwa S T
>
> Whenever OOM Error is thown, {{YarnUncaughtExceptionHandler}} will call {{ExitUtil.halt(-1)}}.But
while halting, OOM might occur which is not handled. 
> We came across a scenario where in when we submit mapreduce application ,OOM error occured
in {{committerEventProcessor}} and then AM did not halt and did not log the following.Finally
AM got hang since it's not thrown to main thread.
> {code}LOG.info("Halt with status " + status + " Message: " + msg);{code}
>  *org.apache.hadoop.util.ExitUtil.halt(int, String)* 
> {code}
> public static void halt(int status, String msg) throws HaltException {
>     LOG.info("Halt with status " + status + " Message: " + msg);
>     if (systemHaltDisabled) {
>       HaltException ee = new HaltException(status, msg);
>       LOG.fatal("Halt called", ee);
>       if (null == firstHaltException) {
>         firstHaltException = ee;
>       }
>       throw ee;
>     }
>     Runtime.getRuntime().halt(status);
>   }
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: mapreduce-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: mapreduce-issues-help@hadoop.apache.org


Mime
View raw message