Prerequisite
To ensure system performance and stability, we recommend you run Kylin on a dedicated Hadoop cluster.
Prior to installing Kylin, please check the following prerequisites are met.
- Environment
- Recommended Resource and Configuration
Supported Hadoop Distributions
The following Hadoop distributions are verified to run on Kylin.
- Apache Hadoop 3.2.1
Kylin requires some components, please make sure each server has the following components.
- Hive
- HDFS
- Yarn
- ZooKeeper
Prepare Environment
First, make sure you allocate sufficient resources for the environment. Please refer to Prerequisites for detailed resource requirements for Kylin. Moreover, please ensure that HDFS
, YARN
, Hive
, ZooKeeper
and other components are in normal state without any warning information.
Additional configuration required for Apache Hadoop version
Add the following two configurations in $KYLIN_HOME/conf/kylin.properties
:
kylin.env.apache-hadoop-conf-dir
Hadoop conf directory in Hadoop environmentkylin.env.apache-hive-conf-dir
Hive conf directory in Hadoop environment
Jar package required by Apache Hadoop version
In Apache Hadoop 3.2.1, you also need to prepare the MySQL JDBC driver in the operating environment of Kylin.
Download MySQL 8.0 JDBC driver:https://repo1.maven.org/maven2/mysql/mysql-connector-java/8.0.30/mysql-connector-java-8.0.30.jar.
Please place the JDBC driver in the $KYLIN_HOME/lib/ext
directory.