<?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: Table Access  Privileges via Hue in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Table-Access-Privileges-via-Hue/m-p/326356#M229872</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Are you able to see the databases outside of hue as a&amp;nbsp;&lt;STRONG&gt;testuser?&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;2. User and group mapping should be proper and correct to access the databases, please compare the user groups who have access and who doesn't have access.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3. id -Gn &amp;lt;user-id&amp;gt; ( it shows the allocated groups and compare with other users who have access&amp;nbsp; if any groups are missing add the user to that group and give a try )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;4. If&amp;nbsp;&lt;STRONG&gt;testuser &lt;/STRONG&gt;user cannot see the databases throgh impala-shell and you have given proper privileges then something might messed up at os level with user group mappings, you can try restarting the SSSD and clear cache of SSSD on all hosts and give a try.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chethan YM&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 05 Oct 2021 06:01:29 GMT</pubDate>
    <dc:creator>ChethanYM</dc:creator>
    <dc:date>2021-10-05T06:01:29Z</dc:date>
    <item>
      <title>Table Access  Privileges via Hue</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Table-Access-Privileges-via-Hue/m-p/325800#M229730</link>
      <description>&lt;P&gt;Hi, I would like to create the access privileges in database and table level.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So, what I had performed is:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. Create user in hue (Manage User)&lt;/P&gt;
