Configuring JDBC Clients for LDAP Authentication with HiveServer2

0 votes
Hi. I have setup a Hive cluster and enabled LDAP authentication for it. Now I am trying to make connection to it using JDBC but I am not able to understand how to do it. Please help.
Jun 3 in Big Data Hadoop by Vinod
12 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
0 votes

JDBC client requires a connection URL as shown below to connect to LDAP authenticated cluster. 

JDBC-based clients must include user=LDAP_Userid;password=LDAP_Password in the JDBC connection string. For example:

String url = "jdbc:hive2://node1:10000/default;user=LDAP_Userid;password=LDAP_Password"
Connection con = DriverManager.getConnection(url);
answered Jun 3 by Raman

Related Questions In Big Data Hadoop

0 votes
1 answer

Enabling LDAP authentication for HiveServer2 using OpenLdAP

To enable LDAP authentication using OpenLDAP, include ...READ MORE

answered Jun 3 in Big Data Hadoop by Tina
9 views
0 votes
1 answer

Enable pluggable authentication for HiveServer2

To enable pluggable authentication, first, add the ...READ MORE

answered Jun 3 in Big Data Hadoop by Yogi
9 views
0 votes
1 answer

Access Hive Server with JDBC clients

To access Hive Server using JDBC client, ...READ MORE

answered Jun 4 in Big Data Hadoop by Raghu
8 views
0 votes
1 answer

JDBC to HiveServer2 connection in HTTPS mode with SSL enabled

To connect to HiveServer2 in HTTPS mode ...READ MORE

answered Jun 4 in Big Data Hadoop by Firoz
11 views
0 votes
1 answer

Hadoop Mapreduce word count Program

Firstly you need to understand the concept ...READ MORE

answered Mar 16, 2018 in Data Analytics by nitinrawat895
• 9,450 points
1,844 views
0 votes
1 answer

hadoop.mapred vs hadoop.mapreduce?

org.apache.hadoop.mapred is the Old API  org.apache.hadoop.mapreduce is the ...READ MORE

answered Mar 16, 2018 in Data Analytics by nitinrawat895
• 9,450 points
159 views
0 votes
10 answers

hadoop fs -put command?

copy command can be used to copy files ...READ MORE

answered Dec 7, 2018 in Big Data Hadoop by Sujay
9,140 views
0 votes
1 answer

Hadoop dfs -ls command?

In your case there is no difference ...READ MORE

answered Mar 16, 2018 in Big Data Hadoop by kurt_cobain
• 9,260 points
656 views
0 votes
1 answer

HiveServer2: Enable LDAP Authentication for managed clusters

Follow the below mentioned steps to enable ...READ MORE

answered Jun 3 in Big Data Hadoop by Karan
6 views
0 votes
1 answer

How to set LDAP authentication for HiveServer2 for unmanaged clusters?

To enable LDAP authentication for HiveServer2 unmanaged ...READ MORE

answered Jun 3 in Big Data Hadoop by Sanman
9 views

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.