How to install Hive on Windows Operating System

0 votes
Please help me in installing Hive on Windows. Please mention the steps for the installation.
Feb 27, 2019 in Big Data Hadoop by Ritu
14,537 views

1 answer to this question.

0 votes

First, download Hive from the following link:

http://www.apache.org/dyn/closer.cgi/hive/

Next, extract the files. Open command prompt, go to the folder where you have download Hive and run the following command:

$ tar -xvf apache-hive-3.1.1-bin.tar.gz

The file name in the above command might change depending on which version you have downloaded.

Next step is to add Hive path to the environment variable. Open the environment variable window by searching it in the start menu. Next, refer to the following pictures to add path:

image

image

Next step is the configure hive. Go to the hive folder and open the conf folder in it. Now copy the file hive-default.xml.template and paste it and rename the new file to hive-site.xml

Open the hive-site.xml file and find the property

<name>hive.metastore.uris</name>

And make the following changes:

<property>


 <name>hive.metastore.uris</name>


 <value>thrift://<IP address of your host>:9083</value>


 <description>Thrift URI for the remote metastore. Used by metastore client to connect to remote metastore.</description>


  </property>

Replace <IP address of your host> to your IP address.

Done. Hive is installed. To verify the installation, open the command prompt and run the following:

$ hive –help

This command print all the options that can be used with hive. 

answered Feb 27, 2019 by Kirti
'hive' is not recognized as an internal or external command,
operable program or batch file.

I followed every step correctly. Last step I got this error

Hi@Akshitha,

You need to close your command line after you set up your environment variables. Because your variables are updated and you need to restart the command line.

Related Questions In Big Data Hadoop

0 votes
1 answer

How to install Hadoop on Windows system?

First you need to download Hadoop files. ...READ MORE

answered Feb 20, 2019 in Big Data Hadoop by Omkar
• 69,210 points
2,994 views
0 votes
1 answer

How to install Hadoop on Ubuntu?

You can refer to this blog by ...READ MORE

answered Mar 21, 2018 in Big Data Hadoop by nitinrawat895
• 11,380 points
1,214 views
0 votes
1 answer

I want to install snappy on Hadoop 1.2.1. How do I do that?

As per Cloudera, if you install hadoop ...READ MORE

answered Dec 11, 2018 in Big Data Hadoop by Frankie
• 9,830 points
826 views
0 votes
1 answer

How to install scala on Ubuntu?

You can install Scala using apt-get using the ...READ MORE

answered Feb 19, 2019 in Big Data Hadoop by Omkar
• 69,210 points
968 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,617 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,929 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,293 views
0 votes
1 answer

How to install HBase on Linux?

To install Hbase, you first need the ...READ MORE

answered Feb 27, 2019 in Big Data Hadoop by Tanisha
4,223 views
+2 votes
5 answers

How to transpose/pivot data in hive?

Below is also a way for Pivot SELECT ...READ MORE

answered Oct 12, 2018 in Big Data Hadoop by Rahul
19,162 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