<?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 disable kerberos for HiveServer2 in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/How-to-disable-kerberos-for-HiveServer2/m-p/394392#M248714</link>
    <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/106900"&gt;@steinsgate&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Its definitely not recommended to disable Kerberos for Hive. However if you still want to disable Kerberos please do it at a cluster level and not at Hive level. This is not a supported / certified combination. Thats to have your cluster kerberos but Hive not kerberized. Its either you cluster is Kerberos enabled or not.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 02 Oct 2024 16:14:09 GMT</pubDate>
    <dc:creator>ajay_riddler</dc:creator>
    <dc:date>2024-10-02T16:14:09Z</dc:date>
    <item>
      <title>How to disable kerberos for HiveServer2</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-disable-kerberos-for-HiveServer2/m-p/394297#M248688</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;We would like to try disabling Hive Kerberos on CDP 7.1.7.&lt;/P&gt;&lt;P&gt;Here are the parameters we tried disabling:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Hive Service Advanced Configuration Snippet (Safety Valve) for hive-site.xml&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;hive.server2.authentication.kerberos.principal&amp;nbsp;&lt;/P&gt;&lt;P&gt;hive.server2.authentication.kerberos.keytab&lt;/P&gt;&lt;P&gt;hive.server2.authentication&amp;nbsp;NONE&lt;/P&gt;&lt;P&gt;hive.security.authorization.enabled&amp;nbsp;false&lt;/P&gt;&lt;P&gt;hive.server2.enable.impersonation&amp;nbsp;false&lt;/P&gt;&lt;P&gt;hive.metastore.sasl.enabled&amp;nbsp;false&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="steinsgate_0-1727776603366.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/41952iD5E3F71029094682/image-size/medium?v=v2&amp;amp;px=400" role="button" title="steinsgate_0-1727776603366.png" alt="steinsgate_0-1727776603366.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="steinsgate_1-1727776618325.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/41953i6D6CF7E3DC0302CD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="steinsgate_1-1727776618325.png" alt="steinsgate_1-1727776618325.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Hive Service Advanced Configuration Snippet (Safety Valve) for core-site.xml&lt;/P&gt;&lt;P&gt;hadoop.security.authentication&amp;nbsp;simple&lt;/P&gt;&lt;P&gt;hadoop.security.authorization&amp;nbsp;false&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="steinsgate_3-1727776672222.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/41955i2919A4970C569DF6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="steinsgate_3-1727776672222.png" alt="steinsgate_3-1727776672222.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;After turning off the following parameters and restarting HiveServer2, we noticed that HiveServer2 still seems to fail due to Kerberos authentication.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="steinsgate_5-1727777024931.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/41957iE71527DAEAD2A4AE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="steinsgate_5-1727777024931.png" alt="steinsgate_5-1727777024931.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;DIV class="text-base py-[18px] px-3 md:px-4 m-auto w-full md:px-5 lg:px-4 xl:px-5"&gt;&lt;DIV class="mx-auto flex flex-1 gap-4 text-base md:gap-5 lg:gap-6 md:max-w-3xl lg:max-w-[40rem] xl:max-w-[48rem]"&gt;&lt;DIV class="group/conversation-turn relative flex w-full min-w-0 flex-col"&gt;&lt;DIV class="flex-col gap-1 md:gap-3"&gt;&lt;DIV class="flex max-w-full flex-col flex-grow"&gt;&lt;DIV class="min-h-8 text-message flex w-full flex-col items-end gap-2 whitespace-normal break-words [.text-message+&amp;amp;]:mt-5"&gt;&lt;DIV class="flex w-full flex-col gap-1 empty:hidden items-end rtl:items-start"&gt;&lt;DIV class="relative max-w-[70%] rounded-3xl px-5 py-2.5 bg-[#f4f4f4] dark:bg-token-main-surface-secondary"&gt;&lt;DIV class="whitespace-pre-wrap"&gt;Could you please advise on how to completely disable Kerberos for HiveServer2? Thank you.&lt;/DIV&gt;&lt;DIV class="absolute bottom-0 right-full top-0 -mr-3.5 hidden pr-5 pt-1 [.group\/conversation-turn:hover_&amp;amp;]:block"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Oct 2024 10:04:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-disable-kerberos-for-HiveServer2/m-p/394297#M248688</guid>
      <dc:creator>steinsgate</dc:creator>
      <dc:date>2024-10-01T10:04:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to disable kerberos for HiveServer2</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-disable-kerberos-for-HiveServer2/m-p/394392#M248714</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/106900"&gt;@steinsgate&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Its definitely not recommended to disable Kerberos for Hive. However if you still want to disable Kerberos please do it at a cluster level and not at Hive level. This is not a supported / certified combination. Thats to have your cluster kerberos but Hive not kerberized. Its either you cluster is Kerberos enabled or not.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Oct 2024 16:14:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-disable-kerberos-for-HiveServer2/m-p/394392#M248714</guid>
      <dc:creator>ajay_riddler</dc:creator>
      <dc:date>2024-10-02T16:14:09Z</dc:date>
    </item>
  </channel>
</rss>

