Friday, March 3, 2023

Install Hive/Derby on top of Hadoop in Windows


To install Hive/Derby on top of Hadoop, you can follow these general steps:

Versions which are compatible are 
Hadoop : 2.8.0
Hive : 2.1.0
Derby : 10.12.1.1

1.Download and install Hadoop: You can download the Hadoop distribution from the Apache Hadoop website (https://hadoop.apache.org/
and follow the installation instructions.

file name : hadoop-2.8.0.tar.gz


2.Download and install Hive: You can download the Hive distribution from the Apache Hive website (https://hive.apache.org/
and follow the installation instructions.
file name : apache-hive-2.1.0-bin.tar.gz


3.Configure Hive to work with Hadoop: In the Hive configuration files, you need to set the location of the Hadoop 
installation and configure other parameters such as the database location and the Hive metastore.
4.Start the Hadoop services: Start the Hadoop services using the start-all.sh script located in the Hadoop bin directory.
Start the Hive services: Start the Hive services using the hive command.
5.Download and install Derby:  You can download the Derby distribution from the Derby website 
and follow the installation instructions.
file name : db-derby-10.12.1.1-bin.tar.gz

Quick commands:

http://localhost:50070/dfshealth.html#tab-overview
http://localhost:8088/cluster
C:\hadoop\hadoop-2.8.0\sbin>start-all.cmd
C:\hive\apache-hive-2.1.0-bin\bin>hive
C:\derby\db-derby-10.12.1.1-bin\bin>startNetworkServer -h 0.0.0.0



---------------------------------------------------------------------------- 
All the messages below are just forwarded messages if some one feels hurt about it please add your comments we will remove the post. Host/author is not responsible for these posts.

No comments:

Post a Comment