<?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 start field with ambari in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/namenode-start-field-with-ambari/m-p/169071#M29839</link>
    <description>&lt;P&gt;thanks, I changed my acount to hdfs and enter hdfs dfsadmin -safemode leave.&lt;/P&gt;</description>
    <pubDate>Thu, 26 May 2016 19:31:29 GMT</pubDate>
    <dc:creator>wangcmic</dc:creator>
    <dc:date>2016-05-26T19:31:29Z</dc:date>
    <item>
      <title>namenode start field with ambari</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/namenode-start-field-with-ambari/m-p/169069#M29837</link>
      <description>&lt;P&gt;I installed HDP2.4 with ambari2.1.0,It is first time.then i restarted my notebook. NameNode not be start.&lt;/P&gt;&lt;PRE&gt;2016-05-26 12:07:26,882 - Directory['/var/run/hadoop/hdfs'] {'owner': 'hdfs', 'recursive': True}
2016-05-26 12:07:26,882 - Directory['/var/log/hadoop/hdfs'] {'owner': 'hdfs', 'recursive': True}
2016-05-26 12:07:26,882 - File['/var/run/hadoop/hdfs/hadoop-hdfs-namenode.pid'] {'action': ['delete'], 'not_if': 'ambari-sudo.sh  -H -E test -f /var/run/hadoop/hdfs/hadoop-hdfs-namenode.pid &amp;amp;&amp;amp; ambari-sudo.sh  -H -E pgrep -F /var/run/hadoop/hdfs/hadoop-hdfs-namenode.pid'}
2016-05-26 12:07:27,023 - Execute['ambari-sudo.sh su hdfs -l -s /bin/bash -c 'ulimit -c unlimited ;  /usr/hdp/current/hadoop-client/sbin/hadoop-daemon.sh --config /usr/hdp/current/hadoop-client/conf start namenode''] {'environment': {'HADOOP_LIBEXEC_DIR': '/usr/hdp/current/hadoop-client/libexec'}, 'not_if': 'ambari-sudo.sh  -H -E test -f /var/run/hadoop/hdfs/hadoop-hdfs-namenode.pid &amp;amp;&amp;amp; ambari-sudo.sh  -H -E pgrep -F /var/run/hadoop/hdfs/hadoop-hdfs-namenode.pid'}
2016-05-26 12:07:31,432 - Must wait to leave safemode since High Availability is not enabled.
2016-05-26 12:07:31,432 - Stay in safe mode: False
2016-05-26 12:07:31,432 - Wait to leafe safemode since must transition from ON to OFF.
2016-05-26 12:07:31,433 - Execute['/usr/hdp/current/hadoop-hdfs-namenode/bin/hdfs dfsadmin -fs hdfs://node1:8020 -safemode get | grep 'Safe mode is OFF''] {'logoutput': True, 'tries': 115, 'user': 'hdfs', 'try_sleep': 10}
2016-05-26 12:07:38,161 - Retrying after 10 seconds. Reason: Execution of '/usr/hdp/current/hadoop-hdfs-namenode/bin/hdfs dfsadmin -fs hdfs://node1:8020 -safemode get | grep 'Safe mode is OFF'' returned 1. 
2016-05-26 12:07:51,692 - Retrying after 10 seconds. Reason: Execution of '/usr/hdp/current/hadoop-hdfs-namenode/bin/hdfs dfsadmin -fs hdfs://node1:8020 -safemode get | grep 'Safe mode is OFF'' returned 1.&lt;/PRE&gt;</description>
      <pubDate>Thu, 26 May 2016 19:17:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/namenode-start-field-with-ambari/m-p/169069#M29837</guid>
      <dc:creator>wangcmic</dc:creator>
      <dc:date>2016-05-26T19:17:30Z</dc:date>
    </item>
    <item>
      <title>Re: namenode start field with ambari</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/namenode-start-field-with-ambari/m-p/169070#M29838</link>
      <description>&lt;P&gt;How long has this been in this state? It looks like NN is up but still in safemode (it will be safemode until the threshold of blocks are reported ). You can take a look at Namenode UI (http://&amp;lt;NN Node&amp;gt;:50070) to see why it is in safemode. It will report how many blocks are reported and how many datanodes reported. &lt;/P&gt;</description>
      <pubDate>Thu, 26 May 2016 19:28:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/namenode-start-field-with-ambari/m-p/169070#M29838</guid>
      <dc:creator>ravi1</dc:creator>
      <dc:date>2016-05-26T19:28:58Z</dc:date>
    </item>
    <item>
      <title>Re: namenode start field with ambari</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/namenode-start-field-with-ambari/m-p/169071#M29839</link>
      <description>&lt;P&gt;thanks, I changed my acount to hdfs and enter hdfs dfsadmin -safemode leave.&lt;/P&gt;</description>
      <pubDate>Thu, 26 May 2016 19:31:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/namenode-start-field-with-ambari/m-p/169071#M29839</guid>
      <dc:creator>wangcmic</dc:creator>
      <dc:date>2016-05-26T19:31:29Z</dc:date>
    </item>
    <item>
      <title>Re: namenode start field with ambari</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/namenode-start-field-with-ambari/m-p/169072#M29840</link>
      <description>&lt;P&gt;A better option is to check why it is in safemode in the first place. Most likely situation is missing blocks and DNs down but there is a reason why it was in safemode. &lt;/P&gt;</description>
      <pubDate>Thu, 26 May 2016 19:39:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/namenode-start-field-with-ambari/m-p/169072#M29840</guid>
      <dc:creator>ravi1</dc:creator>
      <dc:date>2016-05-26T19:39:39Z</dc:date>
    </item>
  </channel>
</rss>

