<?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: Hive LLAP ranger insert issue (requires default table permission) in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-LLAP-ranger-insert-issue-requires-default-table/m-p/210210#M76903</link>
    <description>&lt;P&gt;My question still stands... but I did fine a ranger work around.   Ranger&amp;gt;Hive&amp;gt;default database policy.  default database Allow create/select on table "tmp_*"&lt;/P&gt;</description>
    <pubDate>Thu, 05 Apr 2018 21:56:36 GMT</pubDate>
    <dc:creator>matt_andruff</dc:creator>
    <dc:date>2018-04-05T21:56:36Z</dc:date>
    <item>
      <title>Hive LLAP ranger insert issue (requires default table permission)</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-LLAP-ranger-insert-issue-requires-default-table/m-p/210209#M76902</link>
      <description>&lt;P&gt;Using hdp 2.6.3 with LLAP in Zeppelin.&lt;/P&gt;&lt;P&gt;Hive impersonation = true&lt;/P&gt;&lt;P&gt;LLAP doas = false&lt;/P&gt;&lt;PRE&gt;insert into table myDatabase.test_sql values "test"&lt;/PRE&gt;&lt;P&gt;I get the following error message&lt;/P&gt;&lt;PRE&gt;shadehive.org.apache.hive.service.cli.HiveSQLException: Error while compiling statement: FAILED: HiveAccessControlException Permission denied: user [test] does not have [CREATE] privilege on [default/tmp_0218b93f51bf49afb291f47ca315ee57]&lt;/PRE&gt;&lt;P&gt;I do not have permissions to create tables in default.. only in myDatabase.  How can i change where this internal temp table is being created so that it's not trying to write to default, but instead myDatabase which I do have full permissions on?&lt;/P&gt;</description>
      <pubDate>Thu, 05 Apr 2018 21:21:14 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-LLAP-ranger-insert-issue-requires-default-table/m-p/210209#M76902</guid>
      <dc:creator>matt_andruff</dc:creator>
      <dc:date>2018-04-05T21:21:14Z</dc:date>
    </item>
    <item>
      <title>Re: Hive LLAP ranger insert issue (requires default table permission)</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-LLAP-ranger-insert-issue-requires-default-table/m-p/210210#M76903</link>
      <description>&lt;P&gt;My question still stands... but I did fine a ranger work around.   Ranger&amp;gt;Hive&amp;gt;default database policy.  default database Allow create/select on table "tmp_*"&lt;/P&gt;</description>
      <pubDate>Thu, 05 Apr 2018 21:56:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-LLAP-ranger-insert-issue-requires-default-table/m-p/210210#M76903</guid>
      <dc:creator>matt_andruff</dc:creator>
      <dc:date>2018-04-05T21:56:36Z</dc:date>
    </item>
    <item>
      <title>Re: Hive LLAP ranger insert issue (requires default table permission)</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-LLAP-ranger-insert-issue-requires-default-table/m-p/210211#M76904</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/12415/mattandruff.html" nodeid="12415"&gt;@Matt Andruff&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;The approach I come got to know while on the DML operation is that, when we insert the data, it creates a temp table under the database you resides / rather the database you are trying to insert.&lt;/P&gt;&lt;P&gt;in your case, since you have not switch any database it is defaulted to "default" database (or you may selected default database) hence its trying to create the table underneath. &lt;/P&gt;&lt;P&gt;rather provisioning ranger policies for access on default database, use database to target/scratch database  will avoid additional roles.&lt;/P&gt;&lt;P&gt;for the same issue you have raised there is an open Jria linked - &lt;A href="https://issues.apache.org/jira/browse/HIVE-15317" target="_blank"&gt;https://issues.apache.org/jira/browse/HIVE-15317&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Hope this helps !!&lt;/P&gt;</description>
      <pubDate>Fri, 06 Apr 2018 08:52:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-LLAP-ranger-insert-issue-requires-default-table/m-p/210211#M76904</guid>
      <dc:creator>bkosaraju</dc:creator>
      <dc:date>2018-04-06T08:52:18Z</dc:date>
    </item>
    <item>
      <title>Re: Hive LLAP ranger insert issue (requires default table permission)</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-LLAP-ranger-insert-issue-requires-default-table/m-p/210212#M76905</link>
      <description>&lt;P&gt;Interestingly I did try "use" but zeppelin's SQL interpreter doesn't seem to track 'use database' between statements.  Maybe that's an issue I should report. &lt;A rel="user" href="https://community.cloudera.com/users/15193/bkosaraju.html" nodeid="15193"&gt;@bkosaraju&lt;/A&gt; I really appreciate the thorough answer.&lt;/P&gt;</description>
      <pubDate>Sun, 08 Apr 2018 23:50:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-LLAP-ranger-insert-issue-requires-default-table/m-p/210212#M76905</guid>
      <dc:creator>matt_andruff</dc:creator>
      <dc:date>2018-04-08T23:50:17Z</dc:date>
    </item>
  </channel>
</rss>

