Return-Path: X-Original-To: apmail-hive-user-archive@www.apache.org Delivered-To: apmail-hive-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9D67110A3D for ; Sat, 24 Aug 2013 01:04:22 +0000 (UTC) Received: (qmail 61215 invoked by uid 500); 24 Aug 2013 01:04:21 -0000 Delivered-To: apmail-hive-user-archive@hive.apache.org Received: (qmail 61168 invoked by uid 500); 24 Aug 2013 01:04:21 -0000 Mailing-List: contact user-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hive.apache.org Delivered-To: mailing list user@hive.apache.org Received: (qmail 61160 invoked by uid 99); 24 Aug 2013 01:04:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 24 Aug 2013 01:04:21 +0000 X-ASF-Spam-Status: No, hits=1.6 required=5.0 tests=FROM_12LTRDOM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of Sanjay.Subramanian@wizecommerce.com designates 216.32.181.186 as permitted sender) Received: from [216.32.181.186] (HELO ch1outboundpool.messaging.microsoft.com) (216.32.181.186) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 24 Aug 2013 01:04:16 +0000 Received: from mail217-ch1-R.bigfish.com (10.43.68.237) by CH1EHSOBE005.bigfish.com (10.43.70.55) with Microsoft SMTP Server id 14.1.225.22; Sat, 24 Aug 2013 01:03:54 +0000 Received: from mail217-ch1 (localhost [127.0.0.1]) by mail217-ch1-R.bigfish.com (Postfix) with ESMTP id 690981A00D7 for ; Sat, 24 Aug 2013 01:03:54 +0000 (UTC) X-Forefront-Antispam-Report: CIP:157.56.232.197;KIP:(null);UIP:(null);IPV:NLI;H:BLUPRD0411HT002.namprd04.prod.outlook.com;RD:none;EFVD:NLI X-SpamScore: 2 X-BigFish: PS2(zzc85fh181fIdd85kzz1f42h208ch1ee6h1de0h1fdah2073h1202h1e76h1d1ah1d2ah1fc6hzz1de098h18c673h8275bh1de097hz2fh2a8h839hbe3he5bhf0ah1288h12a5h12bdh137ah1441h1504h1537h153bh162dh1631h1758h18e1h1946h19b5h1ad9h1b0ah1bceh1d0ch1d2eh1d3fh1dc1h1dfeh1dffh1e1dh1fe8h1ff5h1155h) Received-SPF: pass (mail217-ch1: domain of wizecommerce.com designates 157.56.232.197 as permitted sender) client-ip=157.56.232.197; envelope-from=Sanjay.Subramanian@wizecommerce.com; helo=BLUPRD0411HT002.namprd04.prod.outlook.com ;.outlook.com ; Received: from mail217-ch1 (localhost.localdomain [127.0.0.1]) by mail217-ch1 (MessageSwitch) id 137730623283157_28569; Sat, 24 Aug 2013 01:03:52 +0000 (UTC) Received: from CH1EHSMHS005.bigfish.com (snatpool3.int.messaging.microsoft.com [10.43.68.225]) by mail217-ch1.bigfish.com (Postfix) with ESMTP id 1094D1E004E for ; Sat, 24 Aug 2013 01:03:52 +0000 (UTC) Received: from BLUPRD0411HT002.namprd04.prod.outlook.com (157.56.232.197) by CH1EHSMHS005.bigfish.com (10.43.70.5) with Microsoft SMTP Server (TLS) id 14.16.227.3; Sat, 24 Aug 2013 01:03:51 +0000 Received: from BLUPRD0411MB426.namprd04.prod.outlook.com ([169.254.10.158]) by BLUPRD0411HT002.namprd04.prod.outlook.com ([10.255.127.37]) with mapi id 14.16.0347.000; Sat, 24 Aug 2013 01:03:50 +0000 From: Sanjay Subramanian To: "user@hive.apache.org" Subject: hiveserver2 with OpenLDAP ? Thread-Topic: hiveserver2 with OpenLDAP ? Thread-Index: AQHOoGXLWIK1h+QA3k26OkY7ZKqUjg== Date: Sat, 24 Aug 2013 01:03:50 +0000 Message-ID: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.255.127.4] Content-Type: multipart/alternative; boundary="_000_CE3D53B5AC98sanjaysubramanianwizecommercecom_" MIME-Version: 1.0 X-OriginatorOrg: wizecommerce.com X-FOPE-CONNECTOR: Id%0$Dn%*$RO%0$TLS%0$FQDN%$TlsDn% X-Virus-Checked: Checked by ClamAV on apache.org --_000_CE3D53B5AC98sanjaysubramanianwizecommercecom_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi guys I tested hiveserver2 with Active directory - It works With Open LDAP it does not Is there any specific syntax for specifying the LDAP url or baseDN ? hive.server2.authentication.ldap.url ldap://myserver.corp.nextag.com:389 hive.server2.authentication.ldap.baseDN dc=3Dwizetest,dc=3Dcom Beeline keeps giving error jdbc:hive2://dev-thdp5:10000> !connect jdbc:hive2://dev-thdp5:10000 hiveuse= r1 ******** org.apache.hive.jdbc.HiveDriver Connecting to jdbc:hive2://dev-thdp5:10000 Error: Could not establish connection to jdbc:hive2://dev-thdp5:10000: Peer= indicated failure: Error validating the login (state=3D08S01,code=3D0) Any clues ? Thanks sanjay CONFIDENTIALITY NOTICE =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D This email message and any attachments are for the exclusive use of the int= ended recipient(s) and may contain confidential and privileged information.= Any unauthorized review, use, disclosure or distribution is prohibited. If= you are not the intended recipient, please contact the sender by reply ema= il and destroy all copies of the original message along with any attachment= s, from your computer system. If you are the intended recipient, please be = advised that the content of this message is subject to access, review and d= isclosure by the sender's Email System Administrator. --_000_CE3D53B5AC98sanjaysubramanianwizecommercecom_ Content-Type: text/html; charset="us-ascii" Content-ID: <7601C5060C891244B2F44B5E4C4814A7@namprd04.prod.outlook.com> Content-Transfer-Encoding: quoted-printable
Hi guys

I tested hiveserver2 with Active directory - It works
With Open LDAP it does not 

Is there any specific syntax for specifying the LDAP url or baseDN ?

<property>
  <name>hive.server2.authentication.ldap.= url</name>
  <value>ldap://myserver.corp.nextag.com:= 389</value>
</property>
<property>
  <name>hive.server2.authentication.ldap.= baseDN</name>
  <value>dc=3Dwizetest,dc=3Dcom</value= >
</property>

Beeline keeps giving error

jdbc:hive2://dev-thdp5:10000> !connect jdbc:hive2= ://dev-thdp5:10000 hiveuser1 ******** org.apache.hive.jdbc.HiveDriver
Connecting to jdbc:hive2://dev-thdp5:10000
Error: Could not establish connection to jdbc:hive2:= //dev-thdp5:10000: Peer indicated failure: Error validating the login (stat= e=3D08S01,code=3D0)

Any clues ?

Thanks

sanjay

CONFIDENTIALITY NOTICE
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
This email message and any attachments are for the exclusive use of the int= ended recipient(s) and may contain confidential and privileged information.= Any unauthorized review, use, disclosure or distribution is prohibited. If= you are not the intended recipient, please contact the sender by reply email and destroy all copies of the ori= ginal message along with any attachments, from your computer system. If you= are the intended recipient, please be advised that the content of this mes= sage is subject to access, review and disclosure by the sender's Email System Administrator.
--_000_CE3D53B5AC98sanjaysubramanianwizecommercecom_--