<?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: Why can't I upload a simple text file onto HDFS ? in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Why-can-t-I-upload-a-simple-text-file-onto-HDFS/m-p/198341#M160392</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/17393/kelvintong718.html" nodeid="17393"&gt;@Kelvin Tong&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Based on the screen shots you are providing, you are attempting to push the file to HDFS using the command line within the Sandbox itself.  However, you are specifying a file path that is local to the computer running the VIrtualBox Sandbox VM.  That won't work.  The Sandbox has no way of knowing how to access "C:\".&lt;/P&gt;&lt;P&gt;You must first push the file to the Sandbox using WinSCP.  Then you can use the hdfs dsfs -put command using a local directory within the Sandbox (something like /root/&amp;lt;my filename&amp;gt;).&lt;/P&gt;</description>
    <pubDate>Thu, 13 Apr 2017 20:19:30 GMT</pubDate>
    <dc:creator>myoung</dc:creator>
    <dc:date>2017-04-13T20:19:30Z</dc:date>
    <item>
      <title>Why can't I upload a simple text file onto HDFS ?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Why-can-t-I-upload-a-simple-text-file-onto-HDFS/m-p/198331#M160382</link>
      <description>&lt;P&gt;I've been trying to upload a basic txt file onto HDFS but it won't upload. I have tried multiple files of different sizes and extensions and found the reason to be the size of my text file (approx 150 bytes). All files over around 10kb seems to work fine... Does anyone have a solution to this ? Thanks&lt;/P&gt;&lt;P&gt;Kelvin&lt;/P&gt;</description>
      <pubDate>Thu, 13 Apr 2017 15:10:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Why-can-t-I-upload-a-simple-text-file-onto-HDFS/m-p/198331#M160382</guid>
      <dc:creator>kelvintong718</dc:creator>
      <dc:date>2017-04-13T15:10:42Z</dc:date>
    </item>
    <item>
      <title>Re: Why can't I upload a simple text file onto HDFS ?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Why-can-t-I-upload-a-simple-text-file-onto-HDFS/m-p/198332#M160383</link>
      <description>&lt;P&gt;What error it throws? Thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Apr 2017 15:14:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Why-can-t-I-upload-a-simple-text-file-onto-HDFS/m-p/198332#M160383</guid>
      <dc:creator>avijeetd</dc:creator>
      <dc:date>2017-04-13T15:14:31Z</dc:date>
    </item>
    <item>
      <title>Re: Why can't I upload a simple text file onto HDFS ?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Why-can-t-I-upload-a-simple-text-file-onto-HDFS/m-p/198333#M160384</link>
      <description>&lt;P&gt;there isn't a specific error. Usually when I drag and drop a file onto the cloud icon, it quickly uploads. But when i drag and drop my txt files there is no response. I have seen other people successfully upload files of less than 1kb on youtube so I know it is possible. I just don't know why mine isn't working &lt;/P&gt;</description>
      <pubDate>Thu, 13 Apr 2017 15:24:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Why-can-t-I-upload-a-simple-text-file-onto-HDFS/m-p/198333#M160384</guid>
      <dc:creator>kelvintong718</dc:creator>
      <dc:date>2017-04-13T15:24:15Z</dc:date>
    </item>
    <item>
      <title>Re: Why can't I upload a simple text file onto HDFS ?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Why-can-t-I-upload-a-simple-text-file-onto-HDFS/m-p/198334#M160385</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/11016/avijeetd.html" nodeid="11016"&gt;@Avijeet Dash&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Thu, 13 Apr 2017 15:25:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Why-can-t-I-upload-a-simple-text-file-onto-HDFS/m-p/198334#M160385</guid>
      <dc:creator>kelvintong718</dc:creator>
      <dc:date>2017-04-13T15:25:15Z</dc:date>
    </item>
    <item>
      <title>Re: Why can't I upload a simple text file onto HDFS ?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Why-can-t-I-upload-a-simple-text-file-onto-HDFS/m-p/198335#M160386</link>
      <description>&lt;P&gt;Can you try manually uploading the file from CLI using the below command?
