您的位置:首页 > 其它

安装Kylin

2016-05-26 16:35 363 查看

Environment

Kylin requires a properly setup Hadoop environment to run. Following are the minimal request to run Kylin, for more detial, please check

Hadoop Environment.

It is most common to install Kylin on a Hadoop client machine, from which Kylin can talk with the Hadoop cluster via command lines including
hive
,
hbase
,
hadoop
, etc. The scenario is depicted as:



For normal use cases, the application in the above picture means Kylin Web, which contains a web interface for cube building, querying and all sorts of management. Kylin Web launches a query engine for querying and a cube build engine for building cubes.
These two engines interact with the Hadoop components, like hive and hbase.

Except for some prerequisite software installations, the core of Kylin installation is accomplished by running a single script. After running the script, you will be able to build sample cube and query the tables behind the cubes via a unified web interface.

Install Kylin

Download latest Kylin binaries at http://kylin.apache.org/download Export KYLIN_HOME pointing to the extracted Kylin folder
Make sure the user has the privilege to run hadoop, hive and hbase cmd in shell. If you are not so sure, you can run
bin/check-env.sh, it will print out the detail information if you have some environment issues.
To start Kylin, run bin/kylin.sh start, after the server starts, you can watch logs/kylin.log for runtime logs;
To stop Kylin, run bin/kylin.sh stop
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: