<?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: Permission Denied for user=hive on LOAD DATA INPATH in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Permission-Denied-for-user-hive-on-LOAD-DATA-INPATH/m-p/100880#M13624</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1824/pelasne.html" nodeid="1824"&gt;@Peter Lasne&lt;/A&gt; As you see, only admin user has write access which is resulting into this issue. Please give write access to Hive user here and that should fix issue. Usually I would recommend having rwxrwxrwx on /tmp.&lt;/P&gt;&lt;P&gt;/tmp/admin/data/trucks.csv":admin:hdfs:drwxr-xr-x&lt;/P&gt;</description>
    <pubDate>Tue, 29 Dec 2015 02:12:52 GMT</pubDate>
    <dc:creator>pardeep_kumar</dc:creator>
    <dc:date>2015-12-29T02:12:52Z</dc:date>
    <item>
      <title>Permission Denied for user=hive on LOAD DATA INPATH</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Permission-Denied-for-user-hive-on-LOAD-DATA-INPATH/m-p/100879#M13623</link>
      <description>&lt;P&gt;When trying to go through the tutorials on &lt;A href="http://hortonworks.com/hadoop-tutorial/hello-world-an-introduction-to-hadoop-hcatalog-hive-and-pig/#section_4"&gt;http://hortonworks.com/hadoop-tutorial/hello-world...&lt;/A&gt; I get a permission denied error when trying to LOAD DATA INPATH '/tmp/admin/data/trucks.csv' OVERWRITE INTO TABLE trucks_stage;&lt;/P&gt;&lt;P&gt;This is using a brand new sandbox 2.3.2 instance in Azure. I did give the trucks.csv file WRITE permission for all 3. I am logged into Ambari as "admin". It appears the operation is running as "hive", which makes sense since that shows as the service account.&lt;/P&gt;&lt;P&gt;LOG SNIPPET:&lt;/P&gt;&lt;P&gt;INFO : Loading data to table default.trucks_stage from hdfs://sandbox.hortonworks.com:8020/tmp/admin/data/trucks.csv
ERROR : Failed with exception Unable to move source hdfs://sandbox.hortonworks.com:8020/tmp/admin/data/trucks.csv to destination hdfs://sandbox.hortonworks.com:8020/apps/hive/warehouse/trucks_stage/trucks.csv
org.apache.hadoop.hive.ql.metadata.HiveException: Unable to move source hdfs://sandbox.hortonworks.com:8020/tmp/admin/data/trucks.csv to destination hdfs://sandbox.hortonworks.com:8020/apps/hive/warehouse/trucks_stage/trucks.csv&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;Caused by: org.apache.hadoop.security.AccessControlException: Permission denied: user=hive, access=WRITE, inode="/tmp/admin/data/trucks.csv":admin:hdfs:drwxr-xr-x&lt;/P&gt;</description>
      <pubDate>Mon, 28 Dec 2015 23:33:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Permission-Denied-for-user-hive-on-LOAD-DATA-INPATH/m-p/100879#M13623</guid>
      <dc:creator>pelasne</dc:creator>
      <dc:date>2015-12-28T23:33:07Z</dc:date>
    </item>
    <item>
      <title>Re: Permission Denied for user=hive on LOAD DATA INPATH</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Permission-Denied-for-user-hive-on-LOAD-DATA-INPATH/m-p/100880#M13624</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1824/pelasne.html" nodeid="1824"&gt;@Peter Lasne&lt;/A&gt; As you see, only admin user has write access which is resulting into this issue. Please give write access to Hive user here and that should fix issue. Usually I would recommend having rwxrwxrwx on /tmp.&lt;/P&gt;&lt;P&gt;/tmp/admin/data/trucks.csv":admin:hdfs:drwxr-xr-x&lt;/P&gt;</description>
      <pubDate>Tue, 29 Dec 2015 02:12:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Permission-Denied-for-user-hive-on-LOAD-DATA-INPATH/m-p/100880#M13624</guid>
      <dc:creator>pardeep_kumar</dc:creator>
      <dc:date>2015-12-29T02:12:52Z</dc:date>
    </item>
    <item>
      <title>Re: Permission Denied for user=hive on LOAD DATA INPATH</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Permission-Denied-for-user-hive-on-LOAD-DATA-INPATH/m-p/100881#M13625</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1824/pelasne.html" nodeid="1824"&gt;@Peter Lasne&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Please, give write access to everyone to folder /tmp/admin/data also, not only file /tmp/admin/data/trucks.csv&lt;/P&gt;</description>
      <pubDate>Tue, 29 Dec 2015 02:21:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Permission-Denied-for-user-hive-on-LOAD-DATA-INPATH/m-p/100881#M13625</guid>
      <dc:creator>gbraccialli3</dc:creator>
      <dc:date>2015-12-29T02:21:09Z</dc:date>
    </item>
    <item>
      <title>Re: Permission Denied for user=hive on LOAD DATA INPATH</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Permission-Denied-for-user-hive-on-LOAD-DATA-INPATH/m-p/100882#M13626</link>
      <description>&lt;P&gt;Thanks, granting permission for all users from /tmp up through /data worked fine. I am confused why the tutorial from &lt;A href="http://hortonworks.com/hadoop-tutorial/hello-world-an-introduction-to-hadoop-hcatalog-hive-and-pig/#section_4"&gt;http://hortonworks.com/hadoop-tutorial/hello-world...&lt;/A&gt; specifies only changing the permissions on the file if more than that is required.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Dec 2015 04:12:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Permission-Denied-for-user-hive-on-LOAD-DATA-INPATH/m-p/100882#M13626</guid>
      <dc:creator>pelasne</dc:creator>
      <dc:date>2015-12-29T04:12:42Z</dc:date>
    </item>
    <item>
      <title>Re: Permission Denied for user=hive on LOAD DATA INPATH</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Permission-Denied-for-user-hive-on-LOAD-DATA-INPATH/m-p/100883#M13627</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1824/pelasne.html" nodeid="1824"&gt;@Peter Lasne&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Tutorial will be fixed ASAP. &lt;/P&gt;&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/416/zblanco.html" nodeid="416"&gt;@zblanco&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Tue, 29 Dec 2015 04:16:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Permission-Denied-for-user-hive-on-LOAD-DATA-INPATH/m-p/100883#M13627</guid>
      <dc:creator>gbraccialli3</dc:creator>
      <dc:date>2015-12-29T04:16:43Z</dc:date>
    </item>
    <item>
      <title>Re: Permission Denied for user=hive on LOAD DATA INPATH</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Permission-Denied-for-user-hive-on-LOAD-DATA-INPATH/m-p/100884#M13628</link>
      <description>&lt;P&gt;The part of the tutorial in question has been updated.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Dec 2015 21:42:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Permission-Denied-for-user-hive-on-LOAD-DATA-INPATH/m-p/100884#M13628</guid>
      <dc:creator>zblanco</dc:creator>
      <dc:date>2015-12-29T21:42:11Z</dc:date>
    </item>
    <item>
      <title>Re: Permission Denied for user=hive on LOAD DATA INPATH</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Permission-Denied-for-user-hive-on-LOAD-DATA-INPATH/m-p/270017#M13629</link>
      <description>&lt;P&gt;How to give write access to the file or folder&lt;/P&gt;</description>
      <pubDate>Mon, 09 Sep 2019 11:45:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Permission-Denied-for-user-hive-on-LOAD-DATA-INPATH/m-p/270017#M13629</guid>
      <dc:creator>Manoj690</dc:creator>
      <dc:date>2019-09-09T11:45:48Z</dc:date>
    </item>
  </channel>
</rss>

