hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uma Maheswara Rao G (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-2939) TestHAStateTransitions#testFailoverWithEmptyInProgressEditLogWithHeader is crashing randomly
Date Sun, 12 Feb 2012 03:50:59 GMT
TestHAStateTransitions#testFailoverWithEmptyInProgressEditLogWithHeader is crashing randomly
--------------------------------------------------------------------------------------------

                 Key: HDFS-2939
                 URL: https://issues.apache.org/jira/browse/HDFS-2939
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: ha, name-node
    Affects Versions: HA branch (HDFS-1623)
            Reporter: Uma Maheswara Rao G


Some times TestHAStateTransitions#testFailoverWithEmptyInProgressEditLogWithHeader is crashing
in my dev env.

{noformat}
2012-02-12 09:12:14,410 INFO  hdfs.MiniDFSCluster (MiniDFSCluster.java:shutdown(1205)) - Shutting
down the Mini HDFS Cluster
2012-02-12 09:12:14,411 INFO  namenode.FSNamesystem (FSNamesystem.java:stopActiveServices(586))
- Stopping services started for active state
2012-02-12 09:12:14,411 INFO  namenode.FSEditLog (FSEditLog.java:endCurrentLogSegment(894))
- Ending log segment 5
2012-02-12 09:12:14,417 INFO  namenode.FSEditLog (FSEditLog.java:printStatistics(591)) - Number
of transactions: 2 Total time for transactions(ms): 0Number of transactions batched in Syncs:
0 Number of syncs: 3 SyncTimes(ms): 19 19 86 
2012-02-12 09:12:14,420 INFO  namenode.FileJournalManager (FileJournalManager.java:finalizeLogSegment(92))
- Finalizing edits file E:\HDFS-1623\hadoop-hdfs-project\hadoop-hdfs\build\test\data\dfs\shared-edits-0-through-1\current\edits_inprogress_0000000000000000005
-> E:\HDFS-1623\hadoop-hdfs-project\hadoop-hdfs\build\test\data\dfs\shared-edits-0-through-1\current\edits_0000000000000000005-0000000000000000006
2012-02-12 09:12:14,421 FATAL namenode.FSEditLog (JournalSet.java:mapJournalsAndReportErrors(327))
- Error: finalize log segment 5, 6 failed for required journal (JournalAndStream(mgr=FileJournalManager(root=E:\HDFS-1623\hadoop-hdfs-project\hadoop-hdfs\build\test\data\dfs\shared-edits-0-through-1),
stream=null))
java.lang.IllegalStateException: Unable to finalize edits file E:\HDFS-1623\hadoop-hdfs-project\hadoop-hdfs\build\test\data\dfs\shared-edits-0-through-1\current\edits_inprogress_0000000000000000005
	at org.apache.hadoop.hdfs.server.namenode.FileJournalManager.finalizeLogSegment(FileJournalManager.java:98)
	at org.apache.hadoop.hdfs.server.namenode.JournalSet$2.apply(JournalSet.java:181)
	at org.apache.hadoop.hdfs.server.namenode.JournalSet.mapJournalsAndReportErrors(JournalSet.java:322)
	at org.apache.hadoop.hdfs.server.namenode.JournalSet.finalizeLogSegment(JournalSet.java:176)
	at org.apache.hadoop.hdfs.server.namenode.FSEditLog.endCurrentLogSegment(FSEditLog.java:909)
	at org.apache.hadoop.hdfs.server.namenode.FSEditLog.close(FSEditLog.java:303)
	at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.stopActiveServices(FSNamesystem.java:595)
	at org.apache.hadoop.hdfs.server.namenode.NameNode$NameNodeHAContext.stopActiveServices(NameNode.java:977)
	at org.apache.hadoop.hdfs.server.namenode.ha.ActiveState.exitState(ActiveState.java:70)
	at org.apache.hadoop.hdfs.server.namenode.NameNode.stop(NameNode.java:585)
	at org.apache.hadoop.hdfs.MiniDFSCluster.shutdown(MiniDFSCluster.java:1211)
	at org.apache.hadoop.hdfs.server.namenode.ha.TestHAStateTransitions.testFailoverAfterCrashDuringLogRoll(TestHAStateTransitions.java:403)
	at org.apache.hadoop.hdfs.server.namenode.ha.TestHAStateTransitions.testFailoverWithEmptyInProgressEditLogWithHeader(TestHAStateTransitions.java:382)
{noformat}

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

        

Mime
View raw message