[
https://issues.apache.org/jira/browse/HDFS-2905?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13201737#comment-13201737
]
Bikas Saha commented on HDFS-2905:
----------------------------------
Start 2 NN's with a shared edits dir. Make one active. Let some edits roll. Now
delete the shared edits directory (simulating a shared edits failure). Standby
NN NPE's with the following
12/02/06 14:41:27 WARN namenode.FSNamesystem: NameNode low on available disk
space. Already in safe mode.
12/02/06 14:48:00 INFO hdfs.StateChange: STATE* Safe mode is ON. Resources are
low on NN. Safe mode must be turned off manually.
12/02/06 14:48:05 WARN namenode.NameNodeResourceChecker: Space available on
volume '/dev/disk0s2' is 0, which is below the configured reserved amount
104857600
12/02/06 14:48:05 WARN namenode.FSNamesystem: NameNode low on available disk
space. Already in safe mode.
12/02/06 14:48:05 INFO hdfs.StateChange: STATE* Safe mode is ON. Resources are
low on NN. Safe mode must be turned off manually.
12/02/06 14:48:09 ERROR ha.EditLogTailer: Unknown error encountered while
tailing edits. Shutting down standby NN.
java.lang.NullPointerException
at
org.apache.hadoop.hdfs.server.namenode.FileJournalManager.matchEditLogs(FileJournalManager.java:160)
at
org.apache.hadoop.hdfs.server.namenode.FileJournalManager.getLogFiles(FileJournalManager.java:321)
at
org.apache.hadoop.hdfs.server.namenode.FileJournalManager.getNumberOfTransactions(FileJournalManager.java:228)
at
org.apache.hadoop.hdfs.server.namenode.JournalSet.getInputStream(JournalSet.java:216)
at
org.apache.hadoop.hdfs.server.namenode.FSEditLog.selectInputStreams(FSEditLog.java:1074)
at
org.apache.hadoop.hdfs.server.namenode.ha.EditLogTailer.doTailEdits(EditLogTailer.java:204)
at
org.apache.hadoop.hdfs.server.namenode.ha.EditLogTailer.access$600(EditLogTailer.java:57)
at
org.apache.hadoop.hdfs.server.namenode.ha.EditLogTailer$EditLogTailerThread.run(EditLogTailer.java:298)
12/02/06 14:48:09 INFO namenode.NameNode: SHUTDOWN_MSG:
/************************************************************
> Standby NN NPE when shared edits dir is deleted
> -----------------------------------------------
>
> Key: HDFS-2905
> URL: https://issues.apache.org/jira/browse/HDFS-2905
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: ha, name-node
> Affects Versions: HA branch (HDFS-1623)
> Reporter: Bikas Saha
> Assignee: Bikas Saha
>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira