<?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: HDP file location for Nifi in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDP-file-location-for-Nifi/m-p/157404#M49109</link>
    <description>&lt;P&gt;Your first screen shot shows the local file system, not hdfs.  To see the files in hdfs from the command line you have to run the command &lt;/P&gt;&lt;P&gt;hdfs dfs -ls &lt;EM&gt;path&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;If you do not start path with / the path will be relative to the user directory of the user you are logged in as.  In your case it will be /user/root in hdfs.&lt;/P&gt;&lt;P&gt;Similarly from the NiFi side if you do not start the path in PutHDFS with / it will put to hdfs under the nifi user (I think it will be /user/nifi/Nifi).&lt;/P&gt;&lt;P&gt;It is a best practice to specify hdfs paths explicitly (ie starting with /)&lt;/P&gt;&lt;P&gt;You can use the explorer ui to navigate the hdfs file system and you can also use the Ambari files view.  (Just log into Ambari and go to views in upper right, then Files View)&lt;/P&gt;&lt;P&gt;See the following links for more:&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.dummies.com/programming/big-data/hadoop/hadoop-distributed-file-system-shell-commands/" target="_blank"&gt;http://www.dummies.com/programming/big-data/hadoop/hadoop-distributed-file-system-shell-commands/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://hadoop.apache.org/docs/r2.6.3/hadoop-project-dist/hadoop-common/FileSystemShell.html" target="_blank"&gt;https://hadoop.apache.org/docs/r2.6.3/hadoop-project-dist/hadoop-common/FileSystemShell.html&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 16 Dec 2016 19:13:38 GMT</pubDate>
    <dc:creator>gkeys</dc:creator>
    <dc:date>2016-12-16T19:13:38Z</dc:date>
    <item>
      <title>HDP file location for Nifi</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDP-file-location-for-Nifi/m-p/157403#M49108</link>
      <description>&lt;P&gt;Where can i see the files on the sandbox which i put
using the PutHDFS processor. I do understand they may not be directly visible
in the file system (by directly logging into the terminal on the sandbox)as
they are on the DataNode but how can i see the files that are present on the
datanode. The ambari file view displays the files on the DataNode i guess.I
can also navigate to view the files on the data node on sandbox.hortonworks.com:50070/explorer.html#/&lt;/P&gt;&lt;P&gt;I have also added GNOME GUI to the sandbox. The files
that I see in "Computer" are different from the ones i see when i do
a "dir" in the terminal. Which is a bit confusing. &lt;/P&gt;&lt;P&gt;Lastly i put a file using PutHDFS in a folder a
directory called NiFi. where can i see this? i dont see it on the data node
either.&lt;/P&gt;&lt;P&gt;01 image: shows files when connected to the sandbox
via Putty&lt;/P&gt;&lt;P&gt;02 image: Shows the Computer files in
the Sandbox&lt;/P&gt;&lt;P&gt;03 image: Shows the files by navigating
to HDFS.Quicklinks.namenodeui.utilities.browse file system (same as FileView in
Ambari)&lt;/P&gt;&lt;P&gt;(i guess this shows the name node and
not the data node)&lt;/P&gt;&lt;P&gt;04 image:PutHDFS configuration which
puts the file to Nifi directory. A getHDFS also fetched the file.&lt;/P&gt;&lt;P&gt;Lastly how do i get a file from my local PC in Nifi
now which is running inside the sandbox. &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="10387-01.png" style="width: 681px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/20858i9E0D5E3C0034ECAA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="10387-01.png" alt="10387-01.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="10388-02.png" style="width: 1043px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/20859i67842AAE805E03EF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="10388-02.png" alt="10388-02.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="10389-03.png" style="width: 1261px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/20860iC6C5CF6496F4F4E9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="10389-03.png" alt="10389-03.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="10390-04.png" style="width: 766px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/20861i02A42CFAC3BD8C1C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="10390-04.png" alt="10390-04.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 12:16:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDP-file-location-for-Nifi/m-p/157403#M49108</guid>
      <dc:creator>arsalan_siddiqi</dc:creator>
      <dc:date>2019-08-18T12:16:21Z</dc:date>
    </item>
    <item>
      <title>Re: HDP file location for Nifi</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDP-file-location-for-Nifi/m-p/157404#M49109</link>
      <description>&lt;P&gt;Your first screen shot shows the local file system, not hdfs.  To see the files in hdfs from the command line you have to run the command &lt;/P&gt;&lt;P&gt;hdfs dfs -ls &lt;EM&gt;path&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;If you do not start path with / the path will be relative to the user directory of the user you are logged in as.  In your case it will be /user/root in hdfs.&lt;/P&gt;&lt;P&gt;Similarly from the NiFi side if you do not start the path in PutHDFS with / it will put to hdfs under the nifi user (I think it will be /user/nifi/Nifi).&lt;/P&gt;&lt;P&gt;It is a best practice to specify hdfs paths explicitly (ie starting with /)&lt;/P&gt;&lt;P&gt;You can use the explorer ui to navigate the hdfs file system and you can also use the Ambari files view.  (Just log into Ambari and go to views in upper right, then Files View)&lt;/P&gt;&lt;P&gt;See the following links for more:&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.dummies.com/programming/big-data/hadoop/hadoop-distributed-file-system-shell-commands/" target="_blank"&gt;http://www.dummies.com/programming/big-data/hadoop/hadoop-distributed-file-system-shell-commands/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://hadoop.apache.org/docs/r2.6.3/hadoop-project-dist/hadoop-common/FileSystemShell.html" target="_blank"&gt;https://hadoop.apache.org/docs/r2.6.3/hadoop-project-dist/hadoop-common/FileSystemShell.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Dec 2016 19:13:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDP-file-location-for-Nifi/m-p/157404#M49109</guid>
      <dc:creator>gkeys</dc:creator>
      <dc:date>2016-12-16T19:13:38Z</dc:date>
    </item>
  </channel>
</rss>

