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
43 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 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
26 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
30 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
18 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
52 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
• 10,670 points
2,733 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,670 points
287 views
0 votes
10 answers

hadoop fs -put command?

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

answered Dec 7, 2018 in Big Data Hadoop by Aditya
13,534 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,240 points
989 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
16 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
22 views