Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Namenode: Error replaying edit log at offset 255305832

Highlighted

Namenode: Error replaying edit log at offset 255305832

Explorer

I'm unable to restart my Active and Standby namenodes due to the below error

'ERROR namenode.NameNode (NameNode.java:main(1715)) - Failed to start namenode.
org.apache.hadoop.hdfs.server.namenode.EditLogInputException: Error replaying edit log at offset 255305832. Expected transaction ID was 227551318
Recent opcode offsets: 255305423 255305448 255305682 255305832'

It's HA enabled cluster and all JN are healthy and in sync.

JN - current

-rw-r--r-- 1 hdfs hadoop 472987173 Jul 19 07:20 edits_0000000000226465144-0000000000228472906
-rw-r--r-- 1 hdfs hadoop 420478976 Jul 20 06:09 edits_inprogress_0000000000228472907
-rw-r--r-- 1 hdfs hadoop 3 Jun 15 11:04 last-promised-epoch
-rw-r--r-- 1 hdfs hadoop 3 Jun 15 11:04 last-writer-epoch
drwxr-xr-x 2 hdfs hadoop 6 Jun 15 11:04 paxos
-rw-r--r-- 1 hdfs hadoop 166 Mar 18 22:40 VERSION

Master -1

-rw-r--r-- 1 hdfs hadoop 472987173 Jul 19 07:20 edits_0000000000226465144-0000000000228472906
-rw-r--r-- 1 hdfs hadoop 420478976 Jul 20 06:09 edits_inprogress_0000000000228472907
-rw-r--r-- 1 hdfs hadoop 1375065557 Jul 18 12:51 fsimage_0000000000225338799
-rw-r--r-- 1 hdfs hadoop 62 Jul 18 12:51 fsimage_0000000000225338799.md5
-rw-r--r-- 1 hdfs hadoop 1389972718 Jul 18 18:46 fsimage_0000000000226342776
-rw-r--r-- 1 hdfs hadoop 62 Jul 18 18:46 fsimage_0000000000226342776.md5
-rw-r--r-- 1 hdfs hadoop 10 Jul 19 07:20 seen_txid
-rw-r--r-- 1 hdfs hadoop 217 Jun 15 07:44 VERSION

 

Master -2

-rw-r--r-- 1 hdfs hadoop 57175 Jun 15 11:01 edits_0000000000137670883-0000000000137671342
-rw-r--r-- 1 hdfs hadoop 1048576 Jun 15 11:01 edits_inprogress_0000000000137671343
-rw-r--r-- 1 hdfs hadoop 1389972718 Jul 18 18:45 fsimage_0000000000226342776
-rw-r--r-- 1 hdfs hadoop 62 Jul 18 18:45 fsimage_0000000000226342776.md5
-rw-r--r-- 1 hdfs hadoop 1391723781 Jul 19 00:57 fsimage_0000000000226463659
-rw-r--r-- 1 hdfs hadoop 62 Jul 19 00:57 fsimage_0000000000226463659.md5
-rw-r--r-- 1 hdfs hadoop 10 Jun 15 11:01 seen_txid
-rw-r--r-- 1 hdfs hadoop 217 Jul 19 00:57 VERSION

Don't have an account?
Coming from Hortonworks? Activate your account here