In progress edit log from last run not being played in case of a cluster (HA) restart

2014-07-04 Thread Nitin Goyal
).getCheckpointTxId() + 1, - toAtLeastTxId, recovery, false); + toAtLeastTxId, recovery, true); } else { editStreams = FSImagePreTransactionalStorageInspector .getEditLogStreams(storage); -- Regards Nitin Goyal

Editlog recoverUnclosedStreams not getting called when cluster restarted and its not an UPGRADE

2014-07-02 Thread Nitin Goyal
not doing an upgrade. editLog.initSharedJournalsForRead(); } } Actually, I have a use case where I want to read the progress file when the namenode comes up while Yarn HA is enabled. I am using hadoop 2.4. -- Regards Nitin Goyal