<?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: yarn local dirs + safety moving the local dir to Data mount points in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/yarn-local-dirs-safety-moving-the-local-dir-to-Data-mount/m-p/241120#M202924</link>
    <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/26229/uribarih.html"&gt;Michael Bronson&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Yes true, similarly it's not a good idea to use &lt;EM&gt;/var&lt;/EM&gt; for &lt;EM&gt;yarn.nodemanager.local-dirs&lt;/EM&gt;  which are container local. Typically, you can direct these to all the data mount points (like /grid/sdb/hadoop/yarn/local). Same thing for yarn logs (/grid/sdb/hadoop/yarn/log) &lt;EM&gt;yarn.nodemanager.log-dirs&lt;/EM&gt;. This can help with reducing all your IO going to your OS disk (where you typically have &lt;EM&gt;/var&lt;/EM&gt;).  You can take a look at &lt;A href="http://hortonworks.com/blog/resource-localization-in-yarn-deep-dive/"&gt;http://hortonworks.com/blog/resource-localization-in-yarn-deep-dive/&lt;/A&gt; &lt;/P&gt;&lt;P&gt;I hope that the above answers your questions. Please accept the answer you found most useful.&lt;/P&gt;</description>
    <pubDate>Thu, 27 Dec 2018 18:23:41 GMT</pubDate>
    <dc:creator>jagadeesan</dc:creator>
    <dc:date>2018-12-27T18:23:41Z</dc:date>
    <item>
      <title>yarn local dirs + safety moving the local dir to Data mount points</title>
      <link>https://community.cloudera.com/t5/Support-Questions/yarn-local-dirs-safety-moving-the-local-dir-to-Data-mount/m-p/241119#M202923</link>
      <description>&lt;P&gt;hi all&lt;/P&gt;&lt;P&gt;We have ambari cluster with&lt;STRONG&gt; 134 DATANODE&lt;/STRONG&gt; machines,&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;in YARN --&amp;gt; CONFIG&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;yarn.nodemanager.local-dirs &lt;/PRE&gt;&lt;P&gt;configured as the following: &lt;/P&gt;&lt;PRE&gt;/var/hadoop/yarn/local,/grid/sdb/hadoop/yarn/local,/grid/sdc/hadoop/yarn/local,/grid/sdd/hadoop/yarn/local,/grid/sde/hadoop/yarn/local,/grid/sdf/hadoop/yarn/local&lt;/PRE&gt;&lt;P&gt;we want to remove the - &lt;STRONG&gt;/var/hadoop/yarn/local&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;from the configuration , and that required also &lt;STRONG&gt;YARN restart &lt;/STRONG&gt;and maybe other services restart&lt;/P&gt;&lt;P&gt;we intend to do this action to avoid writing to the local disk ( /var )&lt;/P&gt;&lt;P&gt;since we have &lt;STRONG&gt;143 data-node machines &lt;/STRONG&gt;in our ambari cluster &lt;/P&gt;&lt;P&gt;we worry about this action of removing the line&lt;STRONG&gt; /var/hadoop/yarn/local &lt;/STRONG&gt;from &lt;STRONG&gt;yarn.nodemanager.local-dirs&lt;/STRONG&gt; ,  &lt;/P&gt;&lt;P&gt;or maybe we can do it safety ?&lt;/P&gt;&lt;P&gt;we will happy to get &lt;STRONG&gt;hortonworks &lt;/STRONG&gt;opinion &lt;/P&gt;&lt;P&gt;we know that generally not a good idea to use &lt;STRONG&gt;/hadoop/yarn/local&lt;/STRONG&gt; for yarn.nodemanager.log-dirs which are container logs. Typically, we prefer to direct only these logs to all the Data mount points (like /grid/sdb/hadoop/yarn/local ). &lt;/P&gt;</description>
      <pubDate>Thu, 27 Dec 2018 17:44:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/yarn-local-dirs-safety-moving-the-local-dir-to-Data-mount/m-p/241119#M202923</guid>
      <dc:creator>mike_bronson7</dc:creator>
      <dc:date>2018-12-27T17:44:38Z</dc:date>
    </item>
    <item>
      <title>Re: yarn local dirs + safety moving the local dir to Data mount points</title>
      <link>https://community.cloudera.com/t5/Support-Questions/yarn-local-dirs-safety-moving-the-local-dir-to-Data-mount/m-p/241120#M202924</link>
      <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/26229/uribarih.html"&gt;Michael Bronson&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Yes true, similarly it's not a good idea to use &lt;EM&gt;/var&lt;/EM&gt; for &lt;EM&gt;yarn.nodemanager.local-dirs&lt;/EM&gt;  which are container local. Typically, you can direct these to all the data mount points (like /grid/sdb/hadoop/yarn/local). Same thing for yarn logs (/grid/sdb/hadoop/yarn/log) &lt;EM&gt;yarn.nodemanager.log-dirs&lt;/EM&gt;. This can help with reducing all your IO going to your OS disk (where you typically have &lt;EM&gt;/var&lt;/EM&gt;).  You can take a look at &lt;A href="http://hortonworks.com/blog/resource-localization-in-yarn-deep-dive/"&gt;http://hortonworks.com/blog/resource-localization-in-yarn-deep-dive/&lt;/A&gt; &lt;/P&gt;&lt;P&gt;I hope that the above answers your questions. Please accept the answer you found most useful.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Dec 2018 18:23:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/yarn-local-dirs-safety-moving-the-local-dir-to-Data-mount/m-p/241120#M202924</guid>
      <dc:creator>jagadeesan</dc:creator>
      <dc:date>2018-12-27T18:23:41Z</dc:date>
    </item>
    <item>
      <title>Re: yarn local dirs + safety moving the local dir to Data mount points</title>
      <link>https://community.cloudera.com/t5/Support-Questions/yarn-local-dirs-safety-moving-the-local-dir-to-Data-mount/m-p/241121#M202925</link>
      <description>&lt;P&gt;thank you , but one of my question was about to change the YARN configuration by delete the - /var/hadoop/yarn/local , from YARN , so after that as you know YARN required restart and we need to do it but will little worry if restart will failed because this changes , or maybe it is safe to do this change , what is your opinion ? &lt;/P&gt;</description>
      <pubDate>Thu, 27 Dec 2018 18:30:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/yarn-local-dirs-safety-moving-the-local-dir-to-Data-mount/m-p/241121#M202925</guid>
      <dc:creator>mike_bronson7</dc:creator>
      <dc:date>2018-12-27T18:30:39Z</dc:date>
    </item>
    <item>
      <title>Re: yarn local dirs + safety moving the local dir to Data mount points</title>
      <link>https://community.cloudera.com/t5/Support-Questions/yarn-local-dirs-safety-moving-the-local-dir-to-Data-mount/m-p/241122#M202926</link>
      <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/26229/uribarih.html"&gt;Michael Bronson&lt;/A&gt; After configuration changes, it's safe to restart required services, those restart will make necessary new changes into the system. In our case, &lt;EM&gt;yarn.nodemanager.local-dirs &lt;/EM&gt;will point out to new location&lt;EM&gt; &lt;/EM&gt;&lt;EM&gt;/grid/sdb/hadoop/yarn/local&lt;/EM&gt; instead of  old location &lt;EM&gt;/var/hadoop/yarn/local . &lt;/EM&gt;In short, restart will not cause any issue either after delete old files or after change in YARN configuration. I hope this answered your concerns.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Dec 2018 18:57:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/yarn-local-dirs-safety-moving-the-local-dir-to-Data-mount/m-p/241122#M202926</guid>
      <dc:creator>jagadeesan</dc:creator>
      <dc:date>2018-12-27T18:57:28Z</dc:date>
    </item>
  </channel>
</rss>

