<?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: Using NFS with Ambari 2.1 and above in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Using-NFS-with-Ambari-2-1-and-above/m-p/94311#M7610</link>
    <description>&lt;P&gt;I'll answer my own question here since I was able to work through it on a new install.&lt;/P&gt;&lt;P&gt;With a fresh installation of HDP 2.3 with Ambari 2.1.1, you'll be 
prompted during the installation to select a server (or more) to install
 the NFS gateway on.  This happens in the same configuration windows 
during cluster configuration where you designate Datanodes, Region 
Servers, Phoenix Servers, etc..&lt;/P&gt;&lt;P&gt;After the installation has finished, you'll see indications that the NFS Gateway is running on the choosen servers.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="102-image2015-9-28-16-46-7.png" style="width: 468px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/24065iFB1C4479D2DFAE48/image-size/medium?v=v2&amp;amp;px=400" role="button" title="102-image2015-9-28-16-46-7.png" alt="102-image2015-9-28-16-46-7.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Now what?  If you go to one of the servers and do a&lt;/P&gt;
&lt;CODE&gt;df &lt;/CODE&gt;&lt;CODE&gt;-&lt;/CODE&gt;&lt;CODE&gt;h&lt;/CODE&gt;
&lt;P&gt;you won't see any new mount points.  So how far down the 
path did Ambari get you.  If you reference back to the HDP 2.2 docs on 
configuring &lt;A href="http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.2.8/bk_hdfs_nfs_gateway/content/ch01s02.html" rel="nofollow noopener noreferrer" target="_blank"&gt;NFS&lt;/A&gt;, you'll see that Ambari has started the nfs and rpcbind services for you.  But now it's up to you to mount them.&lt;/P&gt;&lt;P&gt;Follow the remaining HDP 2.2 &lt;A href="http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.2.8/bk_hdfs_nfs_gateway/content/ch01s03.html" rel="nofollow noopener noreferrer" target="_blank"&gt;docs&lt;/A&gt; to complete the process and mount the NFS gateway.&lt;/P&gt;&lt;P&gt;The
 startup process for the NFS Gateway is run as the 'hdfs' user.  So 
earlier documents covering proxy settings are NOT necessary.&lt;/P&gt;

&lt;CODE&gt;# Mount Example (to be run as root)&lt;/CODE&gt;
&lt;CODE&gt;mkdir &lt;/CODE&gt;&lt;CODE&gt;/&lt;/CODE&gt;&lt;CODE&gt;hdfs&lt;/CODE&gt;
&lt;CODE&gt;mount &lt;/CODE&gt;&lt;CODE&gt;-&lt;/CODE&gt;&lt;CODE&gt;t nfs &lt;/CODE&gt;&lt;CODE&gt;-&lt;/CODE&gt;&lt;CODE&gt;o vers&lt;/CODE&gt;&lt;CODE&gt;=&lt;/CODE&gt;&lt;CODE&gt;3&lt;/CODE&gt;&lt;CODE&gt;,proto&lt;/CODE&gt;&lt;CODE&gt;=&lt;/CODE&gt;&lt;CODE&gt;tcp,nolock localhost:&lt;/CODE&gt;&lt;CODE&gt;/&lt;/CODE&gt; &lt;CODE&gt;/&lt;/CODE&gt;&lt;CODE&gt;hdfs&lt;/CODE&gt;
&lt;P&gt;User interaction details are found &lt;A href="http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.2.8/bk_hdfs_nfs_gateway/content/ch01s03.html" rel="nofollow noopener noreferrer" target="_blank"&gt;here&lt;/A&gt;.&lt;/P&gt;&lt;STRONG&gt;/etc/fstab Example for NFS Gateway Automount&lt;/STRONG&gt;

