Support Questions

Find answers, ask questions, and share your expertise

Standby namenode going down after removing logs from /var/log

Someone run truncate -s 0 * inside /var/log, after that standby namenode going down.

Can someone kindly help me.

2 REPLIES 2

Super Mentor

@Kalyan Das

Can you try starting your Standby Node manually and see what happens. Command can be found here:

https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.6.3/bk_administration/content/starting_hdp_serv...

In case you find any error in the Standby NN logs then please share the log & out file.

.

@Jay Kumar SenSharma

Hi Jay,

Its seems Standby Namenode is not in sync with Primay namenode.

Can I run this command, from secondary namenode.

hdfs namenode -bootstrapStandby -force

Can you kindly tell me what impact it will cause?

Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.