<?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: Error on Tutorial &amp;quot;How to Process Data with Apache Hive&amp;quot; - Cannot load data into Hive tables in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-on-Tutorial-quot-How-to-Process-Data-with-Apache-Hive/m-p/101414#M14123</link>
    <description>&lt;A rel="user" href="https://community.cloudera.com/users/1527/acondron.html" nodeid="1527"&gt;@Aidan Condron&lt;/A&gt;&lt;P&gt;Is temp_batting an external or internal table? My assumption is it's an internal table and thus when you load data in path, it's trying to move the data in /apps/warehouse/database(default)/temp_batting and the admin user doesn't have permissions to move the file. &lt;/P&gt;&lt;P&gt;Can you please try running:&lt;/P&gt;&lt;PRE&gt;hdfs dfs -chmod -R 777 /user/admin/elecMonthly_Orc
&lt;/PRE&gt;&lt;P&gt;and then trying to run your load data inpath command?&lt;/P&gt;</description>
    <pubDate>Tue, 05 Jan 2016 23:24:57 GMT</pubDate>
    <dc:creator>awatson</dc:creator>
    <dc:date>2016-01-05T23:24:57Z</dc:date>
    <item>
      <title>Error on Tutorial "How to Process Data with Apache Hive" - Cannot load data into Hive tables</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-on-Tutorial-quot-How-to-Process-Data-with-Apache-Hive/m-p/101407#M14116</link>
      <description>&lt;P&gt;Problem loading data to table in this tutorial &lt;/P&gt;&lt;P&gt;&lt;A href="http://hortonworks.com/hadoop-tutorial/how-to-process-data-with-apache-hive/"&gt;http://hortonworks.com/hadoop-tutorial/how-to-process-data-with-apache-hive/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;This command &lt;/P&gt;&lt;PRE&gt;&amp;lt;code&amp;gt;LOAD DATA INPATH '/user/admin/Batting.csv' OVERWRITE INTO TABLE temp_batting;&lt;/PRE&gt;&lt;P&gt;produces error&lt;/P&gt;&lt;P&gt;H110 Unable to submit statement. Error while compiling statement: FAILED: 
 HiveAccessControlException Permission denied: user [admin] does not have [READ] privilege on 
 [hdfs://sandbox.hortonworks.com:8020/user/admin/elecMonthly_Orc] [ERROR_STATUS]&lt;/P&gt;&lt;P&gt;I created both user/admin and temp/admin folders. I used hdfs superuser to make admin owner of file, folder, and even parent folder.  I gave full permissions in HDFS. and this is clearly shown in Ambari. Error persists.&lt;/P&gt;&lt;P&gt;Can anyone help?  Thanks &lt;/P&gt;</description>
      <pubDate>Tue, 05 Jan 2016 22:21:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-on-Tutorial-quot-How-to-Process-Data-with-Apache-Hive/m-p/101407#M14116</guid>
      <dc:creator>acondron</dc:creator>
      <dc:date>2016-01-05T22:21:25Z</dc:date>
    </item>
    <item>
      <title>Re: Error on Tutorial "How to Process Data with Apache Hive" - Cannot load data into Hive tables</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-on-Tutorial-quot-How-to-Process-Data-with-Apache-Hive/m-p/101408#M14117</link>
      <description>&lt;P&gt;&lt;A href="https://community.hortonworks.com/questions/8765/how-to-load-data-into-hive-tables.html#"&gt;@Aidan Condron&lt;/A&gt;
&lt;/P&gt;&lt;P&gt;Can you please take a screenshot of the output of &lt;/P&gt;&lt;PRE&gt;hdfs dfs -ls /user/admin/elecMonthly_Orc&lt;/PRE&gt;</description>
      <pubDate>Tue, 05 Jan 2016 22:26:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-on-Tutorial-quot-How-to-Process-Data-with-Apache-Hive/m-p/101408#M14117</guid>
      <dc:creator>awatson</dc:creator>
      <dc:date>2016-01-05T22:26:01Z</dc:date>
    </item>
    <item>
      <title>Re: Error on Tutorial "How to Process Data with Apache Hive" - Cannot load data into Hive tables</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-on-Tutorial-quot-How-to-Process-Data-with-Apache-Hive/m-p/101409#M14118</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1527/acondron.html" nodeid="1527"&gt;@Aidan Condron&lt;/A&gt; what user are you running the Hive Statement as?&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jan 2016 22:29:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-on-Tutorial-quot-How-to-Process-Data-with-Apache-Hive/m-p/101409#M14118</guid>
      <dc:creator>awatson</dc:creator>
      <dc:date>2016-01-05T22:29:06Z</dc:date>
    </item>
    <item>
      <title>Re: Error on Tutorial "How to Process Data with Apache Hive" - Cannot load data into Hive tables</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-on-Tutorial-quot-How-to-Process-Data-with-Apache-Hive/m-p/101410#M14119</link>
      <description>&lt;P&gt;Are you using the latest sandbox? Try the Ambari Hive view, it has the &lt;STRONG&gt;Upload File&lt;/STRONG&gt; action specifically for csv files.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jan 2016 22:33:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-on-Tutorial-quot-How-to-Process-Data-with-Apache-Hive/m-p/101410#M14119</guid>
      <dc:creator>andrewg</dc:creator>
      <dc:date>2016-01-05T22:33:52Z</dc:date>
    </item>
    <item>
      <title>Re: Error on Tutorial "How to Process Data with Apache Hive" - Cannot load data into Hive tables</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-on-Tutorial-quot-How-to-Process-Data-with-Apache-Hive/m-p/101411#M14120</link>
      <description>&lt;P&gt;Thanks for answering so quickly!&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1196-miqgf.png" style="width: 1091px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/23749i657D418B763D07B1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="1196-miqgf.png" alt="1196-miqgf.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2019 12:20:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-on-Tutorial-quot-How-to-Process-Data-with-Apache-Hive/m-p/101411#M14120</guid>
      <dc:creator>acondron</dc:creator>
      <dc:date>2019-08-19T12:20:36Z</dc:date>
    </item>
    <item>
      <title>Re: Error on Tutorial "How to Process Data with Apache Hive" - Cannot load data into Hive tables</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-on-Tutorial-quot-How-to-Process-Data-with-Apache-Hive/m-p/101412#M14121</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1527/acondron.html" nodeid="1527"&gt;@Aidan Condron&lt;/A&gt; what about the directory about it. What's the output of:&lt;/P&gt;&lt;PRE&gt;hdfs dfs -ls /user/admin
&lt;/PRE&gt;&lt;P&gt;It looks like the files are owned by the user 'Spark'. Which user is the running the Hive Statement?&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jan 2016 22:38:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-on-Tutorial-quot-How-to-Process-Data-with-Apache-Hive/m-p/101412#M14121</guid>
      <dc:creator>awatson</dc:creator>
      <dc:date>2016-01-05T22:38:54Z</dc:date>
    </item>
    <item>
      <title>Re: Error on Tutorial "How to Process Data with Apache Hive" - Cannot load data into Hive tables</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-on-Tutorial-quot-How-to-Process-Data-with-Apache-Hive/m-p/101413#M14122</link>
      <description>&lt;P&gt;admin is running statement as per tutorial&lt;/P&gt;&lt;P&gt;I thought I did hdfs chown on files. Shown in Ambari as owned by admin&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1197-5noch.png" style="width: 921px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/23748i79459FCA1902E81D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="1197-5noch.png" alt="1197-5noch.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2019 12:20:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-on-Tutorial-quot-How-to-Process-Data-with-Apache-Hive/m-p/101413#M14122</guid>
      <dc:creator>acondron</dc:creator>
      <dc:date>2019-08-19T12:20:28Z</dc:date>
    </item>
    <item>
      <title>Re: Error on Tutorial "How to Process Data with Apache Hive" - Cannot load data into Hive tables</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-on-Tutorial-quot-How-to-Process-Data-with-Apache-Hive/m-p/101414#M14123</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/1527/acondron.html" nodeid="1527"&gt;@Aidan Condron&lt;/A&gt;&lt;P&gt;Is temp_batting an external or internal table? My assumption is it's an internal table and thus when you load data in path, it's trying to move the data in /apps/warehouse/database(default)/temp_batting and the admin user doesn't have permissions to move the file. &lt;/P&gt;&lt;P&gt;Can you please try running:&lt;/P&gt;&lt;PRE&gt;hdfs dfs -chmod -R 777 /user/admin/elecMonthly_Orc
&lt;/PRE&gt;&lt;P&gt;and then trying to run your load data inpath command?&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jan 2016 23:24:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-on-Tutorial-quot-How-to-Process-Data-with-Apache-Hive/m-p/101414#M14123</guid>
      <dc:creator>awatson</dc:creator>
      <dc:date>2016-01-05T23:24:57Z</dc:date>
    </item>
    <item>
      <title>Re: Error on Tutorial "How to Process Data with Apache Hive" - Cannot load data into Hive tables</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-on-Tutorial-quot-How-to-Process-Data-with-Apache-Hive/m-p/101415#M14124</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1527/acondron.html" nodeid="1527"&gt;@Aidan Condron&lt;/A&gt; are you still having issues with this? Can you accept best answer or provide your own solution?&lt;/P&gt;</description>
      <pubDate>Wed, 03 Feb 2016 03:28:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-on-Tutorial-quot-How-to-Process-Data-with-Apache-Hive/m-p/101415#M14124</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-02-03T03:28:59Z</dc:date>
    </item>
    <item>
      <title>Re: Error on Tutorial "How to Process Data with Apache Hive" - Cannot load data into Hive tables</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-on-Tutorial-quot-How-to-Process-Data-with-Apache-Hive/m-p/101416#M14125</link>
      <description>&lt;P&gt;Thanks Andrew. Think it was discongruity between Hive account running statement and Admin owing file.  Thanks for this and sorry for delay in reply.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Feb 2016 19:08:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-on-Tutorial-quot-How-to-Process-Data-with-Apache-Hive/m-p/101416#M14125</guid>
      <dc:creator>acondron</dc:creator>
      <dc:date>2016-02-03T19:08:09Z</dc:date>
    </item>
    <item>
      <title>Re: Error on Tutorial "How to Process Data with Apache Hive" - Cannot load data into Hive tables</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-on-Tutorial-quot-How-to-Process-Data-with-Apache-Hive/m-p/101417#M14126</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1527/acondron.html" nodeid="1527"&gt;@Aidan Condron&lt;/A&gt;  Is it resolved?&lt;/P&gt;</description>
      <pubDate>Wed, 03 Feb 2016 19:10:14 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-on-Tutorial-quot-How-to-Process-Data-with-Apache-Hive/m-p/101417#M14126</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2016-02-03T19:10:14Z</dc:date>
    </item>
    <item>
      <title>Re: Error on Tutorial "How to Process Data with Apache Hive" - Cannot load data into Hive tables</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-on-Tutorial-quot-How-to-Process-Data-with-Apache-Hive/m-p/101418#M14127</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1527/acondron.html" nodeid="1527"&gt;@Aidan Condron&lt;/A&gt; accept best answer below&lt;/P&gt;</description>
      <pubDate>Wed, 03 Feb 2016 19:48:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-on-Tutorial-quot-How-to-Process-Data-with-Apache-Hive/m-p/101418#M14127</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-02-03T19:48:20Z</dc:date>
    </item>
    <item>
      <title>Re: Error on Tutorial "How to Process Data with Apache Hive" - Cannot load data into Hive tables</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-on-Tutorial-quot-How-to-Process-Data-with-Apache-Hive/m-p/101419#M14128</link>
      <description>&lt;P&gt;It was because when I thought I was creating an elecMonthly_Orc file, actually I created an elecMonthly_Orc folder with several files three files: _SUCCESS, part-r-r-00000-1a0c14e3-0dd0-42db-abc7-7f655a02f634.orc ... and another similar orc files.  The files within the elecMonthly_Orc directory were owned by Hive, and that's why the permissions error. &lt;/P&gt;&lt;P&gt;Resolved by using command line as superuser hdfs:&lt;/P&gt;&lt;P&gt;hadoop fs -chown admin:admin /user/admin/elecMonthly_Orc/*.*&lt;/P&gt;&lt;P&gt;Now I just have to figure out how to recombine Orc files in Hive!&lt;/P&gt;</description>
      <pubDate>Thu, 04 Feb 2016 00:17:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-on-Tutorial-quot-How-to-Process-Data-with-Apache-Hive/m-p/101419#M14128</guid>
      <dc:creator>acondron</dc:creator>
      <dc:date>2016-02-04T00:17:55Z</dc:date>
    </item>
    <item>
      <title>Re: Error on Tutorial "How to Process Data with Apache Hive" - Cannot load data into Hive tables</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-on-Tutorial-quot-How-to-Process-Data-with-Apache-Hive/m-p/101420#M14129</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1527/acondron.html" nodeid="1527"&gt;@Aidan Condron&lt;/A&gt; can you convert your response to answer and we can mark it as best answer?&lt;/P&gt;</description>
      <pubDate>Thu, 04 Feb 2016 00:19:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-on-Tutorial-quot-How-to-Process-Data-with-Apache-Hive/m-p/101420#M14129</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-02-04T00:19:42Z</dc:date>
    </item>
    <item>
      <title>Re: Error on Tutorial "How to Process Data with Apache Hive" - Cannot load data into Hive tables</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-on-Tutorial-quot-How-to-Process-Data-with-Apache-Hive/m-p/101421#M14130</link>
      <description>&lt;P&gt;Hey guys. The tutorial mentioned above has been updated and is also compatible with the latest Sandbox HDP 2.4. It addresses the issue of permissions. Here is the link: &lt;A href="http://hortonworks.com/hadoop-tutorial/how-to-process-data-with-apache-hive/" target="_blank"&gt;http://hortonworks.com/hadoop-tutorial/how-to-process-data-with-apache-hive/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;When you a chance, can you go through the tutorial on our new Sandbox?&lt;/P&gt;</description>
      <pubDate>Tue, 08 Mar 2016 10:30:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-on-Tutorial-quot-How-to-Process-Data-with-Apache-Hive/m-p/101421#M14130</guid>
      <dc:creator>jmedel</dc:creator>
      <dc:date>2016-03-08T10:30:43Z</dc:date>
    </item>
  </channel>
</rss>

