DUE TO SPAM, SIGN-UP IS DISABLED. Goto Selfserve wiki signup and request an account.
Apache Kylin : Analytical Data Warehouse for Big Data
DUE TO SPAM, SIGN-UP IS DISABLED. Goto Selfserve wiki signup and request an account.
Welcome to Kylin Wiki.
You maybe know that Kylin 4.0 is using Spark engine to build cube and query cube, if the build (spark) jobs and query (spark) jobs are both running in the same Hadoop cluster, the performance of build/query will be affected because of the resource competition.
Now, Kylin 4.0 supports running build jobs and query jobs on the two Hadoop clusters. The build (spark) jobs will be sent to build cluster to build cube data, and then the cube/cuboid data will be wrote to the HDFS of the query cluster directly, so that query related workload will be move to query cluster.
With a read-write separation deployment, we can separate build and query computation workload(mostly the yarn resource and disk I/O). In the current implementation, HDFS of query cluster is not exclusive to the query cluster only, because build cluster will read data from query cluster('s HDFS) when merging segments.
The architechture and workflow for read-write separation in Kylin4.0 will like below:
Note
Before you starting deploy that need make sure your hadoop cluster environment should be supported Kylin4.0, also the hadoop version of build cluster and query cluster must be the same. In addition to noted the following environment as well:
At first you can install Kylin4.0 follow in the official guide in one node which contains Hadoop client configuration of query cluster. Then configure the parameters needed for the build action as below:
Kylin4.0 doesn't use HBase as storage layer which makes the architecture more simple, so that we can easily deploy the read-write separation for Kylin. With this deployment we can get a more stable Kylin cluster which can provide high performance data service ability. It is suitable for scenarios such as the use of the dashboard, self-service analysis, data interface service and so on which need highly query performance.
Current in this read-write separation deployment there have some limitations and FAQ list as below:
Q: Which scripts or command can't be supported?
A: $KYLIN_HOME/bin/sample.sh is not supported in this deployment mode.
Q: Whether the configuration files of the Hadoop cluster are automatically updated synchronously?
A: There needs to be an upgrade to build cluster's configuration files by manual.
Q: Whether need to restart the cluster when configuring Hadoop communication parameters between build cluster and query cluster?
A: Yes, Please be careful in this setting in the production environment.
Q: Does the build cluster had save cube data as repetition?
A: No, the cube data only store in query cluster.