<?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: Is it possible to enable 2 or more authentication mechanism simultaneously in HiveServer2? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-it-possible-to-enable-2-or-more-authentication-mechanism/m-p/217616#M81857</link>
    <description>&lt;P&gt;Thank you for your answer and suggestion. &lt;/P&gt;&lt;P&gt;You wrote "configure it with SIMPLE+LDAP and then add another hiveserver2 process and configure it with LDAP+Kerberos". It looks like we can use multiple authentication mechanisms in 1 HS2 process ("SIMPLE+LDAP"), but it is just a copy-and-paste from my question, right? I'm sorry for my confusing expression. "SIMPLE+LDAP" I wrote in my question was intended "using SIMPLE auth and LDAP auth simultaneously". &lt;/P&gt;&lt;P&gt;Unfortunately having 2 HS2 instances is not suited for my case, but in another case, I thought this is helpful if there's strong request to do so.&lt;/P&gt;</description>
    <pubDate>Fri, 10 Aug 2018 07:11:21 GMT</pubDate>
    <dc:creator>toide</dc:creator>
    <dc:date>2018-08-10T07:11:21Z</dc:date>
    <item>
      <title>Is it possible to enable 2 or more authentication mechanism simultaneously in HiveServer2?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-it-possible-to-enable-2-or-more-authentication-mechanism/m-p/217614#M81855</link>
      <description>&lt;P&gt;Is it possible to enable multiple authentication mechanisms simultaneously in HiveServer2?&lt;/P&gt;&lt;P&gt;e.g. SIMPLE + LDAP, LDAP + Kerberos&lt;/P&gt;&lt;P&gt;Or, selecting PAM authentication and controlling multiple authentication mechanisms in PAM configuration is the solution to my question?&lt;/P&gt;</description>
      <pubDate>Thu, 09 Aug 2018 13:03:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-it-possible-to-enable-2-or-more-authentication-mechanism/m-p/217614#M81855</guid>
      <dc:creator>toide</dc:creator>
      <dc:date>2018-08-09T13:03:56Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to enable 2 or more authentication mechanism simultaneously in HiveServer2?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-it-possible-to-enable-2-or-more-authentication-mechanism/m-p/217615#M81856</link>
      <description>&lt;P&gt; &lt;A rel="user" href="https://community.cloudera.com/users/55170/toide.html" nodeid="55170"&gt;@Takefumi Oide&lt;/A&gt; &lt;/P&gt;&lt;P&gt;No, but you can have multiple hiveserver2 processes configured with different authentication mechanisms. &lt;/P&gt;&lt;P&gt;Lets say you need to have all the auth mechanisms listed above, then you add 1 hiveserver 2 process and configure it with SIMPLE+LDAP and then add another hiveserver2 process and configure it with LDAP+Kerberos.&lt;/P&gt;&lt;P&gt;With ambari this can be done using config groups.&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;*** If you found this answer addressed your question, please take a moment to login and click the "accept" link on the answer.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Aug 2018 00:44:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-it-possible-to-enable-2-or-more-authentication-mechanism/m-p/217615#M81856</guid>
      <dc:creator>falbani</dc:creator>
      <dc:date>2018-08-10T00:44:08Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to enable 2 or more authentication mechanism simultaneously in HiveServer2?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-it-possible-to-enable-2-or-more-authentication-mechanism/m-p/217616#M81857</link>
      <description>&lt;P&gt;Thank you for your answer and suggestion. &lt;/P&gt;&lt;P&gt;You wrote "configure it with SIMPLE+LDAP and then add another hiveserver2 process and configure it with LDAP+Kerberos". It looks like we can use multiple authentication mechanisms in 1 HS2 process ("SIMPLE+LDAP"), but it is just a copy-and-paste from my question, right? I'm sorry for my confusing expression. "SIMPLE+LDAP" I wrote in my question was intended "using SIMPLE auth and LDAP auth simultaneously". &lt;/P&gt;&lt;P&gt;Unfortunately having 2 HS2 instances is not suited for my case, but in another case, I thought this is helpful if there's strong request to do so.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Aug 2018 07:11:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-it-possible-to-enable-2-or-more-authentication-mechanism/m-p/217616#M81857</guid>
      <dc:creator>toide</dc:creator>
      <dc:date>2018-08-10T07:11:21Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to enable 2 or more authentication mechanism simultaneously in HiveServer2?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-it-possible-to-enable-2-or-more-authentication-mechanism/m-p/217617#M81858</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/55170/toide.html" nodeid="55170"&gt;@Takefumi Oide&lt;/A&gt; only 1 authentication mechanism per hiveserver2 - sorry for the confusion, I did copy pasted &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;  - So that would be 4 hiveserver2 with single authentication mechanisms each. &lt;/P&gt;</description>
      <pubDate>Fri, 10 Aug 2018 20:51:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-it-possible-to-enable-2-or-more-authentication-mechanism/m-p/217617#M81858</guid>
      <dc:creator>falbani</dc:creator>
      <dc:date>2018-08-10T20:51:57Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to enable 2 or more authentication mechanism simultaneously in HiveServer2?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-it-possible-to-enable-2-or-more-authentication-mechanism/m-p/217618#M81859</link>
      <description>&lt;P&gt;OK! Thank you for your reply.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Aug 2018 20:56:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-it-possible-to-enable-2-or-more-authentication-mechanism/m-p/217618#M81859</guid>
      <dc:creator>toide</dc:creator>
      <dc:date>2018-08-10T20:56:10Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to enable 2 or more authentication mechanism simultaneously in HiveServer2?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-it-possible-to-enable-2-or-more-authentication-mechanism/m-p/217619#M81860</link>
      <description>&lt;P&gt;Use Knox&lt;BR /&gt;&lt;/P&gt;&lt;DIV style="direction: ltr;"&gt;If you are going to authenticate using LDAP use Knox IP eg.(jdbc:hive2://&amp;lt;knox_host&amp;gt;:8443/;ssl=true;sslTrustStore=/var/lib/knox/data/security/keystores/gateway.jks;trustStorePassword=&amp;lt;master_secret&amp;gt;;transportMode=http;httpPath=gateway/default/hive)&lt;BR /&gt;&lt;BR /&gt;and if you are going to use simple auth. connect to hive jdbc directly (zookeeper or hive server IP).&lt;BR /&gt;&lt;/DIV&gt;</description>
      <pubDate>Sat, 11 Aug 2018 07:33:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-it-possible-to-enable-2-or-more-authentication-mechanism/m-p/217619#M81860</guid>
      <dc:creator>hamdan</dc:creator>
      <dc:date>2018-08-11T07:33:46Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to enable 2 or more authentication mechanism simultaneously in HiveServer2?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-it-possible-to-enable-2-or-more-authentication-mechanism/m-p/217620#M81861</link>
      <description>&lt;P&gt;Thank you for your answer!&lt;/P&gt;&lt;P&gt;Unfortunately, I can't use Knox in my case. But this way is very interesting.&lt;/P&gt;</description>
      <pubDate>Sat, 11 Aug 2018 07:55:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-it-possible-to-enable-2-or-more-authentication-mechanism/m-p/217620#M81861</guid>
      <dc:creator>toide</dc:creator>
      <dc:date>2018-08-11T07:55:03Z</dc:date>
    </item>
  </channel>
</rss>

