<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Namenode safe mode in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Namenode-safe-mode/m-p/155254#M57015</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/3057/sreeviswaathikala.html" nodeid="3057"&gt;@Viswa&lt;/A&gt;
&lt;/P&gt;&lt;P&gt;To check Namenode Safe mode status, Login to Namenode host and issue the below command,&lt;/P&gt;&lt;PRE&gt;[user@NNhost1 ~]$ hdfs dfsadmin -safemode get 
Safe mode is OFF in NNhost1/10.X.X.X:8020 
Safe mode is OFF in NNhost2/10.X.X.X:8020

If Safe mode is turned ON, please issue the below command to leave from safemode.
[user@NNhost1 ~]$ hdfs dfsadmin -safemode leave
&lt;/PRE&gt;</description>
    <pubDate>Tue, 14 Mar 2017 17:00:50 GMT</pubDate>
    <dc:creator>rajsyrus</dc:creator>
    <dc:date>2017-03-14T17:00:50Z</dc:date>
    <item>
      <title>Namenode safe mode</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Namenode-safe-mode/m-p/155251#M57012</link>
      <description>&lt;P&gt;During maintenance of Cluster, we put Namenode into Safemode. &lt;/P&gt;&lt;P&gt;How to identify if Namenode is in safemode. I mean is there a command which tells us if Namenode is in safemode. Or what are the characteristics that determine Namenode is under Safe mode&lt;/P&gt;</description>
      <pubDate>Tue, 14 Mar 2017 07:11:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Namenode-safe-mode/m-p/155251#M57012</guid>
      <dc:creator>sreeviswa_athic</dc:creator>
      <dc:date>2017-03-14T07:11:55Z</dc:date>
    </item>
    <item>
      <title>Re: Namenode safe mode</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Namenode-safe-mode/m-p/155252#M57013</link>
      <description>&lt;P&gt;Run hadoop dfsadmin -safemode get&lt;/P&gt;&lt;PRE&gt;[LAKE] [xxx@lake1 ~]# hadoop dfsadmin -safemode get
DEPRECATED: Use of this script to execute hdfs command is deprecated.
Instead use the hdfs command for it.


Safe mode is OFF in xx.xx.xx.com/1xxxx5:8020
Safe mode is OFF in xx.xx.xx.com/1xxx:8020
[LAKE] [xxx@lake1 ~]#


&lt;/PRE&gt;</description>
      <pubDate>Tue, 14 Mar 2017 07:14:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Namenode-safe-mode/m-p/155252#M57013</guid>
      <dc:creator>sunile_manjee</dc:creator>
      <dc:date>2017-03-14T07:14:40Z</dc:date>
    </item>
    <item>
      <title>Re: Namenode safe mode</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Namenode-safe-mode/m-p/155253#M57014</link>
      <description>&lt;P&gt;As per the documentation:&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.3.0-Win/bk_HDP_Install_Win/content/ref-d4ba8d91-cfe7-4655-8181-0168cc6d2681.1.html" target="_blank"&gt;https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.3.0-Win/bk_HDP_Install_Win/content/ref-d4ba8d91-cfe7-4655-8181-0168cc6d2681.1.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Safemode&lt;/STRONG&gt;: Safemode is a state where no changes can be made to the blocks. HDFS cluster is in safemode state during start up because the cluster needs to validate all the blocks and their locations. Once validated, safemode is then disabled.&lt;/P&gt;&lt;P&gt;The options for safemode command are: &lt;/P&gt;&lt;PRE&gt;hdfs dfsadmin -safemode [enter | leave | get]&lt;/PRE&gt;&lt;P&gt;Please see the following commands:&lt;/P&gt;&lt;PRE&gt;root@mycluster:~# su - hdfs
hdfs@mycluster:~$ hdfs dfsadmin -safemode enter
Safe mode is ON
hdfs@mycluster:~$ hdfs dfsadmin -safemode get
Safe mode is ON
hdfs@mycluster:~$ hdfs dfsadmin -safemode leave
Safe mode is OFF
hdfs@mycluster:~$
&lt;/PRE&gt;</description>
      <pubDate>Tue, 14 Mar 2017 13:27:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Namenode-safe-mode/m-p/155253#M57014</guid>
      <dc:creator>namaheshwari</dc:creator>
      <dc:date>2017-03-14T13:27:34Z</dc:date>
    </item>
    <item>
      <title>Re: Namenode safe mode</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Namenode-safe-mode/m-p/155254#M57015</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/3057/sreeviswaathikala.html" nodeid="3057"&gt;@Viswa&lt;/A&gt;
&lt;/P&gt;&lt;P&gt;To check Namenode Safe mode status, Login to Namenode host and issue the below command,&lt;/P&gt;&lt;PRE&gt;[user@NNhost1 ~]$ hdfs dfsadmin -safemode get 
Safe mode is OFF in NNhost1/10.X.X.X:8020 
Safe mode is OFF in NNhost2/10.X.X.X:8020

If Safe mode is turned ON, please issue the below command to leave from safemode.
[user@NNhost1 ~]$ hdfs dfsadmin -safemode leave
&lt;/PRE&gt;</description>
      <pubDate>Tue, 14 Mar 2017 17:00:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Namenode-safe-mode/m-p/155254#M57015</guid>
      <dc:creator>rajsyrus</dc:creator>
      <dc:date>2017-03-14T17:00:50Z</dc:date>
    </item>
  </channel>
</rss>

