<?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: No files matching path error while loading data in Hive table in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/No-files-matching-path-error-while-loading-data-in-Hive/m-p/123317#M86061</link>
    <description>&lt;P&gt;The file needs to be owned by hive:hdfs or the user that has proper hive privileges. It can be located anywhere.&lt;/P&gt;</description>
    <pubDate>Tue, 12 Jul 2016 00:16:14 GMT</pubDate>
    <dc:creator>cstanca</dc:creator>
    <dc:date>2016-07-12T00:16:14Z</dc:date>
    <item>
      <title>No files matching path error while loading data in Hive table</title>
      <link>https://community.cloudera.com/t5/Support-Questions/No-files-matching-path-error-while-loading-data-in-Hive/m-p/123315#M86059</link>
      <description>&lt;P&gt;Using Beeline running in the HDP 2.5 TP Sandbox and created a table, say, json_staging and then issuing the command:&lt;/P&gt;&lt;P&gt;LOAD DATA LOCAL INPATH '/root/hbase_data.json' INTO TABLE json_staging;&lt;/P&gt;&lt;P&gt;It fails with the message&lt;/P&gt;&lt;P&gt;Error: Error while compiling statement: FAILED: SemanticException Line 1:23 Invalid path "/root/hbase_data.json": No files matching path file:/root/hbase_data.json (state=42000,code=40000)&lt;/P&gt;&lt;P&gt;The file does exist at the specified location in the Linux file system and all users have read permission.&lt;/P&gt;&lt;P&gt;The workaround is to first copy the file to /home/hive directory. Then I can specify the file as 'hbase_data.json'  and it is loaded successfully. It fails if the file is anywhere else. Can anyone please explain the reason?&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jul 2016 00:13:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/No-files-matching-path-error-while-loading-data-in-Hive/m-p/123315#M86059</guid>
      <dc:creator>mrizvi</dc:creator>
      <dc:date>2016-07-12T00:13:17Z</dc:date>
    </item>
    <item>
      <title>Re: No files matching path error while loading data in Hive table</title>
      <link>https://community.cloudera.com/t5/Support-Questions/No-files-matching-path-error-while-loading-data-in-Hive/m-p/123316#M86060</link>
      <description>&lt;P&gt;Hmmm access issue? If its in the root folder only root can access it. Hive error messages can be pretty generic here and not distinguish between access rights and files exists. If you run beeline the read will be executed by the hive server and that one is running under the hive user so only he could access the data. &lt;/P&gt;&lt;P&gt;Try it in /tmp if it works there too you would know. &lt;/P&gt;</description>
      <pubDate>Tue, 12 Jul 2016 00:16:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/No-files-matching-path-error-while-loading-data-in-Hive/m-p/123316#M86060</guid>
      <dc:creator>bleonhardi</dc:creator>
      <dc:date>2016-07-12T00:16:03Z</dc:date>
    </item>
    <item>
      <title>Re: No files matching path error while loading data in Hive table</title>
      <link>https://community.cloudera.com/t5/Support-Questions/No-files-matching-path-error-while-loading-data-in-Hive/m-p/123317#M86061</link>
      <description>&lt;P&gt;The file needs to be owned by hive:hdfs or the user that has proper hive privileges. It can be located anywhere.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jul 2016 00:16:14 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/No-files-matching-path-error-while-loading-data-in-Hive/m-p/123317#M86061</guid>
      <dc:creator>cstanca</dc:creator>
      <dc:date>2016-07-12T00:16:14Z</dc:date>
    </item>
    <item>
      <title>Re: No files matching path error while loading data in Hive table</title>
      <link>https://community.cloudera.com/t5/Support-Questions/No-files-matching-path-error-while-loading-data-in-Hive/m-p/123318#M86062</link>
      <description>&lt;P&gt;thank you so much &lt;A rel="user" href="https://community.cloudera.com/users/3486/cstanca.html" nodeid="3486"&gt;@Constantin Stanca&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jul 2016 00:22:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/No-files-matching-path-error-while-loading-data-in-Hive/m-p/123318#M86062</guid>
      <dc:creator>mrizvi</dc:creator>
      <dc:date>2016-07-12T00:22:12Z</dc:date>
    </item>
    <item>
      <title>Re: No files matching path error while loading data in Hive table</title>
      <link>https://community.cloudera.com/t5/Support-Questions/No-files-matching-path-error-while-loading-data-in-Hive/m-p/123319#M86063</link>
      <description>&lt;P&gt;I guess I got confused by the error message, thank you &lt;A rel="user" href="https://community.cloudera.com/users/168/bleonhardi.html" nodeid="168"&gt;@Benjamin Leonhardi&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jul 2016 00:23:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/No-files-matching-path-error-while-loading-data-in-Hive/m-p/123319#M86063</guid>
      <dc:creator>mrizvi</dc:creator>
      <dc:date>2016-07-12T00:23:21Z</dc:date>
    </item>
    <item>
      <title>Re: No files matching path error while loading data in Hive table</title>
      <link>https://community.cloudera.com/t5/Support-Questions/No-files-matching-path-error-while-loading-data-in-Hive/m-p/123320#M86064</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I am not getting any error but the data which has loaded in table is showing null values:-&lt;/P&gt;&lt;P&gt;load data inpath '/priyanka/txn' into table transaction;
