SecondaryNamenode process should exit if it encounters Runtime exceptions
-------------------------------------------------------------------------

                 Key: HADOOP-2209
                 URL: https://issues.apache.org/jira/browse/HADOOP-2209
             Project: Hadoop
          Issue Type: Bug
          Components: dfs
            Reporter: dhruba borthakur
             Fix For: 0.16.0


I saw a case when the SecondaryNamenode encountered a OutOfMemory exception 
because the fsimage and edits file were too big to fit into the Secondary 
Namenode's memory. However, the process did not exit.

Exception in thread "[EMAIL PROTECTED]" java.lang.OutOfMemoryError: GC overhead 
limit
exceeded
  at java.lang.AbstractStringBuilder.<init>(AbstractStringBuilder.java:45)
  at java.lang.StringBuffer.<init>(StringBuffer.java:91)
  at org.apache.hadoop.io.UTF8.toString(UTF8.java:129)
  at org.apache.hadoop.dfs.FSImage.loadFSImage(FSImage.java:692)
  at org.apache.hadoop.dfs.SecondaryNameNode.doMerge(SecondaryNameNode.java:304)
  at 
org.apache.hadoop.dfs.SecondaryNameNode.doCheckpoint(SecondaryNameNode.java:273)
  at org.apache.hadoop.dfs.SecondaryNameNode.run(SecondaryNameNode.java:190)
  at java.lang.Thread.run(Thread.java:619)
                


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to