<?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: Kerberized HDP 2.4 - getting error in using Hive View on Ambari in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Kerberized-HDP-2-4-getting-error-in-using-Hive-View-on/m-p/136006#M47858</link>
    <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/14047/karanalang.html"&gt;Karan Alang&lt;/A&gt;&lt;/P&gt;&lt;P&gt;What is the value you have set for  "hive.server2.enable.doAs"  (true/false).  By default HiveServer2 performs the query processing as the user who submitted the query. But if the following parameter is set to false, the query will run as the user that the &lt;CODE&gt;hiveserver2&lt;/CODE&gt; process runs as.&lt;/P&gt;&lt;P&gt;  &lt;A href="https://cwiki.apache.org/confluence/display/Hive/Setting+Up+HiveServer2#SettingUpHiveServer2-Impersonation" target="_blank"&gt;https://cwiki.apache.org/confluence/display/Hive/Setting+Up+HiveServer2#SettingUpHiveServer2-Impersonation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Also do you have Ranger installed in your cluster?&lt;/P&gt;</description>
    <pubDate>Sat, 03 Dec 2016 13:53:15 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2016-12-03T13:53:15Z</dc:date>
    <item>
      <title>Kerberized HDP 2.4 - getting error in using Hive View on Ambari</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Kerberized-HDP-2-4-getting-error-in-using-Hive-View-on/m-p/136005#M47857</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I've a kerberized HDP 2.4 - and i've created user - hive_user1&lt;/P&gt;&lt;P&gt;I logon to Hive View on Ambari, and fire simple query - select * from test&lt;/P&gt;&lt;P&gt;The error i get is shown below -&lt;/P&gt;&lt;P&gt;-------------------------------&lt;/P&gt;&lt;P&gt;Error while compiling statement: FAILED: HiveAccessControlException 
