Skip to content

Images for creating four-node Drill cluster with HDFS support

License

Notifications You must be signed in to change notification settings

NickkBright/ApacheDrillCluster

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Apache Drill 4-node cluster with HDFS support

Zookeeper, Drill and Hadoop HDFS docker containers based on Cent OS 7. Zookeeper cluster has 3 nodes. Drill cluster has 4 nodes. UDF directories are storing in HDFS.

How to start cluster?

Install Docker CE and cd to cloned repo root folder

Local mode

  1. Run docker-compose -f local-setup.yml build

  2. Run docker-compose -f local-setup.yml up

  3. Wait for 1-2 minutes as the cluster needs time for startup.

Swarm mode

  1. Run docker swarm init --advertise-addr <MANAGER-IP>, where MANAGER-IP is the ip-address of your host machine. You can add another machines to your swarm cluster and connect them via generated token.

  2. Create overlay network with vnet name. Run docker network create -d overlay vnet

  3. Run docker stack deploy --compose-file swarm-setup.yml drillStack

  4. Wait for 2-3 minutes as the cluster needs time for startup.

About

Images for creating four-node Drill cluster with HDFS support

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published