&lt;CODE&gt;localhost:/ &lt;/CODE&gt;&lt;CODE&gt;/hdfs&lt;/CODE&gt; &lt;CODE&gt;nfs rw,vers=3,proto=tcp,nolock,timeo=600 0 0&lt;/CODE&gt;
&lt;P&gt;If
 you're using NFS as a quick way to traverse HDFS while avoiding the 
startup times of the jvm when making the 'hdfs dfs ...' call, try out 
the hdfs-cli project.&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/dstreev/hdfs-cli" rel="nofollow noopener noreferrer" target="_blank"&gt;https://github.com/dstreev/hdfs-cli&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 19 Aug 2019 13:00:36 GMT</pubDate>
    <dc:creator>dstreev</dc:creator>
    <dc:date>2019-08-19T13:00:36Z</dc:date>
    <item>
      <title>Using NFS with Ambari 2.1 and above</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Using-NFS-with-Ambari-2-1-and-above/m-p/94310#M7609</link>
      <description>&lt;P&gt;Before Ambari 2.1, we had to manager the NFS Gateway separately.  Now it's "kind of" part of the Ambari process.  At least it shows up in Ambari (HDFS Summary page) as installed and running.&lt;/P&gt;&lt;P&gt;But I don't see a away to control the bind, etc...  And there aren't any processes running like that.  So what is the process for using NFS with Ambari 2.1+?&lt;/P&gt;</description>
      <pubDate>Sat, 26 Sep 2015 01:14:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Using-NFS-with-Ambari-2-1-and-above/m-p/94310#M7609</guid>
      <dc:creator>dstreev</dc:creator>
      <dc:date>2015-09-26T01:14:43Z</dc:date>
    </item>
    <item>
      <title>Re: Using NFS with Ambari 2.1 and above</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Using-NFS-with-Ambari-2-1-and-above/m-p/94311#M7610</link>
      <description>&lt;P&gt;I'll answer my own question here since I was able to work through it on a new install.&lt;/P&gt;&lt;P&gt;With a fresh installation of HDP 2.3 with Ambari 2.1.1, you'll be 
prompted during the installation to select a server (or more) to install
 the NFS gateway on.  This happens in the same configuration windows 
during cluster configuration where you designate Datanodes, Region 
Servers, Phoenix Servers, etc..&lt;/P&gt;&lt;P&gt;After the installation has finished, you'll see indications that the NFS Gateway is running on the choosen servers.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="102-image2015-9-28-16-46-7.png" style="width: 468px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/24065iFB1C4479D2DFAE48/image-size/medium?v=v2&amp;amp;px=400" role="button" title="102-image2015-9-28-16-46-7.png" alt="102-image2015-9-28-16-46-7.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Now what?  If you go to one of the servers and do a&lt;/P&gt;
&lt;CODE&gt;df &lt;/CODE&gt;&lt;CODE&gt;-&lt;/CODE&gt;&lt;CODE&gt;h&lt;/CODE&gt;
&lt;P&gt;you won't see any new mount points.  So how far down the 
path did Ambari get you.  If you reference back to the HDP 2.2 docs on 
configuring &lt;A href="http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.2.8/bk_hdfs_nfs_gateway/content/ch01s02.html" rel="nofollow noopener noreferrer" target="_blank"&gt;NFS&lt;/A&gt;, you'll see that Ambari has started the nfs and rpcbind services for you.  But now it's up to you to mount them.&lt;/P&gt;&lt;P&gt;Follow the remaining HDP 2.2 &lt;A href="http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.2.8/bk_hdfs_nfs_gateway/content/ch01s03.html" rel="nofollow noopener noreferrer" target="_blank"&gt;docs&lt;/A&gt; to complete the process and mount the NFS gateway.&lt;/P&gt;&lt;P&gt;The
 startup process for the NFS Gateway is run as the 'hdfs' user.  So 
earlier documents covering proxy settings are NOT necessary.&lt;/P&gt;

