<?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: HDFS/YARN start by Ambari v.s command line &amp; rack arware in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDFS-YARN-start-by-Ambari-v-s-command-line-rack-arware/m-p/140534#M44044</link>
    <description>&lt;P&gt;This question can be ignored. After further reading, i understood this is expected.  Ambari keeps the configuration somewhere else (most likely in its own repository and then extract and refresh the .xml during start up. Sound makes sense for the usage of repository). &lt;/P&gt;</description>
    <pubDate>Fri, 21 Oct 2016 12:00:16 GMT</pubDate>
    <dc:creator>AllenNiu</dc:creator>
    <dc:date>2016-10-21T12:00:16Z</dc:date>
    <item>
      <title>HDFS/YARN start by Ambari v.s command line &amp; rack arware</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDFS-YARN-start-by-Ambari-v-s-command-line-rack-arware/m-p/140533#M44043</link>
      <description>&lt;P&gt;Just wondering whether Abmari does anything additional, when start HDFS/YARN,  comparing to  from command line directly. &lt;/P&gt;&lt;P&gt;  I noted below case while testing rack awareness which prompts this questions.  
Thanks, Allen.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt; I have 4 node cluster installed by Ambari
By default, it seems Ambari has already has rack awareness enabled. &lt;UL&gt;&lt;LI&gt;
core-site.xml: &amp;lt;name&amp;gt;net.topology.script.file.name&amp;lt;/name&amp;gt;core-site.xml: &amp;lt;value&amp;gt;/etc/hadoop/conf/topology_script.py&amp;lt;/value&amp;gt;&lt;/LI&gt;&lt;LI&gt;
topology_script.py reads config data from topology_mappings.data &lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;topology_script.py:DATA_FILE_NAME = os.path.dirname(os.path.abspath(__file__)) + "/topology_mappings.data"&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;
For testing purpose, I modified the rack info in topology_mappings.data &lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P style="margin-left: 20px;"&gt;a:  when restart the HDFS and YARN manually, the change takes effect &lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P style="margin-left: 20px;"&gt;b.  when restart by Ambari, the change is NOT take effect. And further, the topology_mappings.data content is over-written with 'default' value and all my change has gone.  (Is Ambari collecting the rack info automatically somewhere ?  )&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Thu, 20 Oct 2016 12:57:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDFS-YARN-start-by-Ambari-v-s-command-line-rack-arware/m-p/140533#M44043</guid>
      <dc:creator>AllenNiu</dc:creator>
      <dc:date>2016-10-20T12:57:11Z</dc:date>
    </item>
    <item>
      <title>Re: HDFS/YARN start by Ambari v.s command line &amp; rack arware</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDFS-YARN-start-by-Ambari-v-s-command-line-rack-arware/m-p/140534#M44044</link>
      <description>&lt;P&gt;This question can be ignored. After further reading, i understood this is expected.  Ambari keeps the configuration somewhere else (most likely in its own repository and then extract and refresh the .xml during start up. Sound makes sense for the usage of repository). &lt;/P&gt;</description>
      <pubDate>Fri, 21 Oct 2016 12:00:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDFS-YARN-start-by-Ambari-v-s-command-line-rack-arware/m-p/140534#M44044</guid>
      <dc:creator>AllenNiu</dc:creator>
      <dc:date>2016-10-21T12:00:16Z</dc:date>
    </item>
  </channel>
</rss>

