<?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 Unable to see new database under Hive with Sentry enabled in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-see-new-database-under-Hive-with-Sentry-enabled/m-p/48120#M47430</link>
    <description>&lt;P&gt;I have enabled Sentry and Kerberos on CDH 5.9. I have created an admin role and grant it to the admin group.My admin user is able to manage the Hive server.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However the normal user account can't see the new database I created.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have run steps as below:&lt;/P&gt;&lt;P&gt;1. Create a new database call marketing&lt;/P&gt;&lt;P&gt;2. Create a new role call marketing-senior&lt;/P&gt;&lt;P&gt;3. Grant all priviliges on the&amp;nbsp;database marketing to the role marketing-senior&lt;/P&gt;&lt;P&gt;4. Grant role marketing-senior to one AD group call&amp;nbsp;&lt;SPAN&gt;marketing-senior as well&lt;/SPAN&gt;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;5. Use one normal user account log into Hue. My normal user account is in the group &lt;SPAN&gt;marketing-senior&lt;/SPAN&gt;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;6. The normal user account can't see database marketing.&lt;/P&gt;&lt;P&gt;6. Ran statement 'use marketing', it gave an error message as below&lt;/P&gt;&lt;P&gt;"Error while compiling statement: FAILED: SemanticException No valid privileges User hduser1 does not have privileges for SWITCHDATABASE The required privileges: Server=server1-&amp;gt;Db=*-&amp;gt;Table=+-&amp;gt;Column=*-&amp;gt;action=select;Server=server1-&amp;gt;Db=*-&amp;gt;Table=+-&amp;gt;Column=*-&amp;gt;action=insert;"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Great thanks for any help.&lt;/P&gt;</description>
    <pubDate>Fri, 16 Sep 2022 10:49:59 GMT</pubDate>
    <dc:creator>ChenLiangRyan</dc:creator>
    <dc:date>2022-09-16T10:49:59Z</dc:date>
    <item>
      <title>Unable to see new database under Hive with Sentry enabled</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-see-new-database-under-Hive-with-Sentry-enabled/m-p/48120#M47430</link>
      <description>&lt;P&gt;I have enabled Sentry and Kerberos on CDH 5.9. I have created an admin role and grant it to the admin group.My admin user is able to manage the Hive server.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However the normal user account can't see the new database I created.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have run steps as below:&lt;/P&gt;&lt;P&gt;1. Create a new database call marketing&lt;/P&gt;&lt;P&gt;2. Create a new role call marketing-senior&lt;/P&gt;&lt;P&gt;3. Grant all priviliges on the&amp;nbsp;database marketing to the role marketing-senior&lt;/P&gt;&lt;P&gt;4. Grant role marketing-senior to one AD group call&amp;nbsp;&lt;SPAN&gt;marketing-senior as well&lt;/SPAN&gt;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;5. Use one normal user account log into Hue. My normal user account is in the group &lt;SPAN&gt;marketing-senior&lt;/SPAN&gt;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;6. The normal user account can't see database marketing.&lt;/P&gt;&lt;P&gt;6. Ran statement 'use marketing', it gave an error message as below&lt;/P&gt;&lt;P&gt;"Error while compiling statement: FAILED: SemanticException No valid privileges User hduser1 does not have privileges for SWITCHDATABASE The required privileges: Server=server1-&amp;gt;Db=*-&amp;gt;Table=+-&amp;gt;Column=*-&amp;gt;action=select;Server=server1-&amp;gt;Db=*-&amp;gt;Table=+-&amp;gt;Column=*-&amp;gt;action=insert;"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Great thanks for any help.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 10:49:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-see-new-database-under-Hive-with-Sentry-enabled/m-p/48120#M47430</guid>
      <dc:creator>ChenLiangRyan</dc:creator>
      <dc:date>2022-09-16T10:49:59Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to see new database under Hive with Sentry enabled</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-see-new-database-under-Hive-with-Sentry-enabled/m-p/48122#M47431</link>
      <description>&lt;P&gt;Sorry guys. The user saw the database after sometime. Maybe the Sentry needs sometime to fresh the permission settings.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Nov 2016 14:32:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unable-to-see-new-database-under-Hive-with-Sentry-enabled/m-p/48122#M47431</guid>
      <dc:creator>ChenLiangRyan</dc:creator>
      <dc:date>2016-11-29T14:32:09Z</dc:date>
    </item>
  </channel>
</rss>

