<?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 Configuring Multiple LDAP at hive in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Configuring-Multiple-LDAP-at-hive/m-p/329839#M230524</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to configure multiple LDAP servers (LDAP HA) in the&amp;nbsp;hive-site.xml ?&lt;/P&gt;&lt;P&gt;As of now we have only configured one LDAP server using below property:&lt;/P&gt;&lt;H5&gt;hive.server2.authentication.ldap.url&lt;/H5&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&amp;lt;property&amp;gt;
     &amp;lt;name&amp;gt;hive.server2.authentication.ldap.url&amp;lt;/name&amp;gt;
     &amp;lt;value&amp;gt;LDAP_URL&amp;lt;/value&amp;gt;
&amp;lt;/property&amp;gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Our requirement is to config two LDAP servers to provide HA.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;H5&gt;&amp;nbsp;&lt;/H5&gt;</description>
    <pubDate>Tue, 09 Nov 2021 07:10:50 GMT</pubDate>
    <dc:creator>mhchethan</dc:creator>
    <dc:date>2021-11-09T07:10:50Z</dc:date>
    <item>
      <title>Configuring Multiple LDAP at hive</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Configuring-Multiple-LDAP-at-hive/m-p/329839#M230524</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to configure multiple LDAP servers (LDAP HA) in the&amp;nbsp;hive-site.xml ?&lt;/P&gt;&lt;P&gt;As of now we have only configured one LDAP server using below property:&lt;/P&gt;&lt;H5&gt;hive.server2.authentication.ldap.url&lt;/H5&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&amp;lt;property&amp;gt;
     &amp;lt;name&amp;gt;hive.server2.authentication.ldap.url&amp;lt;/name&amp;gt;
     &amp;lt;value&amp;gt;LDAP_URL&amp;lt;/value&amp;gt;
&amp;lt;/property&amp;gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Our requirement is to config two LDAP servers to provide HA.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;H5&gt;&amp;nbsp;&lt;/H5&gt;</description>
      <pubDate>Tue, 09 Nov 2021 07:10:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Configuring-Multiple-LDAP-at-hive/m-p/329839#M230524</guid>
      <dc:creator>mhchethan</dc:creator>
      <dc:date>2021-11-09T07:10:50Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring Multiple LDAP at hive</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Configuring-Multiple-LDAP-at-hive/m-p/329878#M230533</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/52021"&gt;@mhchethan&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Generally, we suggest using a single LDAP URL. If you want more than one you can configure LB and that LB should connect to your backend&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.cloudera.com/HDPDocuments/HDP3/HDP-3.0.0/securing-hive/content/hive_secure_hiveserver_using_ldap.html" target="_blank" rel="noopener"&gt;https://docs.cloudera.com/HDPDocuments/HDP3/HDP-3.0.0/securing-hive/content/hive_secure_hiveserver_using_ldap.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="lia-quilt-row lia-quilt-row-main"&gt;&lt;DIV class="lia-quilt-column lia-quilt-column-24 lia-quilt-column-single lia-quilt-column-main-content"&gt;&lt;DIV class="lia-quilt-column-alley lia-quilt-column-alley-single"&gt;&lt;DIV class="lia-message-body lia-component-message-view-widget-body lia-component-body-signature-highlight-escalation lia-component-message-view-widget-body-signature-highlight-escalation"&gt;&lt;DIV class="lia-message-body-content"&gt;&lt;P&gt;If you are happy with the reply, mark it Accept as Solution&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 09 Nov 2021 14:44:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Configuring-Multiple-LDAP-at-hive/m-p/329878#M230533</guid>
      <dc:creator>Shifu</dc:creator>
      <dc:date>2021-11-09T14:44:17Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring Multiple LDAP at hive</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Configuring-Multiple-LDAP-at-hive/m-p/330174#M230607</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/52021"&gt;@mhchethan&lt;/a&gt;&amp;nbsp;Yes, you could mention multiple LDAP URLs separated by spaces.&lt;/P&gt;&lt;P&gt;Hive will try the URLs in the mentioned order until a connection is successful.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ref: &lt;A href="https://github.com/apache/hive/blob/master/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java#L4094-L4098" target="_blank" rel="noopener"&gt;hive.server2.authentication.ldap.url&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 14 Nov 2021 09:59:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Configuring-Multiple-LDAP-at-hive/m-p/330174#M230607</guid>
      <dc:creator>smruti</dc:creator>
      <dc:date>2021-11-14T09:59:40Z</dc:date>
    </item>
  </channel>
</rss>

