Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/taeefnajib/hive-metastore-using-docker
This is a repository for Hive Metastore using Docker.
https://github.com/taeefnajib/hive-metastore-using-docker
Last synced: 11 days ago
JSON representation
This is a repository for Hive Metastore using Docker.
- Host: GitHub
- URL: https://github.com/taeefnajib/hive-metastore-using-docker
- Owner: taeefnajib
- License: mit
- Created: 2023-12-28T04:08:29.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-12-28T04:21:14.000Z (about 1 year ago)
- Last Synced: 2023-12-28T05:27:13.945Z (about 1 year ago)
- Language: Dockerfile
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Hive Metastore Using Docker
This is a repository for a standalone Hive MetastoreClone this repo: `git clone https://github.com/taeefnajib/Hive-Metastore-Using-Docker.git`
Inside `Hive-Metastore-Using-Docker` directory, take the following steps:
1. Edit conf/metastore-site.xml and change:
* `fs.s3a.access.key`
* `fs.s3a.secret.key`
* `metastore.warehouse.dir`
2. Run the following commands in your terminal (in `Hive-Metastore-Using-Docker` directory):
```
docker network create "hive_internal"
docker-compose build
docker-compose up -d
```
The Hive Metastore should be up and running.By default, the conf/metastore-site.xml file has `XXXXXXXXXXXXXXXXX` for `fs.s3a.access.key`, `XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX` for `fs.s3a.secret.key`, and `s3a://yourbucket/warehouse/` for `metastore.warehouse.dir`. Make sure to replace those.