With help of SequenceIQ, we have put together a fully automated method of creating a Kylin cluster (along with Hadoop, HBase and Hive). The only thing you will need to do is to pull the container from the official Docker repository by using the commands listed below:
Pre-Requisite
- Docker (If you don’t have Docker installed, follow this link)
- Minimum RAM - 4Gb (We’ll be running Kylin, Hadoop, HBase & Hive)
Installation
docker pull sequenceiq/kylin:0.7.2
Once the container is pulled you are ready to start playing with Kylin. Get the following helper functions from our Kylin GitHub repository - (make sure you source it).
$ wget https://raw.githubusercontent.com/sequenceiq/docker-kylin/master/ambari-functions
$ source ambari-functions
$ kylin-deploy-cluster 1
You can specify the number of nodes you’d like to have in your cluster (1 in this case). Once we installed all the necessary Hadoop
services we’ll build Kylin on top of it and then you can reach the UI on:
#Ambari Dashboard
http://<container_ip>:8080
Use admin/admin
to login. Make sure HBase is running.
#Kylin Dashboard
http://<container_ip>:7070/kylin
The default credentials to login are: ADMIN:KYLIN
.
The cluster is pre-populated with sample data and is ready to build cubes as shown here.