NameNode Safe Mode and CheckPointing

2012-01-07 Thread Praveen Sripati
When the checkpointing starts, the primary namenode starts a new edits file. During the checkpointing process will the namenode go into safe mode? According to the Hadoop - The Definitive Guide The schedule for checkpointing is controlled by two configuration parameters. The secondary namenode

Re: NameNode Safe Mode and CheckPointing

2012-01-07 Thread Harsh J
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.

Re: NameNode Safe Mode and CheckPointing

2012-01-07 Thread Praveen Sripati
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

Re: NameNode Safe Mode and CheckPointing

2012-01-07 Thread Harsh J
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