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
2,158 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
1,165 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
878 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
1,081 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
2,136 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
• 11,380 points
11,078 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
• 11,380 points
2,575 views
+2 votes
11 answers

hadoop fs -put command?

Hi, You can create one directory in HDFS ...READ MORE

answered Mar 16, 2018 in Big Data Hadoop by nitinrawat895
• 11,380 points
109,076 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,350 points
4,643 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
711 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
941 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP