<?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: How to upload data from local machine to HDFS on Azure - using command shell  (Hortonworks Sandbox) in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-upload-data-from-local-machine-to-HDFS-on-Azure-using/m-p/127990#M39228</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/11430/cwarren.html" nodeid="11430"&gt;@Cameron Warren&lt;/A&gt;&lt;/P&gt;&lt;P&gt;You need to first scp your file to Azure. Once that's done, you can do "copyFromLocal" to copy file to your hdfs.&lt;/P&gt;&lt;PRE&gt;hdfs dfs -copyFromLocal /path/to/file /dest/path/on/hdfs&lt;/PRE&gt;</description>
    <pubDate>Wed, 31 Aug 2016 09:42:06 GMT</pubDate>
    <dc:creator>mqureshi</dc:creator>
    <dc:date>2016-08-31T09:42:06Z</dc:date>
    <item>
      <title>How to upload data from local machine to HDFS on Azure - using command shell  (Hortonworks Sandbox)</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-upload-data-from-local-machine-to-HDFS-on-Azure-using/m-p/127989#M39227</link>
      <description>&lt;P&gt;I am trying to upload data from my local machine to HDFS on Azure using the command line.&lt;/P&gt;&lt;P&gt;This is a simple task when using the Ambari GUI - you simply hit browse and then select the file you want:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="7107-capture.jpg" style="width: 1198px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/22553i8D9E48ACA86DE95F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="7107-capture.jpg" alt="7107-capture.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;However, this is not so simple a task in the command shell it seems. I've tried various methods and the only information I can find online are solutions involving Azure's HDInsight. &lt;/P&gt;&lt;P&gt;
For clarity:&lt;/P&gt;&lt;P&gt;Goal - upload a csv file from my local machine to HDFS on azure using the command line (Hortonworks Sandbox). The basic hdfs dfs -put command does not work as it can't find the file. &lt;/P&gt;&lt;P&gt;The reason I'd like to do this on the command line is because the Hortonworks cert exam is entirely in the shell - so I'd like to understand the solution. &lt;/P&gt;&lt;P&gt;Any assistance would be wonderful!&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2019 09:54:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-upload-data-from-local-machine-to-HDFS-on-Azure-using/m-p/127989#M39227</guid>
      <dc:creator>cwarren</dc:creator>
      <dc:date>2019-08-19T09:54:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to upload data from local machine to HDFS on Azure - using command shell  (Hortonworks Sandbox)</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-upload-data-from-local-machine-to-HDFS-on-Azure-using/m-p/127990#M39228</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/11430/cwarren.html" nodeid="11430"&gt;@Cameron Warren&lt;/A&gt;&lt;/P&gt;&lt;P&gt;You need to first scp your file to Azure. Once that's done, you can do "copyFromLocal" to copy file to your hdfs.&lt;/P&gt;&lt;PRE&gt;hdfs dfs -copyFromLocal /path/to/file /dest/path/on/hdfs&lt;/PRE&gt;</description>
      <pubDate>Wed, 31 Aug 2016 09:42:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-upload-data-from-local-machine-to-HDFS-on-Azure-using/m-p/127990#M39228</guid>
      <dc:creator>mqureshi</dc:creator>
      <dc:date>2016-08-31T09:42:06Z</dc:date>
    </item>
  </channel>
</rss>