&lt;CODE&gt;# Mount Example (to be run as root)&lt;/CODE&gt;
&lt;CODE&gt;mkdir &lt;/CODE&gt;&lt;CODE&gt;/&lt;/CODE&gt;&lt;CODE&gt;hdfs&lt;/CODE&gt;
&lt;CODE&gt;mount &lt;/CODE&gt;&lt;CODE&gt;-&lt;/CODE&gt;&lt;CODE&gt;t nfs &lt;/CODE&gt;&lt;CODE&gt;-&lt;/CODE&gt;&lt;CODE&gt;o vers&lt;/CODE&gt;&lt;CODE&gt;=&lt;/CODE&gt;&lt;CODE&gt;3&lt;/CODE&gt;&lt;CODE&gt;,proto&lt;/CODE&gt;&lt;CODE&gt;=&lt;/CODE&gt;&lt;CODE&gt;tcp,nolock localhost:&lt;/CODE&gt;&lt;CODE&gt;/&lt;/CODE&gt; &lt;CODE&gt;/&lt;/CODE&gt;&lt;CODE&gt;hdfs&lt;/CODE&gt;
&lt;P&gt;User interaction details are found &lt;A href="http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.2.8/bk_hdfs_nfs_gateway/content/ch01s03.html" rel="nofollow noopener noreferrer" target="_blank"&gt;here&lt;/A&gt;.&lt;/P&gt;&lt;STRONG&gt;/etc/fstab Example for NFS Gateway Automount&lt;/STRONG&gt;

&lt;CODE&gt;localhost:/ &lt;/CODE&gt;&lt;CODE&gt;/hdfs&lt;/CODE&gt; &lt;CODE&gt;nfs rw,vers=3,proto=tcp,nolock,timeo=600 0 0&lt;/CODE&gt;
&lt;P&gt;If
 you're using NFS as a quick way to traverse HDFS while avoiding the 
startup times of the jvm when making the 'hdfs dfs ...' call, try out 
the hdfs-cli project.&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/dstreev/hdfs-cli" rel="nofollow noopener noreferrer" target="_blank"&gt;https://github.com/dstreev/hdfs-cli&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2019 13:00:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Using-NFS-with-Ambari-2-1-and-above/m-p/94311#M7610</guid>
      <dc:creator>dstreev</dc:creator>
      <dc:date>2019-08-19T13:00:36Z</dc:date>
    </item>
    <item>
      <title>Re: Using NFS with Ambari 2.1 and above</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Using-NFS-with-Ambari-2-1-and-above/m-p/94312#M7611</link>
      <description>&lt;P&gt;Same experience for me.  Ambari went as far as getting things up and running, but, mounting all shares was up to me. &lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2015 20:29:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Using-NFS-with-Ambari-2-1-and-above/m-p/94312#M7611</guid>
      <dc:creator>kbaxley</dc:creator>
      <dc:date>2015-09-29T20:29:26Z</dc:date>
    </item>
    <item>
      <title>Re: Using NFS with Ambari 2.1 and above</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Using-NFS-with-Ambari-2-1-and-above/m-p/94313#M7612</link>
      <description>&lt;P&gt;Regarding "you won't see any new mount points":&lt;/P&gt;&lt;P&gt;It's important to distinguish between the NFS Gateway service and the NFS client, even though they can both be on the same machine.  NFS services export mountpoints, ie make them available for clients to mount.  NFS clients mount them and make use of them as filesystems. It is true that for some applications, it would be convenient to have the NFS mountpoint mounted on the cluster nodes, but this is a Client functionality, not part of Gateway setup.  And for many other applications, it is more important to have the NFS mountpoint available for use by other hosts outside the Hadoop cluster -- which can't be managed by Ambari. &lt;/P&gt;</description>
      <pubDate>Tue, 24 Nov 2015 08:35:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Using-NFS-with-Ambari-2-1-and-above/m-p/94313#M7612</guid>
      <dc:creator>mfoley</dc:creator>
      <dc:date>2015-11-24T08:35:49Z</dc:date>
    </item>
  </channel>
</rss>

