Why can we not create directory /user/dataflair/inpdata001 when name node is in safe mode?



Why can we not create directory /user/dataflair/inpdata001 when name node is in safe mode?..

Answer / Bhagat Singh

Hadoop's NameNode enters Safe Mode when there are significant changes to the file system such as adding or removing directories, or after a crash. During Safe Mode, no new files can be created or deleted, and only a limited number of existing files can be modified. This is done to ensure data integrity by preventing any further modifications until the NameNode has checked all the blocks of the affected files and updated its metadata.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Hadoop General Interview Questions

What is the relationship between Jobs and Tasks in Hadoop?

1 Answers  


What happens if you get a ‘connection refused java exception’ when you type hadoop fsck /?

1 Answers  


What are the different modes in which we can configure/install Hadoop?

1 Answers  


How would you restart NameNode?

1 Answers  


What is the job tracker role in hadoop?

1 Answers  


Ideally what should be replication factor in a Hadoop cluster?

1 Answers  


Why would nosql be better than using a sql database? And how much better is it?

1 Answers  


Is it possible to have hadoop job output in multiple directories?

1 Answers  


Explain what is jobtracker in hadoop? What are the actions followed by hadoop?

1 Answers  


What happens when two clients try to access the same file in the hdfs?

1 Answers  


What is heartbeat in hadoop?

1 Answers  


What is streaming access?

1 Answers  


Categories