Permission denied: user [hdfs] does not have [SELECT] privilege on 
[default/test/sno] [ERROR_STATUS]&lt;/P&gt;&lt;P&gt;-----------------------------&lt;/P&gt;&lt;P&gt;Pls note - i've disabled Global access to Hive, but given access to user - hive_user1&lt;/P&gt;&lt;P&gt;But somehow, it is using hdfs user to access Hive.&lt;/P&gt;&lt;P&gt;Any ideas on this ?&lt;/P&gt;&lt;P&gt;attached is the screenshot of the user, and the error obtained.&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/10010-screen-shot-2016-12-02-at-61927-pm.png"&gt;
&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/10010-screen-shot-2016-12-02-at-61927-pm.png"&gt;screen-shot-2016-12-02-at-61927-pm.png&lt;/A&gt;&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/10051-screen-shot-2016-12-02-at-62808-pm.png"&gt;
&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/10051-screen-shot-2016-12-02-at-62808-pm.png"&gt;screen-shot-2016-12-02-at-62808-pm.png&lt;/A&gt;   &lt;/P&gt;</description>
      <pubDate>Sat, 03 Dec 2016 10:29:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Kerberized-HDP-2-4-getting-error-in-using-Hive-View-on/m-p/136005#M47857</guid>
      <dc:creator>karan_alang1</dc:creator>
      <dc:date>2016-12-03T10:29:28Z</dc:date>
    </item>
    <item>
      <title>Re: Kerberized HDP 2.4 - getting error in using Hive View on Ambari</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Kerberized-HDP-2-4-getting-error-in-using-Hive-View-on/m-p/136006#M47858</link>
      <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/14047/karanalang.html"&gt;Karan Alang&lt;/A&gt;&lt;/P&gt;&lt;P&gt;What is the value you have set for  "hive.server2.enable.doAs"  (true/false).  By default HiveServer2 performs the query processing as the user who submitted the query. But if the following parameter is set to false, the query will run as the user that the &lt;CODE&gt;hiveserver2&lt;/CODE&gt; process runs as.&lt;/P&gt;&lt;P&gt;  &lt;A href="https://cwiki.apache.org/confluence/display/Hive/Setting+Up+HiveServer2#SettingUpHiveServer2-Impersonation" target="_blank"&gt;https://cwiki.apache.org/confluence/display/Hive/Setting+Up+HiveServer2#SettingUpHiveServer2-Impersonation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Also do you have Ranger installed in your cluster?&lt;/P&gt;</description>
      <pubDate>Sat, 03 Dec 2016 13:53:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Kerberized-HDP-2-4-getting-error-in-using-Hive-View-on/m-p/136006#M47858</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-12-03T13:53:15Z</dc:date>
    </item>
    <item>
      <title>Re: Kerberized HDP 2.4 - getting error in using Hive View on Ambari</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Kerberized-HDP-2-4-getting-error-in-using-Hive-View-on/m-p/136007#M47859</link>
      <description>&lt;P&gt;Is this external table? if so can you verify you have access to the underlying hdfs table.  if you have impersonation turned on, then you have to control access from both hive and hdfs.&lt;/P&gt;</description>
      <pubDate>Sat, 03 Dec 2016 14:07:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Kerberized-HDP-2-4-getting-error-in-using-Hive-View-on/m-p/136007#M47859</guid>
      <dc:creator>sunile_manjee</dc:creator>
      <dc:date>2016-12-03T14:07:15Z</dc:date>
    </item>
    <item>
      <title>Re: Kerberized HDP 2.4 - getting error in using Hive View on Ambari</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Kerberized-HDP-2-4-getting-error-in-using-Hive-View-on/m-p/136008#M47860</link>
      <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/14047/karanalang.html"&gt;Karan Alang&lt;/A&gt;&lt;/P&gt;&lt;P&gt;If you have Kerberized cluster - the usual things to check:&lt;/P&gt;&lt;P&gt;&amp;gt; Setup HDFS Proxy User - &lt;A href="http://docs.hortonworks.com/HDPDocuments/Ambari-2.2.2.0/bk_ambari_views_guide/content/_setup_HDFS_proxy_user.html" target="_blank"&gt;http://docs.hortonworks.com/HDPDocuments/Ambari-2.2.2.0/bk_ambari_views_guide/content/_setup_HDFS_proxy_user.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; Set Up Kerberos for Ambari Server - &lt;A href="http://docs.hortonworks.com/HDPDocuments/Ambari-2.1.1.0/bk_Ambari_Security_Guide/content/_optional_set_up_kerberos_for_ambari_server.html#header" target="_blank"&gt;http://docs.hortonworks.com/HDPDocuments/Ambari-2.1.1.0/bk_Ambari_Security_Guide/content/_optional_set_up_kerberos_for_ambari_server.html#header&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&amp;gt; Kerberos Setup for Hive Views - &lt;A href="http://docs.hortonworks.com/HDPDocuments/Ambari-2.2.1.0/bk_ambari_views_guide/content/section_kerberos_setup_hive_view.html" target="_blank"&gt;http://docs.hortonworks.com/HDPDocuments/Ambari-2.2.1.0/bk_ambari_views_guide/content/section_kerberos_setup_hive_view.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 03 Dec 2016 14:35:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Kerberized-HDP-2-4-getting-error-in-using-Hive-View-on/m-p/136008#M47860</guid>
      <dc:creator>dkozlowski</dc:creator>
      <dc:date>2016-12-03T14:35:47Z</dc:date>
    </item>
    <item>
      <title>Re: Kerberized HDP 2.4 - getting error in using Hive View on Ambari</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Kerberized-HDP-2-4-getting-error-in-using-Hive-View-on/m-p/136009#M47861</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1486/smanjee.html" nodeid="1486"&gt;@Sunile Manjee&lt;/A&gt;, this is regular table .. not external table&lt;/P&gt;&lt;P&gt;Attaching the Table definition, also permissions at the hdfs level is as shown below - &lt;/P&gt;&lt;P&gt;I'm able to access the table - test - from the command line.&lt;/P&gt;&lt;P&gt;I'm currently trying to restrict access from the Hive View.&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;hive&amp;gt; dfs -ls /apps/hive/warehouse/;&lt;/P&gt;&lt;P&gt;Found 5 items
