<?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: HiveAccessControlException Permission denied: user [xxx] does not have [USE] privilege on in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/HiveAccessControlException-Permission-denied-user-xxx-does/m-p/323125#M229029</link>
    <description>&lt;P&gt;You need to provide ALL access&amp;nbsp; to the User in the Ranger.&lt;/P&gt;&lt;P&gt;Please check the ranger permission settings in Ranger UI&lt;/P&gt;</description>
    <pubDate>Wed, 25 Aug 2021 08:07:19 GMT</pubDate>
    <dc:creator>asish</dc:creator>
    <dc:date>2021-08-25T08:07:19Z</dc:date>
    <item>
      <title>HiveAccessControlException Permission denied: user [xxx] does not have [USE] privilege on</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HiveAccessControlException-Permission-denied-user-xxx-does/m-p/304038#M221846</link>
      <description>&lt;P&gt;I'm encountering the following error while using beeline. &amp;nbsp;(Note that I'm able to successfully connect using hive cli.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[xxxx@ip-11-1-1-111 data_dir_design]$ beeline -u "jdbc:hive2://ip-11-1-1-111.us-west-1.compute.internal:10000/default;principal=hive/ip-11-1-1-111.us-west-1.compute.internal@EXAMPLE.COM"&lt;BR /&gt;Connecting to jdbc:hive2://ip-11-1-1-111.us-west-1.compute.internal:10000/default;principal=hive/ip-11-1-1-111.us-west-1.compute.internal@EXAMPLE.COM&lt;BR /&gt;Connected to: Apache Hive (version 1.2.1000.2.6.5.1175-1)&lt;BR /&gt;Driver: Hive JDBC (version 1.2.1000.2.6.5.1175-1)&lt;BR /&gt;Transaction isolation: TRANSACTION_REPEATABLE_READ&lt;BR /&gt;Beeline version 1.2.1000.2.6.5.1175-1 by Apache Hive&lt;BR /&gt;0: jdbc:hive2://ip-11-1-1-111.us-west-1.compu&amp;gt; show databases;&lt;BR /&gt;Error: Error while compiling statement: FAILED: HiveAccessControlException Permission denied: user [xxxx] does not have [USE] privilege on [Unknown resource!!] (state=42000,code=40000)&lt;BR /&gt;0: jdbc:hive2://ip-11-1-1-111.us-west-1.compu&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When connecting via hive:&lt;/P&gt;&lt;P&gt;[xxx@ip-11-1-1-111 data_dir_design]$ hive&lt;BR /&gt;log4j:WARN No such property [maxFileSize] in org.apache.log4j.DailyRollingFileAppender.&lt;/P&gt;&lt;P&gt;Logging initialized using configuration in file:/etc/hive/2.6.5.1175-1/0/hive-log4j.properties&lt;BR /&gt;hive&amp;gt; show databases;&lt;BR /&gt;OK&lt;BR /&gt;data&lt;BR /&gt;default&lt;BR /&gt;demo&lt;BR /&gt;Time taken: 0.971 seconds, Fetched: 3 row(s)&lt;BR /&gt;hive&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have granted the proper permission in ranger.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Oct 2020 19:56:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HiveAccessControlException-Permission-denied-user-xxx-does/m-p/304038#M221846</guid>
      <dc:creator>martyc71</dc:creator>
      <dc:date>2020-10-07T19:56:56Z</dc:date>
    </item>
    <item>
      <title>Re: HiveAccessControlException Permission denied: user [xxx] does not have [USE] privilege on</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HiveAccessControlException-Permission-denied-user-xxx-does/m-p/304045#M221851</link>
      <description>&lt;P&gt;Disregard, fixed the issue by update Ranger Settings:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ranger -&amp;gt; Advanced -&amp;gt; Ranger Settings:&amp;nbsp;&lt;/P&gt;&lt;P&gt;Updated External URL from public dns (using AWS) to Private DNS.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Restarted services and now beeline is working properly.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Oct 2020 20:27:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HiveAccessControlException-Permission-denied-user-xxx-does/m-p/304045#M221851</guid>
      <dc:creator>martyc71</dc:creator>
      <dc:date>2020-10-07T20:27:42Z</dc:date>
    </item>
    <item>
      <title>Re: HiveAccessControlException Permission denied: user [xxx] does not have [USE] privilege on</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HiveAccessControlException-Permission-denied-user-xxx-does/m-p/323100#M229023</link>
      <description>&lt;P&gt;Hi, we are also running into same issue in CDP. Could you please let us know what exact configuration you changed to make it work..?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 24 Aug 2021 23:53:14 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HiveAccessControlException-Permission-denied-user-xxx-does/m-p/323100#M229023</guid>
      <dc:creator>Rajasekhar</dc:creator>
      <dc:date>2021-08-24T23:53:14Z</dc:date>
    </item>
    <item>
      <title>Re: HiveAccessControlException Permission denied: user [xxx] does not have [USE] privilege on</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HiveAccessControlException-Permission-denied-user-xxx-does/m-p/323125#M229029</link>
      <description>&lt;P&gt;You need to provide ALL access&amp;nbsp; to the User in the Ranger.&lt;/P&gt;&lt;P&gt;Please check the ranger permission settings in Ranger UI&lt;/P&gt;</description>
      <pubDate>Wed, 25 Aug 2021 08:07:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HiveAccessControlException-Permission-denied-user-xxx-does/m-p/323125#M229029</guid>
      <dc:creator>asish</dc:creator>
      <dc:date>2021-08-25T08:07:19Z</dc:date>
    </item>
  </channel>
</rss>

