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, 2019 in Big Data Hadoop by Vinod
583 views

1 answer to this question.

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, 2019 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, 2019 in Big Data Hadoop by Tina
145 views
0 votes
1 answer

Enable pluggable authentication for HiveServer2

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

answered Jun 3, 2019 in Big Data Hadoop by Yogi
171 views
0 votes
1 answer

Access Hive Server with JDBC clients

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

answered Jun 4, 2019 in Big Data Hadoop by Raghu
231 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, 2019 in Big Data Hadoop by Firoz
600 views
+1 vote
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
• 10,950 points
6,352 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
• 10,950 points
985 views
+1 vote
11 answers

hadoop fs -put command?

put syntax: put <localSrc> <dest> copy syntax: copyF ...READ MORE

answered Dec 7, 2018 in Big Data Hadoop by Aditya
41,903 views
–1 vote
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,320 points
2,377 views
0 votes
1 answer

HiveServer2: Enable LDAP Authentication for managed clusters

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

answered Jun 3, 2019 in Big Data Hadoop by Karan
83 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, 2019 in Big Data Hadoop by Sanman
103 views