Reply
Highlighted
Explorer
Posts: 15
Registered: ‎04-17-2014

NameNode enters safemode frequently .. anyway to avoid this?!

Hi folks,

 

NameNode usually enters the safemode and I can't write anything or copy data to HDFS until i execute -dfsadmin samemofe leave?

 

I have no idea what causes this frequent action that NameNode enters the safemode because of, and I would like to know if there anyway to overcome this action or at least stop it from happening everything might be some data are missing or whatever causing this ?

 

 

Cheers,

Abdel

 

Cloudera Employee
Posts: 578
Registered: ‎01-20-2014

Re: NameNode enters safemode frequently .. anyway to avoid this?!

The first place to check would be your logs. What does it say? You can look at /var/log/hadoop-hdfs/*NAMENODE*
Regards,
Gautam Gopalakrishnan
TFB
New Contributor
Posts: 4
Registered: ‎07-21-2015

Re: NameNode enters safemode frequently .. anyway to avoid this?!

I am having the same problem. From the namenode log
file.

The reported blocks 1196 needs additional 26 blocks to reach the threshold 0.9990 of total blocks 1223.
The number of live datanodes 1 has reached the minimum number 0. Safe mode will be turned off automatically once the thresholds have been reached.

How do I resolve?

Thanks
Announcements