Hive JDBC driver URL format and driver class.

0 votes
Hi. I am trying to setup Hive JDBC and I want to know what is the URL format and the driver class for Hive server. Thanks
May 31 in Big Data Hadoop by Karan
22 views

1 answer to this question.

0 votes

For Hive server 1, the URL format and the driver class is as follows:

jdbc:hive://<host>:<port>
org.apache.hadoop.hive.jdbc.HiveDriver

and for Hive Server 2, it is:

jdbc:hive://<host>:<port>
org.apache.hadoop.hive.jdbc.HiveDriver
answered May 31 by Adi

Related Questions In Big Data Hadoop

0 votes
1 answer

Sqoop: java.lang.RuntimeException: Could not load db driver class: com.mysql.jdbc.Driver

Seems like you don't have MySQL connector ...READ MORE

answered Jan 28 in Big Data Hadoop by Omkar
• 67,480 points
198 views
0 votes
1 answer

Encrypt Hive JDBC and Hive Server traffic

You can enable encryption of data flowing ...READ MORE

answered May 31 in Big Data Hadoop by John
21 views
0 votes
1 answer
0 votes
1 answer

How to pause and resume hive job?

Practically speaking, it's difficult/impossible to pause and resume ...READ MORE

answered Jul 17, 2018 in Big Data Hadoop by Neha
• 6,280 points
87 views
0 votes
1 answer

Error while connecting to Hive using Java JDBC

Use ​org.apache.hive.jdbc.HiveDriver as your driver. It ...READ MORE

answered Nov 21, 2018 in Big Data Hadoop by Omkar
• 67,480 points
87 views
0 votes
1 answer

Hive:Unable to insert values to an array column using "insert".

make a dummy table which has at least one row. INSERT ...READ MORE

answered Nov 30, 2018 in Big Data Hadoop by Omkar
• 67,480 points
920 views
0 votes
1 answer

Moving files in Hadoop using the Java API?

I would recommend you to use FileSystem.rename(). ...READ MORE

answered Apr 15, 2018 in Big Data Hadoop by Shubham
• 13,290 points
800 views
0 votes
1 answer

Hadoop giving java.io.IOException, in mkdir Java code.

I am not sure about the issue. ...READ MORE

answered May 3, 2018 in Big Data Hadoop by Shubham
• 13,290 points
400 views
–1 vote
1 answer

Create Hive table with bucketing and ORC file format

create table hive_dml (emp_id int, first_name string, last_name ...READ MORE

answered Jan 4 in Big Data Hadoop by Omkar
• 67,480 points
224 views
0 votes
1 answer

What is the difference between Hive internal tables and external tables?

Hive has a relational database on the ...READ MORE

answered Nov 19, 2018 in Big Data Hadoop by Neha
• 6,280 points
621 views