&lt;P&gt;a) testuser1 (non-sentry admin group), assigned under "testgroup"&lt;/P&gt;
&lt;P&gt;b) admin (Sentry-admin-group), assigned under "admingroup"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. Grant role to the user "testuser1":&lt;/P&gt;
&lt;P&gt;create role role_test;&lt;/P&gt;
&lt;P&gt;grant all on server server1 to role role_test;&lt;/P&gt;
&lt;P&gt;grant role role_test to group testgroup;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, when login in as "testuser1" in hue, I can't see any database. And check via query "show current role" and no record is returned.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there any steps I have missed?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2026 08:57:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Table-Access-Privileges-via-Hue/m-p/325800#M229730</guid>
      <dc:creator>ahding90</dc:creator>
      <dc:date>2026-04-21T08:57:12Z</dc:date>
    </item>
    <item>
      <title>Re: Table Access  Privileges via Hue</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Table-Access-Privileges-via-Hue/m-p/326169#M229797</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Just to isolate the issue have you tried to list the databases outside of Hue may be from impala-shell? are you able to see the databases? do confirm and provide the error stack trace if you find any.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. Go to&amp;nbsp;&lt;SPAN&gt;Hue -&amp;gt; Security -&amp;gt; Hive Tables -&amp;gt; Browse -&amp;gt;&amp;nbsp;and see if you are able to see the databases.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. create role test_role;&lt;/P&gt;&lt;P&gt;2.&amp;nbsp;GRANT ALL ON database &amp;lt;db_name&amp;gt; TO ROLE test_role;&lt;/P&gt;&lt;P&gt;3. GRANT ROLE test_role to GROUP &amp;lt;group-name&amp;gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note: Make sure the user is part of this particular group on all the hosts in the cluster.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Verify and you can provide the output for below command:&lt;/P&gt;&lt;P&gt;a. show grant role&amp;nbsp;&lt;SPAN&gt;role_test;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chethan YM&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Oct 2021 04:58:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Table-Access-Privileges-via-Hue/m-p/326169#M229797</guid>
      <dc:creator>ChethanYM</dc:creator>
      <dc:date>2021-10-04T04:58:40Z</dc:date>
    </item>
    <item>
      <title>Re: Table Access  Privileges via Hue</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Table-Access-Privileges-via-Hue/m-p/326185#M229806</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/75213"&gt;@ChethanYM&lt;/a&gt;&amp;nbsp; thanks for your response. Please find my replies below in &lt;STRONG&gt;&lt;FONT color="#339966"&gt;green&lt;/FONT&gt;&lt;/STRONG&gt;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Just to isolate the issue have you tried to list the databases outside of Hue may be from impala-shell? are you able to see the databases? do confirm and provide the error stack trace if you find any.&lt;/P&gt;&lt;P&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Yes, able to list the database outside of Hue.&amp;nbsp;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. Go to&amp;nbsp;&lt;SPAN&gt;Hue -&amp;gt; Security -&amp;gt; Hive Tables -&amp;gt; Browse -&amp;gt;&amp;nbsp;and see if you are able to see the databases.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;If impersonate as the testuser, I can't view any database, only default DB is showing, but the objects contains inside the default DB is also not showing as well.&amp;nbsp;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;If impersonate as the admin, yes, admin can view all the DB created and the objects granted.&amp;nbsp;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. create role test_role;&lt;/P&gt;&lt;P&gt;2.&amp;nbsp;GRANT ALL ON database &amp;lt;db_name&amp;gt; TO ROLE test_role;&lt;/P&gt;&lt;P&gt;3. GRANT ROLE test_role to GROUP &amp;lt;group-name&amp;gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note: Make sure the user is part of this particular group on all the hosts in the cluster.&lt;/P&gt;&lt;P&gt;To confirm on this part. How I assign the user is part of the particular group is:&lt;/P&gt;&lt;P&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;1. From Hue, Manager User, edit user, assign group via Step 2: Group and Profile&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;2. Create user and group in unix via root.&amp;nbsp;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#339966"&gt;Is there any steps I missed out here? I&amp;nbsp; think main problem is this particular user is not properly assigned into the group.&amp;nbsp;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Verify and you can provide the output for below command:&lt;/P&gt;&lt;P&gt;a. show grant role&amp;nbsp;&lt;SPAN&gt;role_test;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Outcome:&amp;nbsp;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="granted_role.PNG" style="width: 461px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/32549i12A1D7E16AE9173C/image-dimensions/461x113?v=v2" width="461" height="113" role="button" title="granted_role.PNG" alt="granted_role.PNG" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&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;&lt;P&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Additional info:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Login as testuser and query "show current role", no data is returned.&amp;nbsp;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Oct 2021 06:59:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Table-Access-Privileges-via-Hue/m-p/326185#M229806</guid>
      <dc:creator>ahding90</dc:creator>
      <dc:date>2021-10-04T06:59:17Z</dc:date>
    </item>
    <item>
      <title>Re: Table Access  Privileges via Hue</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Table-Access-Privileges-via-Hue/m-p/326356#M229872</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Are you able to see the databases outside of hue as a&amp;nbsp;&lt;STRONG&gt;testuser?&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;2. User and group mapping should be proper and correct to access the databases, please compare the user groups who have access and who doesn't have access.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3. id -Gn &amp;lt;user-id&amp;gt; ( it shows the allocated groups and compare with other users who have access&amp;nbsp; if any groups are missing add the user to that group and give a try )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;4. If&amp;nbsp;&lt;STRONG&gt;testuser &lt;/STRONG&gt;user cannot see the databases throgh impala-shell and you have given proper privileges then something might messed up at os level with user group mappings, you can try restarting the SSSD and clear cache of SSSD on all hosts and give a try.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chethan YM&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Oct 2021 06:01:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Table-Access-Privileges-via-Hue/m-p/326356#M229872</guid>
      <dc:creator>ChethanYM</dc:creator>
      <dc:date>2021-10-05T06:01:29Z</dc:date>
    </item>
    <item>
      <title>Re: Table Access  Privileges via Hue</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Table-Access-Privileges-via-Hue/m-p/326566#M229899</link>
      <description>&lt;P&gt;Finally, it's resolved.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I made a mistake where create the unix user &amp;amp; group in the wrong location.&lt;/P&gt;&lt;P&gt;It should create in the master node instead.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, it might need to restart the cluster in order to make the changes (for my case I have to restart, else I couldn't view the granted table list in the Hue Manager)&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you! New lesson learned. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Oct 2021 05:49:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Table-Access-Privileges-via-Hue/m-p/326566#M229899</guid>
      <dc:creator>ahding90</dc:creator>
      <dc:date>2021-10-06T05:49:35Z</dc:date>
    </item>
  </channel>
</rss>

