<?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: hdfs upload fails with ugly file name in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/hdfs-upload-fails-with-ugly-file-name/m-p/123747#M26694</link>
    <description>&lt;P&gt;if it is sandbox, the above command will look like:&lt;/P&gt;&lt;PRE&gt;scp -P 2222 Downloads/HortonworksGeolocationgeolocation.csv root@127.0.0.1:/tmp/maria_dev/data/
&lt;/PRE&gt;</description>
    <pubDate>Sat, 30 Apr 2016 22:10:53 GMT</pubDate>
    <dc:creator>hduraiswamy</dc:creator>
    <dc:date>2016-04-30T22:10:53Z</dc:date>
    <item>
      <title>hdfs upload fails with ugly file name</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/hdfs-upload-fails-with-ugly-file-name/m-p/123745#M26692</link>
      <description>&lt;P&gt;attempts to upload a file from ambari fails by generating an invalid target file name. it creates a target filename (hdfs) by removing all of the path delimiters from the source file name, resulting in a ridiculously long file name that additionally contains "c:". I don't see any way of controlling this. running it all on windows. all I do is browse for the local file and then upload.&lt;/P&gt;&lt;P&gt;exception:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;500&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; &lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;Pathname /tmp/maria_dev/data/C:UsersXXXXXDownloadsHortonworksGeolocationgeolocation.csv from /tmp/maria_dev/data/C:UsersXXXXXDownloadsHortonworksGeolocationgeolocation.csv is not a valid DFS filename.&lt;/P&gt;&lt;P&gt;       &lt;A href="http://localhost:8080/views/FILES/1.0.0/Files/#"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://localhost:8080/views/FILES/1.0.0/Files/#"&gt; Collapse Stack Trace &lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://localhost:8080/views/FILES/1.0.0/Files/#"&gt;       &lt;/A&gt;       &lt;/P&gt;           &lt;PRE&gt;java.lang.IllegalArgumentException: Pathname /tmp/maria_dev/data/C:UsersklyborDownloadsHortonworksGeolocationgeolocation.csv from /tmp/maria_dev/data/C:UsersklyborDownloadsHortonworksGeolocationgeolocation.csv is not a valid DFS filename&lt;/PRE&gt;</description>
      <pubDate>Sat, 30 Apr 2016 03:34:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/hdfs-upload-fails-with-ugly-file-name/m-p/123745#M26692</guid>
      <dc:creator>michael_klybor</dc:creator>
      <dc:date>2016-04-30T03:34:22Z</dc:date>
    </item>
    <item>
      <title>Re: hdfs upload fails with ugly file name</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/hdfs-upload-fails-with-ugly-file-name/m-p/123746#M26693</link>
      <description>&lt;P&gt;try scp&lt;/P&gt;&lt;PRE&gt;scp -P 2222 Downloads/HortonworksGeolocationgeolocation.csv root@&amp;lt;hadoop node&amp;gt;:/tmp/maria_dev/data/&lt;/PRE&gt;</description>
      <pubDate>Sat, 30 Apr 2016 22:09:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/hdfs-upload-fails-with-ugly-file-name/m-p/123746#M26693</guid>
      <dc:creator>hduraiswamy</dc:creator>
      <dc:date>2016-04-30T22:09:58Z</dc:date>
    </item>
    <item>
      <title>Re: hdfs upload fails with ugly file name</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/hdfs-upload-fails-with-ugly-file-name/m-p/123747#M26694</link>
      <description>&lt;P&gt;if it is sandbox, the above command will look like:&lt;/P&gt;&lt;PRE&gt;scp -P 2222 Downloads/HortonworksGeolocationgeolocation.csv root@127.0.0.1:/tmp/maria_dev/data/
&lt;/PRE&gt;</description>
      <pubDate>Sat, 30 Apr 2016 22:10:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/hdfs-upload-fails-with-ugly-file-name/m-p/123747#M26694</guid>
      <dc:creator>hduraiswamy</dc:creator>
      <dc:date>2016-04-30T22:10:53Z</dc:date>
    </item>
    <item>
      <title>Re: hdfs upload fails with ugly file name</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/hdfs-upload-fails-with-ugly-file-name/m-p/123748#M26695</link>
      <description>&lt;P&gt;thanks &lt;A rel="user" href="https://community.cloudera.com/users/1386/hduraiswamy.html" nodeid="1386"&gt;@hduraiswamy&lt;/A&gt;&lt;/P&gt;&lt;P&gt;used filezilla to do the uploads. would be nice it this ambari feature worked because it is really convenient.&lt;/P&gt;</description>
      <pubDate>Sun, 01 May 2016 06:19:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/hdfs-upload-fails-with-ugly-file-name/m-p/123748#M26695</guid>
      <dc:creator>michael_klybor</dc:creator>
      <dc:date>2016-05-01T06:19:12Z</dc:date>
    </item>
    <item>
      <title>Re: hdfs upload fails with ugly file name</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/hdfs-upload-fails-with-ugly-file-name/m-p/123749#M26696</link>
      <description>&lt;P&gt;
	&lt;A rel="user" href="https://community.cloudera.com/users/1386/hduraiswamy.html" nodeid="1386"&gt;@hduraiswamy&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I know the problem. It is an IE 11 feature that I encountered and dealt with for one of my own apps.&lt;/P&gt;&lt;P&gt;I can do the upload with Chrome.  IE 11 passes the full local file pathname at times (depends upon user browser options) . Ambari needs to strip off the path prefix when forming the server filename.&lt;/P&gt;</description>
      <pubDate>Sun, 01 May 2016 06:48:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/hdfs-upload-fails-with-ugly-file-name/m-p/123749#M26696</guid>
      <dc:creator>michael_klybor</dc:creator>
      <dc:date>2016-05-01T06:48:05Z</dc:date>
    </item>
    <item>
      <title>Re: hdfs upload fails with ugly file name</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/hdfs-upload-fails-with-ugly-file-name/m-p/123750#M26697</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/10112/michaelklybor.html" nodeid="10112"&gt;@michael klybor&lt;/A&gt; - good point.. It actually makes sense to post that to the Ambari forum as a suggestion..&lt;/P&gt;</description>
      <pubDate>Sun, 01 May 2016 09:25:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/hdfs-upload-fails-with-ugly-file-name/m-p/123750#M26697</guid>
      <dc:creator>hduraiswamy</dc:creator>
      <dc:date>2016-05-01T09:25:27Z</dc:date>
    </item>
    <item>
      <title>Re: hdfs upload fails with ugly file name</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/hdfs-upload-fails-with-ugly-file-name/m-p/123751#M26698</link>
      <description>&lt;P&gt;have the same issue using Edge browser&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jan 2019 10:22:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/hdfs-upload-fails-with-ugly-file-name/m-p/123751#M26698</guid>
      <dc:creator>Richard_Wheeler</dc:creator>
      <dc:date>2019-01-30T10:22:26Z</dc:date>
    </item>
  </channel>
</rss>