drwxrwxrwx  - hdfs  hdfs  0 2016-12-01 22:32 /apps/hive/warehouse/test&lt;/P&gt;</description>
      <pubDate>Sat, 03 Dec 2016 14:48:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Kerberized-HDP-2-4-getting-error-in-using-Hive-View-on/m-p/136009#M47861</guid>
      <dc:creator>karan_alang1</dc:creator>
      <dc:date>2016-12-03T14:48:24Z</dc:date>
    </item>
    <item>
      <title>Re: Kerberized HDP 2.4 - getting error in using Hive View on Ambari</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Kerberized-HDP-2-4-getting-error-in-using-Hive-View-on/m-p/136010#M47862</link>
      <description>&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/10053-screen-shot-2016-12-02-at-112143-pm.png"&gt;screen-shot-2016-12-02-at-112143-pm.png&lt;/A&gt;&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1486/smanjee.html" nodeid="1486"&gt;@Sunile Manjee&lt;/A&gt;, &lt;A rel="user" href="https://community.cloudera.com/users/3675/dkozlowski.html" nodeid="3675"&gt;@Daniel Kozlowski&lt;/A&gt;, &lt;A rel="user" href="https://community.cloudera.com/users/3823/joysensharma.html" nodeid="3823"&gt;@jss&lt;/A&gt; - attaching the screenshot of permissions on Ranger.&lt;/P&gt;&lt;P&gt;if i add user - hdfs - and provide read access - i'm able to access the table using HIVE VIEW.&lt;/P&gt;</description>
      <pubDate>Sat, 03 Dec 2016 15:23:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Kerberized-HDP-2-4-getting-error-in-using-Hive-View-on/m-p/136010#M47862</guid>
      <dc:creator>karan_alang1</dc:creator>
      <dc:date>2016-12-03T15:23:42Z</dc:date>
    </item>
    <item>
      <title>Re: Kerberized HDP 2.4 - getting error in using Hive View on Ambari</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Kerberized-HDP-2-4-getting-error-in-using-Hive-View-on/m-p/136011#M47863</link>
      <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/14047/karanalang.html"&gt;Karan Alang&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Good to know that you are able to access the table using HIVE VIEW  after adding the permission from Ranger side.&lt;/P&gt;&lt;P&gt;Also regarding your query Where you said that Why do you still see [hdfs] user and you mentioned that "you have set "&lt;STRONG&gt;hive.server2.enable.doAs&lt;/STRONG&gt;" is set to false in hive-site.xml  &lt;/P&gt;&lt;P&gt;The hive.server2.enable.doAs – Impersonate the connected user, &lt;STRONG&gt;default true&lt;/STRONG&gt;.   Means the query processing as the user who submitted the query.&lt;/P&gt;</description>
      <pubDate>Sat, 03 Dec 2016 15:38:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Kerberized-HDP-2-4-getting-error-in-using-Hive-View-on/m-p/136011#M47863</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-12-03T15:38:03Z</dc:date>
    </item>
    <item>
      <title>Re: Kerberized HDP 2.4 - getting error in using Hive View on Ambari</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Kerberized-HDP-2-4-getting-error-in-using-Hive-View-on/m-p/136012#M47864</link>
      <description>&lt;P&gt;@jss - this is set to false in hive-site.xml .. what should the value be set to ?&lt;/P&gt;&lt;P&gt;I tried changing to true, but the error is still the same&lt;/P&gt;&lt;P&gt;yes, ranger is installed, i'm changing permissions using Ranger.
&lt;/P&gt;</description>
      <pubDate>Sat, 03 Dec 2016 15:38:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Kerberized-HDP-2-4-getting-error-in-using-Hive-View-on/m-p/136012#M47864</guid>
      <dc:creator>karan_alang1</dc:creator>
      <dc:date>2016-12-03T15:38:04Z</dc:date>
    </item>
    <item>
      <title>Re: Kerberized HDP 2.4 - getting error in using Hive View on Ambari</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Kerberized-HDP-2-4-getting-error-in-using-Hive-View-on/m-p/136013#M47865</link>
      <description>&lt;P&gt;@jss - actually, this is not working as desired.. i don't want to put 'hdfs' as group within Ranger, instead i want to be able to control access using users - hive_user1 or hdfs_user2 (instead of using  service account - hdfs for controlling access).&lt;/P&gt;</description>
      <pubDate>Sun, 04 Dec 2016 02:06:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Kerberized-HDP-2-4-getting-error-in-using-Hive-View-on/m-p/136013#M47865</guid>
      <dc:creator>karan_alang1</dc:creator>
      <dc:date>2016-12-04T02:06:45Z</dc:date>
    </item>
    <item>
      <title>Re: Kerberized HDP 2.4 - getting error in using Hive View on Ambari</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Kerberized-HDP-2-4-getting-error-in-using-Hive-View-on/m-p/136014#M47866</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/3675/dkozlowski.html" nodeid="3675"&gt;&lt;/A&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1486/smanjee.html" nodeid="1486"&gt;@Sunile Manjee, &lt;/A&gt;@Daniel Kozlowski - the above steps you mentioned are already done, hence i'm able to access the HIVE VIEW on Kerberized HDP2.4&lt;/P&gt;&lt;P&gt;Attaching the screen shot of the HIVE VIEW config, made some minor change -now getting the following error  ..&lt;/P&gt;&lt;P&gt;-------------------------------&lt;/P&gt;&lt;P&gt;Error while compiling statement: FAILED: HiveAccessControlException 
