<?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: What is &amp;quot;namenode_backup_dir&amp;quot; in Advanced hadoop-env on Ambari? in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/What-is-quot-namenode-backup-dir-quot-in-Advanced-hadoop-env/m-p/178372#M140619</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/55170/toide.html" nodeid="55170"&gt;@Takefumi Oide&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Based on the "src/main/resources/stacks/HDP/3.0/services/HDFS/configuration/hadoop-env.xml" &lt;/P&gt;&lt;PRE&gt;  &amp;lt;property&amp;gt;
    &amp;lt;name&amp;gt;namenode_backup_dir&amp;lt;/name&amp;gt;
    &amp;lt;display-name&amp;gt;NameNode Backup directory&amp;lt;/display-name&amp;gt;
    &amp;lt;description&amp;gt;Local directory for storing backup copy of NameNode images during upgrade&amp;lt;/description&amp;gt;
    &amp;lt;value&amp;gt;/tmp/upgrades&amp;lt;/value&amp;gt;
    &amp;lt;on-ambari-upgrade add="false"/&amp;gt;
  &amp;lt;/property&amp;gt;&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;</description>
    <pubDate>Mon, 03 Sep 2018 13:52:48 GMT</pubDate>
    <dc:creator>jsensharma</dc:creator>
    <dc:date>2018-09-03T13:52:48Z</dc:date>
    <item>
      <title>What is "namenode_backup_dir" in Advanced hadoop-env on Ambari?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/What-is-quot-namenode-backup-dir-quot-in-Advanced-hadoop-env/m-p/178371#M140618</link>
      <description>&lt;P&gt;What is "namenode_backup_dir" in Advanced hadoop-env on Ambari?&lt;/P&gt;&lt;P&gt;When is this property used?&lt;/P&gt;</description>
      <pubDate>Mon, 03 Sep 2018 13:46:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/What-is-quot-namenode-backup-dir-quot-in-Advanced-hadoop-env/m-p/178371#M140618</guid>
      <dc:creator>toide</dc:creator>
      <dc:date>2018-09-03T13:46:16Z</dc:date>
    </item>
    <item>
      <title>Re: What is "namenode_backup_dir" in Advanced hadoop-env on Ambari?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/What-is-quot-namenode-backup-dir-quot-in-Advanced-hadoop-env/m-p/178372#M140619</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/55170/toide.html" nodeid="55170"&gt;@Takefumi Oide&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Based on the "src/main/resources/stacks/HDP/3.0/services/HDFS/configuration/hadoop-env.xml" &lt;/P&gt;&lt;PRE&gt;  &amp;lt;property&amp;gt;
    &amp;lt;name&amp;gt;namenode_backup_dir&amp;lt;/name&amp;gt;
    &amp;lt;display-name&amp;gt;NameNode Backup directory&amp;lt;/display-name&amp;gt;
    &amp;lt;description&amp;gt;Local directory for storing backup copy of NameNode images during upgrade&amp;lt;/description&amp;gt;
    &amp;lt;value&amp;gt;/tmp/upgrades&amp;lt;/value&amp;gt;
    &amp;lt;on-ambari-upgrade add="false"/&amp;gt;
  &amp;lt;/property&amp;gt;&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Sep 2018 13:52:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/What-is-quot-namenode-backup-dir-quot-in-Advanced-hadoop-env/m-p/178372#M140619</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2018-09-03T13:52:48Z</dc:date>
    </item>
    <item>
      <title>Re: What is "namenode_backup_dir" in Advanced hadoop-env on Ambari?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/What-is-quot-namenode-backup-dir-quot-in-Advanced-hadoop-env/m-p/178373#M140620</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/55170/toide.html" nodeid="55170"&gt;@Takefumi Oide&lt;BR /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;In order to get more details about why this property was added and why is it needed inside the&lt;STRONG&gt; "namenode_upgrade.py" &lt;/STRONG&gt;script, you can refer to the following JIRA:&lt;/P&gt;&lt;P&gt;During HDP upgrade, Ambari does not allow redirecting the /tmp/upgrade directory elsewhere:  &lt;A href="https://issues.apache.org/jira/browse/AMBARI-18642" target="_blank"&gt;https://issues.apache.org/jira/browse/AMBARI-18642&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Code Changes: &lt;/STRONG&gt;&lt;A href="https://github.com/apache/ambari/commit/4b980f36a7de3f19e9bf8d5b8ae4f593931ec1f0" target="_blank"&gt;https://github.com/apache/ambari/commit/4b980f36a7de3f19e9bf8d5b8ae4f593931ec1f0&lt;/A&gt;&lt;/P&gt;&lt;PRE&gt;# grep 'namenode_backup_dir' /var/lib/ambari-server/resources/common-services/HDFS/2.1.0.2.0/package/scripts/namenode_upgrade.py
  backup_destination_root_dir = "{0}/{1}".format(params.namenode_backup_dir, params.stack_version_unformatted)&amp;lt;br&amp;gt;&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/55170/toide.html" nodeid="55170"&gt;&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Mon, 03 Sep 2018 14:06:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/What-is-quot-namenode-backup-dir-quot-in-Advanced-hadoop-env/m-p/178373#M140620</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2018-09-03T14:06:24Z</dc:date>
    </item>
    <item>
      <title>Re: What is "namenode_backup_dir" in Advanced hadoop-env on Ambari?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/What-is-quot-namenode-backup-dir-quot-in-Advanced-hadoop-env/m-p/178374#M140621</link>
      <description>&lt;P&gt;Thank you very much!&lt;/P&gt;</description>
      <pubDate>Mon, 03 Sep 2018 14:16:14 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/What-is-quot-namenode-backup-dir-quot-in-Advanced-hadoop-env/m-p/178374#M140621</guid>
      <dc:creator>toide</dc:creator>
      <dc:date>2018-09-03T14:16:14Z</dc:date>
    </item>
  </channel>
</rss>

