Getting Started with Apache Kylin installation

Source: Internet
Author: User
Tags root directory hadoop ecosystem

Apache kylin™ is an open-source, distributed analytics engine that provides SQL query interface and Multidimensional Analysis (OLAP) capabilities on top of Hadoop to support hyper-scale data, originally developed and contributed by ebay Inc to the open source community. It can query large hive tables in sub-second.

From the introduction of the official website, Kylin is an OLAP data query engine, which is characterized by fast. The company recently prepared to introduce Kylin to do data analysis, originally also heard but have not contacted, now just can verify the next kylin is the legend so NB, today we first to see how to install Deployment Kylin.

Since Kylin itself is only a server, installation deployment is relatively simple, but the premise is that hadoop,hive,hbase must already be installed and working properly, where the deployment of some of the framework for the Hadoop ecosystem is no longer duplicated, Interested to see my previous blog post.

Here's a look at some of the basic software versions:

Hadoop2.7.2
Hive2.1.1
Hbase1.2.0
Zookeeper3.4.8
Kylin2.0.0

Here it is assumed that your hadoop,hive,hbase has been successfully installed and functioning properly.

Then go to kylin official website to download the corresponding Kylin version, the link is as follows: http://kylin.apache.org/cn/download/

The specific version of the download is: apache-kylin-2.0.0-bin-hbase1x.tar.gz

After the download succeeds, unzip to the root directory, then rename the directory to Kylin and in the. bash_profile file, configure the Kylin environment variables:

Export Kylin_home=/home/search/kylin
export classpath= $CLASSPATH: $KYLIN _home/lib
export path= $KYLIN _home/ Bin: $PATH

Then execute the bin/check-env.sh script, check if the environment variable is missing, after the validation passes, you can execute the following script to start:

bin/kylin.sh Start//start

bin/kylin.sh stop//stop

It is important to note that Kylin current version only supports spark1.6.0 version, originally my machine, installed a spark2.0 version, resulting in boot kylin failure, terminal only output spark assembly LIB not Found this message, and nothing else, led me to mistakenly think that my compiled spark had a problem, then I removed my spark, restarted Kylin to succeed, and another note was the Hadoop mr-jobhistory-daemon.sh The process should also start up.

After successful startup, Access address: Http://hostname:7070/kylin (kylin start-up process feels a bit slow, almost 1 minutes after the access to this address basically can take effect)

and enter the default user name and password: After Admin/kylin successfully logged in, you see the following page, which indicates that the installation was successfully deployed.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.