No rows affected (0.568 seconds)&lt;/P&gt;&lt;P&gt;select * from transaction;
+-----------------+-----------------+---------------------+----------------------+-------------------+-------------------+--+
| &lt;A href="http://transaction.sr/"&gt;transaction.sr&lt;/A&gt;  | &lt;A href="http://transaction.id/"&gt;transaction.id&lt;/A&gt;  | transaction.amount  | transaction.product  | transaction.city  | transaction.date  |
+-----------------+-----------------+---------------------+----------------------+-------------------+-------------------+--+
| NULL  | NULL  | NULL  | NULL  | NULL  | NULL  |
| NULL  | NULL  | NULL  | NULL  | NULL  | NULL  |
| NULL  | NULL  | NULL  | NULL  | NULL  | NULL  |
| NULL  | NULL  | NULL  | NULL  | NULL  | NULL  |
| NULL  | NULL  | NULL  | NULL  | NULL  | NULL  |
| NULL  | NULL  | NULL  | NULL  | NULL  | NULL  |
| NULL  | NULL  | NULL  | NULL  | NULL  | NULL  |
+-----------------+-----------------+---------------------+----------------------+-------------------+-------------------+--+&lt;/P&gt;&lt;P&gt;While placing the file in /tmp, it is again showing all the values as NULL @&lt;A href="https://community.hortonworks.com/users/168/bleonhardi.html"&gt;Benjamin Leonhardi&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Sep 2016 08:54:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/No-files-matching-path-error-while-loading-data-in-Hive/m-p/123320#M86064</guid>
      <dc:creator>priyanka1_munja</dc:creator>
      <dc:date>2016-09-21T08:54:53Z</dc:date>
    </item>
    <item>
      <title>Re: No files matching path error while loading data in Hive table</title>
      <link>https://community.cloudera.com/t5/Support-Questions/No-files-matching-path-error-while-loading-data-in-Hive/m-p/123321#M86065</link>
      <description>&lt;P&gt;Another possible reason is that the file is not existing on the node where Hive server is running. The file needs to be present on the node where Hive server is running. Sometimes Hive server might not be running on the same node from where you are invoking the beeline client.&lt;/P&gt;</description>
      <pubDate>Tue, 28 May 2019 12:56:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/No-files-matching-path-error-while-loading-data-in-Hive/m-p/123321#M86065</guid>
      <dc:creator>uspadashetty</dc:creator>
      <dc:date>2019-05-28T12:56:07Z</dc:date>
    </item>
  </channel>
</rss>

