ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Onischuk (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (AMBARI-11162) Ambari should configure NameNode to terminate on OutOfMemoryError.
Date Fri, 15 May 2015 11:03:59 GMT

     [ https://issues.apache.org/jira/browse/AMBARI-11162?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Andrew Onischuk resolved AMBARI-11162.
--------------------------------------
    Resolution: Fixed

Committed to trunk

> Ambari should configure NameNode to terminate on OutOfMemoryError.
> ------------------------------------------------------------------
>
>                 Key: AMBARI-11162
>                 URL: https://issues.apache.org/jira/browse/AMBARI-11162
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Andrew Onischuk
>            Assignee: Andrew Onischuk
>             Fix For: 2.1.0
>
>
> It is dangerous for the NameNode to keep running if it encounters
> `OutOfMemoryError`. There is some legacy code in the RPC handling layer that
> catches `OutOfMemoryError`, and we're not going to be able to revert this
> code. Instead, we can kill it externally by setting a JVM option. We would
> like Ambari to configure the NameNode to run with this option:
>     
>     
>     
>     -XX:OnOutOfMemoryError="kill -9 %p"
>     
> This can be set in `HADOOP_NAMENODE_OPTS` in hadoop-env.sh.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message