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
11 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
• 19,880 points
27 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
17 views
0 votes
1 answer
0 votes
2 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
• 180 points
1,039 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,110 points
2,059 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,110 points
198 views
0 votes
10 answers

hadoop fs -put command?

copy command can be used to copy files ...READ MORE

answered Dec 7, 2018 in Big Data Hadoop by Sujay
10,541 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
771 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
14 views
0 votes
1 answer