Docker for setting up single machine Druid Cluster
363
To setup docker refer : Install Docker
Download and launch the docker image
docker pull abhi195/druid-cluster
docker run --rm -i -p 9001:9001 -p 8090:8090 -p 8083:8083 -p 8082:8082 -p 8081:8081 abhi195/druid-cluster
Getting the cluster up may take some time, wait for few minutes.
Supervisor status : http://localhost:9001
Druid Coordinator Console : http://localhost:8081/#/
Druid Overlord Console : http://localhost:8090/console.html
To build the docker image yourself
git clone https://github.com/abhi195/druid-docker.git
docker build -t druid-cluster druid-docker
Supervisor logs are configured at /var/log/druid/
Druid's logs are at its default path.
Following steps are for logging into the container, then you can see the log files :
docker psdocker exec -it container-id /bin/bashLatest image abhi195/druid-cluster is tested on OSX with 4GB of RAM and 2CPUs assigned to Docker.
If you are running docker on OSX you might get XX:MaxDirectMemorySize error because on OSX the Docker environment runs within HyperKit hypervisor.
Driud configurations inside conf folder of this repository already includes some changes in properties to fix this error.
To fix this you can take following steps:
Content type
Image
Digest
Size
827.4 MB
Last updated
almost 8 years ago
docker pull abhi195/druid-cluster