ITMO BigData course 2020
Getting started
This repo contains a preset for starting 4 clickhouse instances, 1 zookeeper and a client to connect to them. 4 instances are orginized into 2 shards with 2 replicas in each of them.
- install docker and docker-compose on your machine
- configure docker to have reasonable resorces
- launch server:
- go to /server directory
- run $ docker-compose up --build
- launch client:
- go to /client
- run $ docker-compose run client
There is a convenince script ./clean.sh, that is usefull if you need a fresh start
Uploading data
As everything has been set up, you should have a container with clickhouse-client set up and running. The whole /client directory is mounted to the container, so you can put what's nececcary in there. As part of the assignment there is predefined set of tables and queries that are task specific.