<?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 How can I change yarn.nodemanager.local-dirs to point to file:/// (high performance NFS mount point) in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-can-I-change-yarn-nodemanager-local-dirs-to-point-to/m-p/178742#M67816</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm trying to change the "yarn.nodemanager.local-dirs" to point to "file:///fast_nfs/yarn/local". This is indeed a high-performance NFS mount-point that all the nodes in my cluster have.&lt;/P&gt;&lt;P&gt;When I try to change it in Ambari I can't and the message "&lt;EM&gt;Must be a slash or drive at the start, and must not contain white spaces&lt;/EM&gt;" is displayed.&lt;/P&gt;&lt;P&gt;If I manually change the /etc/hadoop/conf/yarn-site.xml in all the nodes, after restarting YARN the "file:///" is removed from that option.&lt;/P&gt;&lt;P&gt;I want to have all the shuffle happening in my high-performance NFS array instead of in HDFS.&lt;/P&gt;&lt;P&gt;How can I change this behaviour in HDP? &lt;/P&gt;</description>
    <pubDate>Sun, 10 Sep 2017 08:24:02 GMT</pubDate>
    <dc:creator>raul_ping4rr0n</dc:creator>
    <dc:date>2017-09-10T08:24:02Z</dc:date>
    <item>
      <title>How can I change yarn.nodemanager.local-dirs to point to file:/// (high performance NFS mount point)</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-can-I-change-yarn-nodemanager-local-dirs-to-point-to/m-p/178742#M67816</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm trying to change the "yarn.nodemanager.local-dirs" to point to "file:///fast_nfs/yarn/local". This is indeed a high-performance NFS mount-point that all the nodes in my cluster have.&lt;/P&gt;&lt;P&gt;When I try to change it in Ambari I can't and the message "&lt;EM&gt;Must be a slash or drive at the start, and must not contain white spaces&lt;/EM&gt;" is displayed.&lt;/P&gt;&lt;P&gt;If I manually change the /etc/hadoop/conf/yarn-site.xml in all the nodes, after restarting YARN the "file:///" is removed from that option.&lt;/P&gt;&lt;P&gt;I want to have all the shuffle happening in my high-performance NFS array instead of in HDFS.&lt;/P&gt;&lt;P&gt;How can I change this behaviour in HDP? &lt;/P&gt;</description>
      <pubDate>Sun, 10 Sep 2017 08:24:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-can-I-change-yarn-nodemanager-local-dirs-to-point-to/m-p/178742#M67816</guid>
      <dc:creator>raul_ping4rr0n</dc:creator>
      <dc:date>2017-09-10T08:24:02Z</dc:date>
    </item>
    <item>
      <title>Re: How can I change yarn.nodemanager.local-dirs to point to file:/// (high performance NFS mount point)</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-can-I-change-yarn-nodemanager-local-dirs-to-point-to/m-p/178743#M67817</link>
      <description>&lt;P&gt;&lt;EM&gt;@&lt;A href="https://community.hortonworks.com/users/37155/raulping4rr0n.html"&gt;Raul Pingarrón&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;The culprit is "&lt;STRONG&gt;file:///&lt;/STRONG&gt; "you should get a was to create a mount point &lt;STRONG&gt;/fast_nfs/yarn/local&lt;/STRONG&gt;, hence the message "Must be a slash or drive ........"  like te list below&lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;&lt;EM&gt;/hadoop/yarn/local,/opt/hadoop/yarn/local,/usr/hadoop/yarn/local,/var/hadoop/yarn/local&lt;/EM&gt;&lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;Hope that helps&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 10 Sep 2017 16:16:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-can-I-change-yarn-nodemanager-local-dirs-to-point-to/m-p/178743#M67817</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2017-09-10T16:16:33Z</dc:date>
    </item>
    <item>
      <title>Re: How can I change yarn.nodemanager.local-dirs to point to file:/// (high performance NFS mount point)</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-can-I-change-yarn-nodemanager-local-dirs-to-point-to/m-p/178744#M67818</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1271/sheltong.html" nodeid="1271"&gt;@Geoffrey Shelton Okot&lt;/A&gt; you're absolutely right! Thank you a lot.&lt;/P&gt;&lt;P&gt;I was struggling to understand why I was loosing containers the first time I used "/fast_nfs/yarn/local (was getting "file not found" error messages) and then the tiredness made me think of using hdfs:/// instead...and I ended up sending this dumb question.&lt;/P&gt;&lt;P&gt;My initial problem was caused by the fact that I was using the same NFS filesystem and path for all the nodes. After mounting /fast_nfs/nodeXXX/ on each node (where nodeXXX contains the yarn/local subdir) and adjusting permissions it worked perfectly (note that node1 gets /fast_nfs/node001 mounted as /scratch, node2 gets /fast_nfs/node002 mounted as /scratch and so on, so I'm using /fast_nfs as the NFS filesystem and mounting subdirs for each node..and defined yarn.nodemanager.local-dir as "/scratch/yarn/local")&lt;/P&gt;</description>
      <pubDate>Mon, 11 Sep 2017 04:23:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-can-I-change-yarn-nodemanager-local-dirs-to-point-to/m-p/178744#M67818</guid>
      <dc:creator>raul_ping4rr0n</dc:creator>
      <dc:date>2017-09-11T04:23:21Z</dc:date>
    </item>
  </channel>
</rss>

