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] [Created] (AMBARI-11162) Ambari should configure NameNode to terminate on OutOfMemoryError.
Date Fri, 15 May 2015 10:46:59 GMT
Andrew Onischuk created AMBARI-11162:
----------------------------------------

             Summary: 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