Praveen,

You just answered yourself. If newer edits (from checkpoint-init) are being 
made to go to a newer edits file, then why do you imagine there'll be a problem 
with file modifications? To remind, the FS structure is also held in memory and 
reflects the current state. Checkpointing is done over the persisted elements.

P.s. Dev. questions are best asked on hdfs-dev so it reaches the right audience.

On 08-Jan-2012, at 10:57 AM, Praveen Sripati wrote:

> During the time the NN stops writing to the old edits file and creates a new 
> edit file, will the file modifications work or not? Curious, how this is 
> handled in the code.
> 
> Praveen
> 
> On Sun, Jan 8, 2012 at 9:34 AM, Harsh J <ha...@cloudera.com> wrote:
> Praveen,
> 
> On 08-Jan-2012, at 9:13 AM, Praveen Sripati wrote:
> 
>> When the checkpointing starts, the primary namenode starts a new edits file. 
>> During the checkpointing process will the namenode go into safe mode?
> 
> No.
> 

Reply via email to