Support Questions

Find answers, ask questions, and share your expertise

how to get more details from safemode get

avatar

when we do safemode get we get the following:

su hdfs -c 'hdfs dfsadmin -safemode get'
Safe mode is ON in master01.sys23dns.com/107.64.25.61:8020
Safe mode is ON in master03.sys23dns.com/107.64.25.63:8020

its tell us that master01 and master02 are in safe mode

can we get more specific details from "safemode get" , about who are the services/components that are in safe mode?

I ask because I guess one service or more are in safe mode , and I want to get exactly the details who are in safe mode from the services ,

Michael-Bronson
1 ACCEPTED SOLUTION

avatar
Super Guru

@Michael Bronson,

Safe mode above applies only for NameNode and not for any other services/components. The above command gives you the safe mode status of 2 nodes (Active NameNode and standby NameNode)

You can read more about safe mode from the below links

http://hadooptutorial.info/safe-mode-in-hadoop/

http://data-flair.training/forums/topic/what-is-safemode-in-hadoop

Thanks,

Aditya

View solution in original post

1 REPLY 1

avatar
Super Guru

@Michael Bronson,

Safe mode above applies only for NameNode and not for any other services/components. The above command gives you the safe mode status of 2 nodes (Active NameNode and standby NameNode)

You can read more about safe mode from the below links

http://hadooptutorial.info/safe-mode-in-hadoop/

http://data-flair.training/forums/topic/what-is-safemode-in-hadoop

Thanks,

Aditya