Permission denied: user [ambari-server] does not have [SELECT] privilege
 on [default/test/sno] [ERROR_STATUS]&lt;/P&gt;&lt;P&gt;-----------------&lt;/P&gt;&lt;P&gt;Any ideas on this ?&lt;/P&gt;&lt;P&gt;I'm able to access the Hive table if i add ambari-ranger to Ranger policy, but it is not able to access if i give only the users - hive_user1, hive_user2 acess to the table - 'test'&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/10073-ambari-hive-view-hdp24-1.pdf"&gt;ambari-hive-view-hdp24-1.pdf&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Dec 2016 08:01:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Kerberized-HDP-2-4-getting-error-in-using-Hive-View-on/m-p/136014#M47866</guid>
      <dc:creator>karan_alang1</dc:creator>
      <dc:date>2016-12-05T08:01:42Z</dc:date>
    </item>
    <item>
      <title>Re: Kerberized HDP 2.4 - getting error in using Hive View on Ambari</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Kerberized-HDP-2-4-getting-error-in-using-Hive-View-on/m-p/136015#M47867</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/504/kkulkarni.html" nodeid="504"&gt;@Kuldeep Kulkarni&lt;/A&gt; - any ides on how to fix this ?&lt;/P&gt;</description>
      <pubDate>Mon, 05 Dec 2016 08:08:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Kerberized-HDP-2-4-getting-error-in-using-Hive-View-on/m-p/136015#M47867</guid>
      <dc:creator>karan_alang1</dc:creator>
      <dc:date>2016-12-05T08:08:07Z</dc:date>
    </item>
    <item>
      <title>Re: Kerberized HDP 2.4 - getting error in using Hive View on Ambari</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Kerberized-HDP-2-4-getting-error-in-using-Hive-View-on/m-p/136016#M47868</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/3675/dkozlowski.html" nodeid="3675"&gt;@Daniel Kozlowski&lt;/A&gt; - pls see response to your note above.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Dec 2016 08:08:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Kerberized-HDP-2-4-getting-error-in-using-Hive-View-on/m-p/136016#M47868</guid>
      <dc:creator>karan_alang1</dc:creator>
      <dc:date>2016-12-05T08:08:33Z</dc:date>
    </item>
    <item>
      <title>Re: Kerberized HDP 2.4 - getting error in using Hive View on Ambari</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Kerberized-HDP-2-4-getting-error-in-using-Hive-View-on/m-p/136017#M47869</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/504/kkulkarni.html" nodeid="504"&gt;@Kuldeep Kulkarni&lt;/A&gt;, &lt;A rel="user" href="https://community.cloudera.com/users/1486/smanjee.html" nodeid="1486"&gt;@Sunile Manjee&lt;/A&gt;, &lt;A rel="user" href="https://community.cloudera.com/users/3675/dkozlowski.html" nodeid="3675"&gt;@Daniel Kozlowski&lt;/A&gt; &lt;/P&gt;&lt;P&gt;This is what i see in the logs -&amp;gt;&lt;/P&gt;&lt;P&gt;2016-12-04 23:54:35,491 INFO  [HiveServer2-Handler-Pool: Thread-76]: security.SecureClientUtils (SecureClientUtils.java:getClientConnectionHandler(94)) - doAsUser: ambari-server&lt;/P&gt;&lt;P&gt;so, seem it is trying to access the HIve instance as user - ambari-user.. how do i get it to access Hive as custom users (hive_user1 or hive_user2)&lt;/P&gt;</description>
      <pubDate>Mon, 05 Dec 2016 08:34:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Kerberized-HDP-2-4-getting-error-in-using-Hive-View-on/m-p/136017#M47869</guid>
      <dc:creator>karan_alang1</dc:creator>
      <dc:date>2016-12-05T08:34:26Z</dc:date>
    </item>
    <item>
      <title>Re: Kerberized HDP 2.4 - getting error in using Hive View on Ambari</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Kerberized-HDP-2-4-getting-error-in-using-Hive-View-on/m-p/136018#M47870</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1486/smanjee.html" nodeid="1486"&gt;@Sunile Manjee&lt;/A&gt; - &lt;/P&gt;&lt;P&gt;when you say - if you have impersonation turned on (i.e. set hive.server2.enable.doAs = true), control access from both hive and hdfs - do you mean to say that i've to change the permissions in hdfs as well (i.e group) ?&lt;/P&gt;&lt;P&gt;what if impersonation is turned off ?&lt;/P&gt;&lt;P&gt;Pls. clarify.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Dec 2016 10:47:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Kerberized-HDP-2-4-getting-error-in-using-Hive-View-on/m-p/136018#M47870</guid>
      <dc:creator>karan_alang1</dc:creator>
      <dc:date>2016-12-05T10:47:32Z</dc:date>
    </item>
    <item>
      <title>Re: Kerberized HDP 2.4 - getting error in using Hive View on Ambari</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Kerberized-HDP-2-4-getting-error-in-using-Hive-View-on/m-p/136019#M47871</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/14047/karanalang.html" nodeid="14047"&gt;@Karan Alang&lt;/A&gt;&lt;/P&gt;&lt;P&gt;As previously mentioned:&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;STRONG&gt;&lt;EM&gt;hive.server2.enable.doAs&lt;/EM&gt;&lt;/STRONG&gt; - Setting this property to true will have HiveServer2 execute Hive operations as the user making the calls to it - so set this property to &lt;STRONG&gt;&lt;EM&gt;TRUE&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; review your hive view settings (see all 3 URLs I already posted) - based on what I can see, at least, Hive Authentication is incorrect. This is to be:&lt;/P&gt;&lt;P&gt;&lt;B&gt;auth=KERBEROS;principal=hive/_HOST@EXAMPLE.COM;hive.server2.proxy.user=${username} - &lt;/B&gt;where EXAMPLE.COM is your REALM&lt;/P&gt;</description>
      <pubDate>Mon, 05 Dec 2016 14:57:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Kerberized-HDP-2-4-getting-error-in-using-Hive-View-on/m-p/136019#M47871</guid>
      <dc:creator>dkozlowski</dc:creator>
      <dc:date>2016-12-05T14:57:20Z</dc:date>
    </item>
    <item>
      <title>Re: Kerberized HDP 2.4 - getting error in using Hive View on Ambari</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Kerberized-HDP-2-4-getting-error-in-using-Hive-View-on/m-p/136020#M47872</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/3675/dkozlowski.html" nodeid="3675"&gt;@Daniel Kozlowski&lt;/A&gt; - thanks for your input on this, i was able to make this work !&lt;/P&gt;&lt;P&gt;The missing entry (as you mentioned) was  -&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;hive.server2.proxy.user=${username} &lt;/STRONG&gt;in Hive Authorization&lt;/P&gt;&lt;P&gt;After adding this, i'm able to control access to Hive tables using Ranger &lt;STRONG&gt;.
