Skip to content

bearddan2000/java-cli-gradle-hadoop-hive-postgres-simple

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

java-cli-gradle-hadoop-hive-postgres-simple

Description

Creates a small database table called dog. All output normally seen in a terminal will be in log which will dump to the screen. The project may seem to hang but the logs from the container must be written to the project this can take up to 3 min.

A java gradle build, that connects to hadoop filesystem. Hive is used in place of map reduce to translate queries. A postgres database stores meta data about objects on hdfs.

Tech stack

  • java
  • gradle
    • hive drivers
  • hadoop
    • hdfs
  • hive
    • hql
  • postgres

Docker stack

  • bde2020/hadoop-datanode:2.0.0-hadoop2.7.4-java8
  • bde2020/hive:2.3.2-postgresql-metastore
  • bde2020/hive-metastore-postgresql:2.3.0
  • gradle:jdk11

To run

sudo ./install.sh -u

To stop

sudo ./install.sh -d

For help

sudo ./install.sh -h

Credit

Hive setup based on