<?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: Unable to upload csv files from hdfs to hive view in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-upload-csv-files-from-hdfs-to-hive-view/m-p/108472#M50609</link>
    <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/15197/asierga95.html"&gt;Asier Gomez &lt;/A&gt;&lt;/P&gt;&lt;P&gt;Can you please share the output of the following command:&lt;/P&gt;&lt;PRE&gt;$ hdfs dfs -ls /tmp/data/geolocation.csv&lt;/PRE&gt;&lt;P&gt;- We will need to check two things here&lt;/P&gt;&lt;P&gt;1. The file exist&lt;/P&gt;&lt;P&gt;2. The file has proper read permission for the user&lt;/P&gt;&lt;P&gt;3. Is this the same "Geolocation.zip" (geolocation.csv) file you are using which is shown as part of the demo:  &lt;A href="http://hortonworks.com/hadoop-tutorial/hello-world-an-introduction-to-hadoop-hcatalog-hive-and-pig/" target="_blank"&gt;http://hortonworks.com/hadoop-tutorial/hello-world-an-introduction-to-hadoop-hcatalog-hive-and-pig/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;-  I just quickly tested this "geolocation.csv" file at my end ant it works fine.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;</description>
    <pubDate>Tue, 03 Jan 2017 17:16:46 GMT</pubDate>
    <dc:creator>jsensharma</dc:creator>
    <dc:date>2017-01-03T17:16:46Z</dc:date>
    <item>
      <title>Unable to upload csv files from hdfs to hive view</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-upload-csv-files-from-hdfs-to-hive-view/m-p/108469#M50606</link>
      <description>&lt;P&gt;I am trying to upload files that I upload to HDFS to hive view, I give all the permission to the files + recursive. &lt;/P&gt;&lt;P&gt;HDFS:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="11002-hdfs.png" style="width: 835px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/23415i19E5E965719B7054/image-size/medium?v=v2&amp;amp;px=400" role="button" title="11002-hdfs.png" alt="11002-hdfs.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;HIVE:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="11003-hive.png" style="width: 887px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/23416iF3105162BDEFD8BC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="11003-hive.png" alt="11003-hive.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The problem is that when I try to upload to hive it throws the next: &lt;/P&gt;&lt;PRE&gt;E090 No rows in the file. [NoSuchElementException] &lt;/PRE&gt;</description>
      <pubDate>Mon, 19 Aug 2019 11:39:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-upload-csv-files-from-hdfs-to-hive-view/m-p/108469#M50606</guid>
      <dc:creator>asierga95</dc:creator>
      <dc:date>2019-08-19T11:39:44Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to upload csv files from hdfs to hive view</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-upload-csv-files-from-hdfs-to-hive-view/m-p/108470#M50607</link>
      <description>&lt;P&gt;This error message indicates that Hive can not find the file under the given path. I assume you are using the Sandbox, right? So no permission issues for user Admin for Hive and HDFS... - are you using the Sandbox?&lt;/P&gt;&lt;P&gt;Can you please check that the path you entered does not contain a leading or tailing blankspace '/tmp/data/geolocation.csv'&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jan 2017 16:59:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-upload-csv-files-from-hdfs-to-hive-view/m-p/108470#M50607</guid>
      <dc:creator>pgreiff</dc:creator>
      <dc:date>2017-01-03T16:59:00Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to upload csv files from hdfs to hive view</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-upload-csv-files-from-hdfs-to-hive-view/m-p/108471#M50608</link>
      <description>&lt;P&gt;I am using Ambari-HDP on Centos7 cluster. 1 master and 2 slaves. I have check it and it does not contain any blankspace. It is very strange :S. Really thanks&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jan 2017 17:08:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-upload-csv-files-from-hdfs-to-hive-view/m-p/108471#M50608</guid>
      <dc:creator>asierga95</dc:creator>
      <dc:date>2017-01-03T17:08:59Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to upload csv files from hdfs to hive view</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-upload-csv-files-from-hdfs-to-hive-view/m-p/108472#M50609</link>
      <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/15197/asierga95.html"&gt;Asier Gomez &lt;/A&gt;&lt;/P&gt;&lt;P&gt;Can you please share the output of the following command:&lt;/P&gt;&lt;PRE&gt;$ hdfs dfs -ls /tmp/data/geolocation.csv&lt;/PRE&gt;&lt;P&gt;- We will need to check two things here&lt;/P&gt;&lt;P&gt;1. The file exist&lt;/P&gt;&lt;P&gt;2. The file has proper read permission for the user&lt;/P&gt;&lt;P&gt;3. Is this the same "Geolocation.zip" (geolocation.csv) file you are using which is shown as part of the demo:  &lt;A href="http://hortonworks.com/hadoop-tutorial/hello-world-an-introduction-to-hadoop-hcatalog-hive-and-pig/" target="_blank"&gt;http://hortonworks.com/hadoop-tutorial/hello-world-an-introduction-to-hadoop-hcatalog-hive-and-pig/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;-  I just quickly tested this "geolocation.csv" file at my end ant it works fine.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jan 2017 17:16:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-upload-csv-files-from-hdfs-to-hive-view/m-p/108472#M50609</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2017-01-03T17:16:46Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to upload csv files from hdfs to hive view</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-upload-csv-files-from-hdfs-to-hive-view/m-p/108473#M50610</link>
      <description>&lt;P&gt;Yes the file works fine, because if I upload from local it detects and show the data. But the problem is uploading from HDFS. I have gived all the permission for that file and recursively for the directories.&lt;/P&gt;&lt;P&gt;The output is the next:&lt;/P&gt;&lt;PRE&gt;[root@hdp-master1 ~]# hdfs dfs -ls /tmp/data/geolocation.csv