&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;
&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;However, there is still one issue which needs clarification .. the value of constant -&amp;gt; &lt;STRONG&gt;hive.server2.enable.doAs&lt;/STRONG&gt; does not seem to be affecting behavior. Even when it is set to false (or true), the above behavior is seen.&lt;/P&gt;&lt;P&gt;Any ideas/comments on this ?&lt;STRONG&gt;
&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Dec 2016 07:55:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Kerberized-HDP-2-4-getting-error-in-using-Hive-View-on/m-p/136020#M47872</guid>
      <dc:creator>karan_alang1</dc:creator>
      <dc:date>2016-12-06T07:55:55Z</dc:date>
    </item>
    <item>
      <title>Re: Kerberized HDP 2.4 - getting error in using Hive View on Ambari</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Kerberized-HDP-2-4-getting-error-in-using-Hive-View-on/m-p/136021#M47873</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/14047/karanalang.html" nodeid="14047"&gt;@Karan Alang&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Ensure you have: hive.server2.enable.doAs=true&lt;/P&gt;&lt;P&gt;Also set the following properties to *&lt;/P&gt;&lt;P&gt;hadoop.proxyuser.hive.hosts=*&lt;/P&gt;&lt;P&gt;hadoop.proxyuser.hive.groups=*&lt;/P&gt;&lt;P&gt;NOTE: I appreciate if you vote for all the answers that helped you fixing the problem.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Dec 2016 14:18:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Kerberized-HDP-2-4-getting-error-in-using-Hive-View-on/m-p/136021#M47873</guid>
      <dc:creator>dkozlowski</dc:creator>
      <dc:date>2016-12-06T14:18:24Z</dc:date>
    </item>
  </channel>
</rss>