&lt;/P&gt;&lt;PRE&gt;hdfs dfs -copyFromLocal &amp;lt;localsrc&amp;gt; URI
&lt;/PRE&gt;&lt;P&gt;OR&lt;/P&gt;&lt;PRE&gt;hdfs dfs -put &amp;lt;localsrc&amp;gt; ... &amp;lt;dst&amp;gt;

Eg: hdfs dfs -put localfile /user/hadoop/hadoopfile&lt;/PRE&gt;</description>
      <pubDate>Thu, 13 Apr 2017 15:48:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Why-can-t-I-upload-a-simple-text-file-onto-HDFS/m-p/198335#M160386</guid>
      <dc:creator>ramcharantej</dc:creator>
      <dc:date>2017-04-13T15:48:16Z</dc:date>
    </item>
    <item>
      <title>Re: Why can't I upload a simple text file onto HDFS ?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Why-can-t-I-upload-a-simple-text-file-onto-HDFS/m-p/198336#M160387</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/1251"&gt;@Ram&lt;/a&gt; Charan Tej&lt;/P&gt;&lt;P&gt;I've tried that but i keep getting the error as shown below: &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="14601-example.png" style="width: 777px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/17776i68ED61A31CBE0246/image-size/medium?v=v2&amp;amp;px=400" role="button" title="14601-example.png" alt="14601-example.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Am i just typing my file path wrong ? As you can see I'm trying to upload 'booth1.txt'&lt;/P&gt;&lt;P&gt;Thanks for your help !&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 06:10:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Why-can-t-I-upload-a-simple-text-file-onto-HDFS/m-p/198336#M160387</guid>
      <dc:creator>kelvintong718</dc:creator>
      <dc:date>2019-08-18T06:10:07Z</dc:date>
    </item>
    <item>
      <title>Re: Why can't I upload a simple text file onto HDFS ?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Why-can-t-I-upload-a-simple-text-file-onto-HDFS/m-p/198337#M160388</link>
      <description>&lt;P&gt;Can you remove the backslash before the "\"C:\users
