<?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: How to find out the roles / groups assigned to a schema / DB in Hive in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/How-to-find-out-the-roles-groups-assigned-to-a-schema-DB-in/m-p/400803#M250967</link>
    <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/101268"&gt;@CelsoC&lt;/a&gt;&amp;nbsp;Welcome to the Cloudera Community!&lt;BR /&gt;As this is an older post, you would have a better chance of receiving a resolution by&lt;A href="“https://community.cloudera.com/t5/forums/postpage/board-id/Questions”" target="_blank"&gt; starting a new thread&lt;/A&gt;. This will also be an opportunity to provide details specific to your environment that could aid others in assisting you with a more accurate answer to your question. You can link this thread as a reference in your new post. Thanks.&lt;/P&gt;</description>
    <pubDate>Wed, 22 Jan 2025 00:36:27 GMT</pubDate>
    <dc:creator>DianaTorres</dc:creator>
    <dc:date>2025-01-22T00:36:27Z</dc:date>
    <item>
      <title>How to find out the roles / groups assigned to a schema / DB in Hive</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-find-out-the-roles-groups-assigned-to-a-schema-DB-in/m-p/363583#M239030</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to find out what are the roles / groups assigned to a DB / Schema in Hive, how I can get those details ? please suggest.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;PK&lt;/P&gt;</description>
      <pubDate>Fri, 10 Feb 2023 14:17:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-find-out-the-roles-groups-assigned-to-a-schema-DB-in/m-p/363583#M239030</guid>
      <dc:creator>prakodi</dc:creator>
      <dc:date>2023-02-10T14:17:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to find out the roles / groups assigned to a schema / DB in Hive</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-find-out-the-roles-groups-assigned-to-a-schema-DB-in/m-p/363709#M239064</link>
      <description>&lt;P&gt;What is the specific version of HDP /CDH / CDP ?&lt;/P&gt;</description>
      <pubDate>Mon, 13 Feb 2023 18:08:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-find-out-the-roles-groups-assigned-to-a-schema-DB-in/m-p/363709#M239064</guid>
      <dc:creator>JoseManuel</dc:creator>
      <dc:date>2023-02-13T18:08:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to find out the roles / groups assigned to a schema / DB in Hive</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-find-out-the-roles-groups-assigned-to-a-schema-DB-in/m-p/363750#M239069</link>
      <description>&lt;P&gt;CDH 6.3&lt;/P&gt;</description>
      <pubDate>Tue, 14 Feb 2023 12:43:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-find-out-the-roles-groups-assigned-to-a-schema-DB-in/m-p/363750#M239069</guid>
      <dc:creator>prakodi</dc:creator>
      <dc:date>2023-02-14T12:43:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to find out the roles / groups assigned to a schema / DB in Hive</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-find-out-the-roles-groups-assigned-to-a-schema-DB-in/m-p/363772#M239071</link>
      <description>&lt;P&gt;Use the following command reference&lt;/P&gt;&lt;P&gt;These are to be executed from Hive Beeline to view Role Privileges and Assignments&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;&amp;gt; SHOW ROLES;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;List available roles&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;&amp;gt; SHOW CURRENT ROLES;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;List roles assigned to current user/group&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;&amp;gt; SHOW ROLE GRANT GROUP &amp;lt;GROUP NAME&amp;gt;;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;Lists the roles that are assigned to the specified group.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;&amp;gt; SHOW GRANT ROLE &amp;lt;ROLE&amp;gt;;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;Lists the permissions that have been granted to the specified role.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;&amp;gt;SHOW GRANT ROLE &amp;lt;role name&amp;gt; ON &amp;lt;object type&amp;gt; &amp;lt;object name&amp;gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;Lists the permissions that a role has on an object.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Feb 2023 16:41:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-find-out-the-roles-groups-assigned-to-a-schema-DB-in/m-p/363772#M239071</guid>
      <dc:creator>JoseManuel</dc:creator>
      <dc:date>2023-02-14T16:41:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to find out the roles / groups assigned to a schema / DB in Hive</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-find-out-the-roles-groups-assigned-to-a-schema-DB-in/m-p/364135#M239106</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/98744"&gt;@prakodi&lt;/a&gt;&amp;nbsp;Has the reply helped resolve your issue? If so, please mark the appropriate reply as the solution, as it will make it easier for others to find the answer in the future. Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 17 Feb 2023 17:45:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-find-out-the-roles-groups-assigned-to-a-schema-DB-in/m-p/364135#M239106</guid>
      <dc:creator>DianaTorres</dc:creator>
      <dc:date>2023-02-17T17:45:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to find out the roles / groups assigned to a schema / DB in Hive</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-find-out-the-roles-groups-assigned-to-a-schema-DB-in/m-p/364137#M239108</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for the reply, but if I know the role or group, I can easily get the details from above commands, but for a specific DB , if I want to&amp;nbsp; find out what are the roles assigned, is there a way to do it ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Assume, my schema name is schema1, how to find out the roles assigned to this schema ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;PK&lt;/P&gt;</description>
      <pubDate>Fri, 17 Feb 2023 17:55:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-find-out-the-roles-groups-assigned-to-a-schema-DB-in/m-p/364137#M239108</guid>
      <dc:creator>prakodi</dc:creator>
      <dc:date>2023-02-17T17:55:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to find out the roles / groups assigned to a schema / DB in Hive</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-find-out-the-roles-groups-assigned-to-a-schema-DB-in/m-p/364138#M239109</link>
      <description>&lt;P&gt;PK,&lt;/P&gt;&lt;P&gt;If you have access to the Sentry Store backend use a query like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT face="courier new,courier"&gt;SELECT&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;r.ROLE_NAME, &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;g.GROUP_NAME, &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;p.*, &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;FROM_UNIXTIME(p.CREATE_TIME / 1000) as CREATE_TIME_DATE &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;FROM&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;SENTRY_ROLE r &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;INNER JOIN SENTRY_ROLE_GROUP_MAP rgm ON r.ROLE_ID = rgm.ROLE_ID &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;INNER JOIN SENTRY_GROUP g ON g.GROUP_ID = rgm.GROUP_ID &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;INNER JOIN SENTRY_ROLE_DB_PRIVILEGE_MAP rpm ON r.ROLE_ID = rpm.ROLE_ID &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;INNER JOIN SENTRY_DB_PRIVILEGE p ON p.DB_PRIVILEGE_ID = rpm.DB_PRIVILEGE_ID;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope it helps,&lt;/P&gt;&lt;P&gt;-JMP&lt;/P&gt;</description>
      <pubDate>Fri, 17 Feb 2023 18:46:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-find-out-the-roles-groups-assigned-to-a-schema-DB-in/m-p/364138#M239109</guid>
      <dc:creator>JoseManuel</dc:creator>
      <dc:date>2023-02-17T18:46:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to find out the roles / groups assigned to a schema / DB in Hive</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-find-out-the-roles-groups-assigned-to-a-schema-DB-in/m-p/364139#M239110</link>
      <description>&lt;P&gt;Thank you very much.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;PK&lt;/P&gt;</description>
      <pubDate>Fri, 17 Feb 2023 19:04:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-find-out-the-roles-groups-assigned-to-a-schema-DB-in/m-p/364139#M239110</guid>
      <dc:creator>prakodi</dc:creator>
      <dc:date>2023-02-17T19:04:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to find out the roles / groups assigned to a schema / DB in Hive</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-find-out-the-roles-groups-assigned-to-a-schema-DB-in/m-p/400801#M250965</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/34263"&gt;@JoseManuel&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Is there any possible query to have a similar result with Ranger (CDP 7.1.7 sp2)?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Celso&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jan 2025 20:46:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-find-out-the-roles-groups-assigned-to-a-schema-DB-in/m-p/400801#M250965</guid>
      <dc:creator>CelsoC</dc:creator>
      <dc:date>2025-01-21T20:46:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to find out the roles / groups assigned to a schema / DB in Hive</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-find-out-the-roles-groups-assigned-to-a-schema-DB-in/m-p/400803#M250967</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/101268"&gt;@CelsoC&lt;/a&gt;&amp;nbsp;Welcome to the Cloudera Community!&lt;BR /&gt;As this is an older post, you would have a better chance of receiving a resolution by&lt;A href="“https://community.cloudera.com/t5/forums/postpage/board-id/Questions”" target="_blank"&gt; starting a new thread&lt;/A&gt;. This will also be an opportunity to provide details specific to your environment that could aid others in assisting you with a more accurate answer to your question. You can link this thread as a reference in your new post. Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jan 2025 00:36:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-find-out-the-roles-groups-assigned-to-a-schema-DB-in/m-p/400803#M250967</guid>
      <dc:creator>DianaTorres</dc:creator>
      <dc:date>2025-01-22T00:36:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to find out the roles / groups assigned to a schema / DB in Hive</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-find-out-the-roles-groups-assigned-to-a-schema-DB-in/m-p/400875#M250980</link>
      <description>&lt;P&gt;I tested this in 7.1.9 SP1 CHF 4, with Postgres&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="cdebernardi_0-1737577164387.png" style="width: 999px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/43637iB30E099D2A051B0C/image-size/large?v=v2&amp;amp;px=999" role="button" title="cdebernardi_0-1737577164387.png" alt="cdebernardi_0-1737577164387.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jan 2025 20:20:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-find-out-the-roles-groups-assigned-to-a-schema-DB-in/m-p/400875#M250980</guid>
      <dc:creator>cdebernardi</dc:creator>
      <dc:date>2025-01-22T20:20:32Z</dc:date>
    </item>
  </channel>
</rss>

