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 in Big Data Hadoop by Achuth
42 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 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 in Big Data Hadoop by Gitika
• 25,420 points
48 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 in Big Data Hadoop by Raman
137 views
0 votes
1 answer
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 in Big Data Hadoop by Vijay Dixon
• 190 points
1,660 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,800 points
3,574 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,800 points
453 views
+1 vote
11 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
18,424 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,280 points
1,333 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
26 views
0 votes
1 answer