1. 'L' is caps for 'Local' not small letter, so it is hdfs dfs -copyFromLocal &amp;lt;source&amp;gt; hdfs://&amp;lt;URI&amp;gt;
2. you have to remove backslash before "C" drive and try ! 
&lt;/P&gt;</description>
      <pubDate>Thu, 13 Apr 2017 18:19:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Why-can-t-I-upload-a-simple-text-file-onto-HDFS/m-p/198337#M160388</guid>
      <dc:creator>ramcharantej</dc:creator>
      <dc:date>2017-04-13T18:19:54Z</dc:date>
    </item>
    <item>
      <title>Re: Why can't I upload a simple text file onto HDFS ?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Why-can-t-I-upload-a-simple-text-file-onto-HDFS/m-p/198338#M160389</link>
      <description>&lt;P&gt;Hello, I've tried it but it still doesn't work for me. Sorry I'm pretty new to this so if possible could you type out exactly what&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="14605-example.png" style="width: 732px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/17775i2B791AFC3FFE0EB2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="14605-example.png" alt="14605-example.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; I should be typing ?? Thanks heaps ! The error I'm getting is shown below:&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 06:09:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Why-can-t-I-upload-a-simple-text-file-onto-HDFS/m-p/198338#M160389</guid>
      <dc:creator>kelvintong718</dc:creator>
      <dc:date>2019-08-18T06:09:59Z</dc:date>
    </item>
    <item>
      <title>Re: Why can't I upload a simple text file onto HDFS ?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Why-can-t-I-upload-a-simple-text-file-onto-HDFS/m-p/198339#M160390</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/17393/kelvintong718.html" nodeid="17393"&gt;@Kelvin Tong&lt;/A&gt;&lt;P&gt;Are you trying to copy the file from windows to hadoop? I think the file which you are trying to be copied should be present in the server on which hadoop is installed.. &lt;/P&gt;</description>
      <pubDate>Thu, 13 Apr 2017 20:07:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Why-can-t-I-upload-a-simple-text-file-onto-HDFS/m-p/198339#M160390</guid>
      <dc:creator>balavignesh_nag</dc:creator>
      <dc:date>2017-04-13T20:07:12Z</dc:date>
    </item>
    <item>
      <title>Re: Why can't I upload a simple text file onto HDFS ?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Why-can-t-I-upload-a-simple-text-file-onto-HDFS/m-p/198340#M160391</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/12437/balavigneshnagamuthuvenkatesan.html" nodeid="12437"&gt;@Bala Vignesh N V&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Yes, the file is currently on windows. How do i put it on the server ? My host is 127.0.0.1 &lt;/P&gt;</description>
      <pubDate>Thu, 13 Apr 2017 20:19:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Why-can-t-I-upload-a-simple-text-file-onto-HDFS/m-p/198340#M160391</guid>
      <dc:creator>kelvintong718</dc:creator>
      <dc:date>2017-04-13T20:19:06Z</dc:date>
    </item>
    <item>
      <title>Re: Why can't I upload a simple text file onto HDFS ?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Why-can-t-I-upload-a-simple-text-file-onto-HDFS/m-p/198341#M160392</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/17393/kelvintong718.html" nodeid="17393"&gt;@Kelvin Tong&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Based on the screen shots you are providing, you are attempting to push the file to HDFS using the command line within the Sandbox itself.  However, you are specifying a file path that is local to the computer running the VIrtualBox Sandbox VM.  That won't work.  The Sandbox has no way of knowing how to access "C:\".&lt;/P&gt;&lt;P&gt;You must first push the file to the Sandbox using WinSCP.  Then you can use the hdfs dsfs -put command using a local directory within the Sandbox (something like /root/&amp;lt;my filename&amp;gt;).&lt;/P&gt;</description>
      <pubDate>Thu, 13 Apr 2017 20:19:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Why-can-t-I-upload-a-simple-text-file-onto-HDFS/m-p/198341#M160392</guid>
      <dc:creator>myoung</dc:creator>
      <dc:date>2017-04-13T20:19:30Z</dc:date>
    </item>
    <item>
      <title>Re: Why can't I upload a simple text file onto HDFS ?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Why-can-t-I-upload-a-simple-text-file-onto-HDFS/m-p/198342#M160393</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/17393/kelvintong718.html" nodeid="17393"&gt;@Kelvin Tong&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Copy your file from windows to the host 127.0.0.1. From local directory copy to HDFS using &lt;/P&gt;&lt;P&gt;hadoop fs -ls &amp;lt;local file path&amp;gt; &amp;lt;hdfs path&amp;gt;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Apr 2017 20:57:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Why-can-t-I-upload-a-simple-text-file-onto-HDFS/m-p/198342#M160393</guid>
      <dc:creator>balavignesh_nag</dc:creator>
      <dc:date>2017-04-13T20:57:55Z</dc:date>
    </item>
    <item>
      <title>Re: Why can't I upload a simple text file onto HDFS ?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Why-can-t-I-upload-a-simple-text-file-onto-HDFS/m-p/198343#M160394</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2695/myoung.html" nodeid="2695"&gt;@Michael Young&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Thanks ! That worked like a charm. I still have no idea why it doesn't let me upload using the HDFS UI so if you know why then I would love to know. &lt;/P&gt;</description>
      <pubDate>Thu, 13 Apr 2017 22:05:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Why-can-t-I-upload-a-simple-text-file-onto-HDFS/m-p/198343#M160394</guid>
      <dc:creator>kelvintong718</dc:creator>
      <dc:date>2017-04-13T22:05:13Z</dc:date>
    </item>
  </channel>
</rss>

