<?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: Is it intended that a manually created rack topology script and data file is overwritten by Ambari after an HDFS restart? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-it-intended-that-a-manually-created-rack-topology-script/m-p/102900#M15257</link>
    <description>&lt;A rel="user" href="https://community.cloudera.com/users/788/skupstaitis-dunkler.html" nodeid="788"&gt;@Stefan Kupstaitis-Dunkler&lt;/A&gt;&lt;P&gt;See this &lt;A target="_blank" href="http://docs.hortonworks.com/HDPDocuments/Ambari-2.1.2.0/bk_Ambari_Users_Guide/content/ch03s11.html"&gt;http://docs.hortonworks.com/HDPDocuments/Ambari-2.1.2.0/bk_Ambari_Users_Guide/content/ch03s11.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Using a Custom Topology Script&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;It is possible to not have Ambari manage the Rack information for hosts. Instead, you can use a custom topology script to provide rack information to HDFS and not use the Amabri-generated topology.py script. If you choose to manage Rack information on your own, you will need to &lt;STRONG&gt;create your own topology script and manage distributing the script to all hosts&lt;/STRONG&gt;. Ambari will also not have any knowledge of host Rack information so heatmaps will not display by Rack in Ambari Web.&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="http://docs.hortonworks.com/HDPDocuments/Ambari-2.1.2.0/bk_Ambari_Users_Guide/content/ch03s11.html"&gt;&lt;/A&gt;To manage Rack information on your own, in the &lt;CODE&gt;Services &amp;gt; HDFS &amp;gt; Configs&lt;/CODE&gt;, modify the &lt;CODE&gt;net.topology.script.file.name&lt;/CODE&gt; property. Set this property value to your own custom topology script (for example &lt;CODE&gt;/etc/hadoop/conf/topology.sh&lt;/CODE&gt; ). Distribute that topology script to your hosts and manage the Rack mapping information for your script outside of Ambari.&lt;/P&gt;</description>
    <pubDate>Sun, 17 Jan 2016 02:57:08 GMT</pubDate>
    <dc:creator>nsabharwal</dc:creator>
    <dc:date>2016-01-17T02:57:08Z</dc:date>
    <item>
      <title>Is it intended that a manually created rack topology script and data file is overwritten by Ambari after an HDFS restart?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-it-intended-that-a-manually-created-rack-topology-script/m-p/102899#M15256</link>
      <description>&lt;P&gt;I played around with rack awareness in HDP 2.3.0 and Ambari 2.1.0&lt;/P&gt;&lt;P&gt;Configuring it solely in Ambari in the Hosts view works fine.&lt;/P&gt;&lt;P&gt;Then I wanted to deploy my own script and my own data file. So I put the script and the data file in in /etc/hadoop/conf/ on all nodes and pointed HDFS to the script via the property net.topology.script.file.name. -&amp;gt; Saved -&amp;gt; restarted.&lt;/P&gt;&lt;P&gt;What happened: The file I deployed was overwritten by the ambari default rack topology script, which points to the default rack data file, which is overwritten after each restart as well.&lt;/P&gt;&lt;P&gt;In terms of consistency, it makes sense to centrally manage this file. On the other hand, there is no option to configure the script and the data file in Ambari.&lt;/P&gt;&lt;P&gt;How would one deploy self-made topology scirpts and data files?&lt;/P&gt;</description>
      <pubDate>Sun, 17 Jan 2016 02:41:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-it-intended-that-a-manually-created-rack-topology-script/m-p/102899#M15256</guid>
      <dc:creator>condla</dc:creator>
      <dc:date>2016-01-17T02:41:37Z</dc:date>
    </item>
    <item>
      <title>Re: Is it intended that a manually created rack topology script and data file is overwritten by Ambari after an HDFS restart?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-it-intended-that-a-manually-created-rack-topology-script/m-p/102900#M15257</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/788/skupstaitis-dunkler.html" nodeid="788"&gt;@Stefan Kupstaitis-Dunkler&lt;/A&gt;&lt;P&gt;See this &lt;A target="_blank" href="http://docs.hortonworks.com/HDPDocuments/Ambari-2.1.2.0/bk_Ambari_Users_Guide/content/ch03s11.html"&gt;http://docs.hortonworks.com/HDPDocuments/Ambari-2.1.2.0/bk_Ambari_Users_Guide/content/ch03s11.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Using a Custom Topology Script&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;It is possible to not have Ambari manage the Rack information for hosts. Instead, you can use a custom topology script to provide rack information to HDFS and not use the Amabri-generated topology.py script. If you choose to manage Rack information on your own, you will need to &lt;STRONG&gt;create your own topology script and manage distributing the script to all hosts&lt;/STRONG&gt;. Ambari will also not have any knowledge of host Rack information so heatmaps will not display by Rack in Ambari Web.&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="http://docs.hortonworks.com/HDPDocuments/Ambari-2.1.2.0/bk_Ambari_Users_Guide/content/ch03s11.html"&gt;&lt;/A&gt;To manage Rack information on your own, in the &lt;CODE&gt;Services &amp;gt; HDFS &amp;gt; Configs&lt;/CODE&gt;, modify the &lt;CODE&gt;net.topology.script.file.name&lt;/CODE&gt; property. Set this property value to your own custom topology script (for example &lt;CODE&gt;/etc/hadoop/conf/topology.sh&lt;/CODE&gt; ). Distribute that topology script to your hosts and manage the Rack mapping information for your script outside of Ambari.&lt;/P&gt;</description>
      <pubDate>Sun, 17 Jan 2016 02:57:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-it-intended-that-a-manually-created-rack-topology-script/m-p/102900#M15257</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2016-01-17T02:57:08Z</dc:date>
    </item>
    <item>
      <title>Re: Is it intended that a manually created rack topology script and data file is overwritten by Ambari after an HDFS restart?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-it-intended-that-a-manually-created-rack-topology-script/m-p/102901#M15258</link>
      <description>&lt;P&gt;I did exactly this -&amp;gt; But as mentioned, what happend is that Ambari overwrote my  custom script with the default one.  &lt;/P&gt;&lt;P&gt;EDIT: so I assume it is a bug?&lt;/P&gt;</description>
      <pubDate>Sun, 17 Jan 2016 03:01:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-it-intended-that-a-manually-created-rack-topology-script/m-p/102901#M15258</guid>
      <dc:creator>condla</dc:creator>
      <dc:date>2016-01-17T03:01:13Z</dc:date>
    </item>
    <item>
      <title>Re: Is it intended that a manually created rack topology script and data file is overwritten by Ambari after an HDFS restart?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-it-intended-that-a-manually-created-rack-topology-script/m-p/102902#M15259</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/310/jeff.html" nodeid="310"&gt;@jeff&lt;/A&gt; Tagging Jeff. I believe we can open a jira to track this down &lt;A rel="user" href="https://community.cloudera.com/users/788/skupstaitis-dunkler.html" nodeid="788"&gt;@Stefan Kupstaitis-Dunkler&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 17 Jan 2016 03:09:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-it-intended-that-a-manually-created-rack-topology-script/m-p/102902#M15259</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2016-01-17T03:09:22Z</dc:date>
    </item>
    <item>
      <title>Re: Is it intended that a manually created rack topology script and data file is overwritten by Ambari after an HDFS restart?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-it-intended-that-a-manually-created-rack-topology-script/m-p/102903#M15260</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/788/skupstaitis-dunkler.html" nodeid="788"&gt;@Stefan Kupstaitis-Dunkler&lt;/A&gt;  Official doc has the right answer. If it's not working and assuming that you did not miss anything then it's a bug. Not sure if downvote was the right action as answer is based on official docs. &lt;/P&gt;&lt;P&gt;I will keep you posted in case I find more information. &lt;/P&gt;</description>
      <pubDate>Sun, 17 Jan 2016 03:14:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-it-intended-that-a-manually-created-rack-topology-script/m-p/102903#M15260</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2016-01-17T03:14:17Z</dc:date>
    </item>
    <item>
      <title>Re: Is it intended that a manually created rack topology script and data file is overwritten by Ambari after an HDFS restart?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-it-intended-that-a-manually-created-rack-topology-script/m-p/102904#M15261</link>
      <description>&lt;P&gt;There was a bug in Ambari 2.1.0, fixed in Ambari 2.1.1 (and later) where Ambari would overwrite your custom script.&lt;/P&gt;&lt;P&gt;&lt;A href="https://issues.apache.org/jira/browse/AMBARI-12662" target="_blank"&gt;https://issues.apache.org/jira/browse/AMBARI-12662&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://hortonworks.jira.com/browse/BUG-42095" target="_blank"&gt;https://hortonworks.jira.com/browse/BUG-42095&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Seems you are using Ambari 2.1.0, so this is fixed in newer releases.&lt;/P&gt;</description>
      <pubDate>Sun, 17 Jan 2016 03:20:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-it-intended-that-a-manually-created-rack-topology-script/m-p/102904#M15261</guid>
      <dc:creator>jeff1</dc:creator>
      <dc:date>2016-01-17T03:20:00Z</dc:date>
    </item>
    <item>
      <title>Re: Is it intended that a manually created rack topology script and data file is overwritten by Ambari after an HDFS restart?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-it-intended-that-a-manually-created-rack-topology-script/m-p/102905#M15262</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/140/nsabharwal.html" nodeid="140"&gt;@Neeraj Sabharwal&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Sorry, but your answer is equivalent to what I explained did not work. And I got this information from the official doc already.&lt;/P&gt;&lt;P&gt;I do not believe to have missed anything: Created a file, deployed it on all nodes, configured the property and restarted. After the restart my topology file had the content of the default one... tried it two times. I will try it in Ambari 2.1.2 if it shows the same behaviour.&lt;/P&gt;&lt;P&gt;Where do I open the jira?&lt;/P&gt;</description>
      <pubDate>Sun, 17 Jan 2016 03:24:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-it-intended-that-a-manually-created-rack-topology-script/m-p/102905#M15262</guid>
      <dc:creator>condla</dc:creator>
      <dc:date>2016-01-17T03:24:06Z</dc:date>
    </item>
    <item>
      <title>Re: Is it intended that a manually created rack topology script and data file is overwritten by Ambari after an HDFS restart?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-it-intended-that-a-manually-created-rack-topology-script/m-p/102906#M15263</link>
      <description>&lt;P&gt;Thanks &lt;A rel="user" href="https://community.cloudera.com/users/310/jeff.html" nodeid="310"&gt;@jeff&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 17 Jan 2016 03:25:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-it-intended-that-a-manually-created-rack-topology-script/m-p/102906#M15263</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2016-01-17T03:25:37Z</dc:date>
    </item>
    <item>
      <title>Re: Is it intended that a manually created rack topology script and data file is overwritten by Ambari after an HDFS restart?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-it-intended-that-a-manually-created-rack-topology-script/m-p/102907#M15264</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/788/skupstaitis-dunkler.html" nodeid="788"&gt;@Stefan Kupstaitis-Dunkler&lt;/A&gt;&lt;P&gt; See this &lt;A href="https://issues.apache.org/jira/secure/CreateIssue!default.jspa"&gt;https://issues.apache.org/jira/secure/CreateIssue!default.jspa&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 17 Jan 2016 03:28:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-it-intended-that-a-manually-created-rack-topology-script/m-p/102907#M15264</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2016-01-17T03:28:29Z</dc:date>
    </item>
    <item>
      <title>Re: Is it intended that a manually created rack topology script and data file is overwritten by Ambari after an HDFS restart?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-it-intended-that-a-manually-created-rack-topology-script/m-p/102908#M15265</link>
      <description>&lt;P&gt;Thanks....&lt;/P&gt;</description>
      <pubDate>Sun, 17 Jan 2016 03:29:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-it-intended-that-a-manually-created-rack-topology-script/m-p/102908#M15265</guid>
      <dc:creator>condla</dc:creator>
      <dc:date>2016-01-17T03:29:32Z</dc:date>
    </item>
  </channel>
</rss>

