2,491 views

2 Answers

Best answer
2 2 votes

We can activate Hive interpreter by creating a new interpreter with some changes in the properties and dependencies

1. Set hive.url as
jdbc:hive2://localhost:10000

2. Remove username and password (keep them empty)

3. Set hive.driver property as:
org.apache.hive.jdbc.HiveDriver

4. Adding two artifact under dependencies tab:
org.apache.hive:hive-jdbc:0.14.0
org.apache.hadoop:hadoop-common:2.6.0

You can watch this video for more explanations and code is here

selected by
0 0 votes
There are multiple ways to use Hive on Dataproc :

either using Hive jobs API

or Spark SQL.

But for activating it, I just  wrote hive as a command in SSH of master node and it started to work. It seems it is already in hadoop enviroment and does not need further activation.

Related questions

1 1 vote
1 1 answer
2.8k
2.8k views
tofighi asked Feb 4, 2020
2,812 views
Is it possible to take a look at list of all commands written for Apache Hive?
0 0 votes
1 1 answer
660
660 views
tofighi asked Jan 23, 2020
660 views
I am wondering when I create a cluster using Dataproc on GCP, can I adjust it afterwards?
0 0 votes
0 0 answers
1.8k
1.8k views
Harshini asked Feb 7, 2020
1,828 views
When I am using the select statement to display my data in hive. It displays my data in scattered format. I want to add a delimiter so that when data is been displayed it...
1 1 vote
1 1 answer
2.2k
2.2k views
machinelearning asked Oct 3, 2018
2,231 views
Is there any way to use AWS for free?
1 1 vote
1 1 answer
1.0k
1.0k views
Ghassem asked Feb 27, 2020
1,017 views
Is there any way to download a file directly into HDFS?