Access Hive Server with JDBC clients

0 votes
Hi. Can someone tell me how to access hive server using JDBC clients such as beeline? I have installed and setup Hive Server.
Jun 4, 2019 in Big Data Hadoop by Achuth
732 views

1 answer to this question.

0 votes

To access Hive Server using JDBC client, you have to install JDBC driver. If you are using Centos then you can install it using the below command:

$ sudo yum install hive-jdbc

And if you are using Ubuntu, then use this:

$ sudo apt-get install hive-jdbc

And after that add /usr/lib/hive/lib/*.jar and /usr/lib/hadoop/*.jar to your classpath. This should work. 

answered Jun 4, 2019 by Raghu

Related Questions In Big Data Hadoop

0 votes
1 answer

How can we access data with simple SQL knowledge in hive?

Hey, The following examples are simple, common data ...READ MORE

answered May 16, 2019 in Big Data Hadoop by Gitika
• 65,910 points
463 views
0 votes
1 answer

Configuring JDBC Clients for LDAP Authentication with HiveServer2

JDBC client requires a connection URL as ...READ MORE

answered Jun 3, 2019 in Big Data Hadoop by Raman
1,927 views
0 votes
1 answer

What are some of the famous visualization tools which can be integrated with Hadoop & Hive?

I have personally used two visualization tools ...READ MORE

answered May 1, 2018 in Big Data Hadoop by coldcode
• 2,080 points
1,820 views
0 votes
3 answers

How to connect Spark to a remote Hive server?

JDBC is not required here. Create a hive ...READ MORE

answered Mar 8, 2019 in Big Data Hadoop by Vijay Dixon
• 190 points
12,161 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
10,619 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,215 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
104,954 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,390 points
4,296 views
0 votes
1 answer

Encrypt Hive JDBC and Hive Server traffic

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

answered May 31, 2019 in Big Data Hadoop by John
423 views
0 votes
1 answer

Can you please help with Hive Query to get FirstName, MiddleName, LastName and Suffix from FullName in Hive. Thank you

Hey, You can get first name, middle name, ...READ MORE

answered May 15, 2019 in Big Data Hadoop by Gitika
• 65,910 points

edited May 15, 2019 by Gitika 1,911 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