Thanks Ayush, I am trying to understand the reason why Active NN does not have a record of txn ids that are in shared edit space.
On Sat, May 25, 2024 at 7:54 AM Ayush Saxena <ayush...@gmail.com> wrote: > Hi Anup, > Did you explore: -skipSharedEditsCheck, Check this ticket once [1], if > your use case is similar, little bit description can be found here > [2], search for skipSharedEditsCheck, the jira does mention another > solution as well, in case you don't like this or if it doesn't work > > -Ayush > > > [1] https://issues.apache.org/jira/browse/HDFS-4120 > [2] > https://apache.github.io/hadoop/hadoop-project-dist/hadoop-hdfs/HDFSCommands.html#namenode > > On Sat, 25 May 2024 at 01:59, anup ahire <ahirea...@gmail.com> wrote: > > > > Hello Team, > > > > I am trying to recover the failed node which has namenode and journal > node, the cluster has one active NN and 2 journal nodes currently. > > When I am trying to setup node being recovered as standby, I am getting > this error. > > > > java.io.IOException: Gap in transactions. Expected to be able to read up > until at least txid 22450 but unable to find any edit logs containing txid 1 > > > > Any idea what might be happening? As one NN active and 2 journal nodes > are running, I was hoping all edit logs would be in sync. > > > > Thanks. >