-rwxrwxrwx  3 admin hdfs  526677 2017-01-02 11:24 /tmp/data/geolocation.csv&lt;/PRE&gt;</description>
      <pubDate>Tue, 03 Jan 2017 17:18:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-upload-csv-files-from-hdfs-to-hive-view/m-p/108473#M50610</guid>
      <dc:creator>asierga95</dc:creator>
      <dc:date>2017-01-03T17:18:15Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to upload csv files from hdfs to hive view</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-upload-csv-files-from-hdfs-to-hive-view/m-p/108474#M50611</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/15197/asierga95.html" nodeid="15197"&gt;@Asier Gomez&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Another quick test. Are you able to open the file for cat as following (that will help us in understandaing if there are any special character issue/ new line issue)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Example:  &lt;/STRONG&gt;hdfs dfs -cat /tmp/data/geolocation.csv | head&lt;/P&gt;&lt;PRE&gt;$ hdfs dfs -cat /tmp/data/geolocation.csv | head


truckid,driverid,event,latitude,longitude,city,state,velocity,event_ind,idling_ind
A54,A54,normal,38.440467,-122.714431,Santa Rosa,California,17,0,0
A20,A20,normal,36.977173,-121.899402,Aptos,California,27,0,0
A40,A40,overspeed,37.957702,-121.29078,Stockton,California,77,1,0
A31,A31,normal,39.409608,-123.355566,Willits,California,22,0,0
A71,A71,normal,33.683947,-117.794694,Irvine,California,43,0,0
A50,A50,normal,38.40765,-122.947713,Occidental,California,0,0,1
A51,A51,normal,37.639097,-120.996878,Modesto,California,0,0,1
A19,A19,normal,37.962146,-122.345526,San Pablo,California,0,0,1
A77,A77,normal,37.962146,-122.345526,San Pablo,California,25,0,0&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jan 2017 17:28:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-upload-csv-files-from-hdfs-to-hive-view/m-p/108474#M50611</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2017-01-03T17:28:46Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to upload csv files from hdfs to hive view</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-upload-csv-files-from-hdfs-to-hive-view/m-p/108475#M50612</link>
      <description>&lt;P&gt;Yes I can open, this is my output: &lt;/P&gt;&lt;PRE&gt;[root@hdp-master1 ~]# hdfs dfs -cat /tmp/data/geolocation.csv | head
truckid,driverid,event,latitude,longitude,city,state,velocity,event_ind,idling_ind
A54,A54,normal,38.440467,-122.714431,Santa Rosa,California,17,0,0
A20,A20,normal,36.977173,-121.899402,Aptos,California,27,0,0
A40,A40,overspeed,37.957702,-121.29078,Stockton,California,77,1,0
A31,A31,normal,39.409608,-123.355566,Willits,California,22,0,0
A71,A71,normal,33.683947,-117.794694,Irvine,California,43,0,0
A50,A50,normal,38.40765,-122.947713,Occidental,California,0,0,1
A51,A51,normal,37.639097,-120.996878,Modesto,California,0,0,1
A19,A19,normal,37.962146,-122.345526,San Pablo,California,0,0,1
A77,A77,normal,37.962146,-122.345526,San Pablo,California,25,0,0
cat: Unable to write to output stream.&lt;/PRE&gt;</description>
      <pubDate>Tue, 03 Jan 2017 17:33:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-upload-csv-files-from-hdfs-to-hive-view/m-p/108475#M50612</guid>
      <dc:creator>asierga95</dc:creator>
      <dc:date>2017-01-03T17:33:16Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to upload csv files from hdfs to hive view</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-upload-csv-files-from-hdfs-to-hive-view/m-p/108476#M50613</link>
      <description>&lt;P&gt;Okey it works... The simple solution was to disable the firewall.. Really thanks&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jan 2017 17:37:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-upload-csv-files-from-hdfs-to-hive-view/m-p/108476#M50613</guid>
      <dc:creator>asierga95</dc:creator>
      <dc:date>2017-01-03T17:37:21Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to upload csv files from hdfs to hive view</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-upload-csv-files-from-hdfs-to-hive-view/m-p/108477#M50614</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/15197/asierga95.html" nodeid="15197"&gt;@Asier Gomez&lt;/A&gt; - Do you mean disable the firewall on your local machine/computer or is there a firewall included in the Sandbox?&lt;/P&gt;</description>
      <pubDate>Sun, 19 Mar 2017 04:44:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-upload-csv-files-from-hdfs-to-hive-view/m-p/108477#M50614</guid>
      <dc:creator>sdimant</dc:creator>
      <dc:date>2017-03-19T04:44:24Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to upload csv files from hdfs to hive view</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-upload-csv-files-from-hdfs-to-hive-view/m-p/108478#M50615</link>
      <description>&lt;P&gt;I only disable local machines firewall on the Master and on the agents and it works for me. &lt;/P&gt;</description>
      <pubDate>Tue, 21 Mar 2017 20:48:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-upload-csv-files-from-hdfs-to-hive-view/m-p/108478#M50615</guid>
      <dc:creator>asierga95</dc:creator>
      <dc:date>2017-03-21T20:48:49Z</dc:date>
    </item>
  </channel>
</rss>

