You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kylin.apache.org by sh...@apache.org on 2018/12/11 08:35:44 UTC

[kylin] branch document updated: add kylin_azure_hdinsight doc

This is an automated email from the ASF dual-hosted git repository.

shaofengshi pushed a commit to branch document
in repository https://gitbox.apache.org/repos/asf/kylin.git


The following commit(s) were added to refs/heads/document by this push:
     new dc84a3a  add kylin_azure_hdinsight doc
dc84a3a is described below

commit dc84a3ae62edf54709dfdb2ebd5a9c211ac0e1af
Author: Lijun Cao <64...@qq.com>
AuthorDate: Tue Dec 11 11:11:13 2018 +0800

    add kylin_azure_hdinsight doc
---
 website/_data/docs-cn.yml                          |   1 +
 website/_data/docs.yml                             |   1 +
 website/_docs/install/kylin_azure_hdinsight.cn.md  |  38 +++++++++++++++++++++
 website/_docs/install/kylin_azure_hdinsight.md     |  38 +++++++++++++++++++++
 website/images/Kylin-On-Azure/createHDInsight.png  | Bin 0 -> 125123 bytes
 website/images/Kylin-On-Azure/fillclustername.png  | Bin 0 -> 43656 bytes
 .../images/Kylin-On-Azure/portalinapplication.png  | Bin 0 -> 39555 bytes
 website/images/Kylin-On-Azure/sshinfo.png          | Bin 0 -> 49141 bytes
 8 files changed, 78 insertions(+)

diff --git a/website/_data/docs-cn.yml b/website/_data/docs-cn.yml
index b494469..95a44f8 100644
--- a/website/_data/docs-cn.yml
+++ b/website/_data/docs-cn.yml
@@ -22,6 +22,7 @@
   - install/kylin_cluster
   - install/configuration
   - install/kylin_aws_emr
+  - install/kylin_azure_hdinsight
   - install/kylin_docker
 
 - title: 教程
diff --git a/website/_data/docs.yml b/website/_data/docs.yml
index c17d4b5..826e340 100644
--- a/website/_data/docs.yml
+++ b/website/_data/docs.yml
@@ -31,6 +31,7 @@
   - install/kylin_cluster
   - install/configuration
   - install/kylin_aws_emr
+  - install/kylin_azure_hdinsight
   - install/kylin_docker
   
 - title: Tutorial
diff --git a/website/_docs/install/kylin_azure_hdinsight.cn.md b/website/_docs/install/kylin_azure_hdinsight.cn.md
new file mode 100644
index 0000000..82d67ac
--- /dev/null
+++ b/website/_docs/install/kylin_azure_hdinsight.cn.md
@@ -0,0 +1,38 @@
+---
+layout: docs-cn
+title:  "在Azure HDInsight上一键部署Kylin"
+categories: install
+permalink: /cn/docs/install/kylin_azure_hdinsight.html
+---
+
+本文介绍了如何在HDInsight上一键部署Kylin
+
+部署脚本源码位于: [Github Repository](https://github.com/Kyligence/Iaas-Applications/tree/master/apache-kylin)
+
+## 1. 准备一个HDInsight集群
+首先,要有一个可用的HDInsight集群(现有集群或新建集群均可),集群的类型必须是HBase,HDInsight的版本必须是大于等于3.2且小于4.0。
+![](/images/Kylin-On-Azure/createHDInsight.png)
+
+## 2. 部署Kylin
+点击 <a href="https://portal.azure.cn/#create/Microsoft.Template/uri/https%3a%2f%2fraw.githubusercontent.com%2fKyligence%2fIaas-Applications%2fmaster%2fapache-kylin%2fazuredeploy.json" target="_blank">
+		<img src="http://azuredeploy.net/deploybutton.png"/>
+	</a>,填写如下图所示参数后,即可开始部署Kylin。其他参数可根据需要自行修改。
+![](/images/Kylin-On-Azure/fillclustername.png)
+
+## 3. 登录至Kylin
+部署完毕后,在HDInsight管理界面下的application页面里,可以看到已部署应用的访问链接。复制该链接,并在最后追加 **/kylin后**,即可访问Kylin。
+![](/images/Kylin-On-Azure/portalinapplication.png)
+
+## 4. 开始使用
+Kylin在部署时,默认导入了Sample Cube数据。如果你是第一次使用Kylin,可以用Sample Cube进行快速体验和学习。如果你对Kylin比较了解,那么可以直接导入自己的数据进行分析。使用详情可以参阅:<a href="http://kylin.apache.org/docs/tutorial/web.html" target="_blank">Kylin 官方文档</a>
+
+# 如何自定义properties文件
+部署时默认使用了templates目录下的[kylin.properties](https://github.com/Kyligence/Iaas-Applications/blob/master/apache-kylin/templates/kylin.properties)。如果你想改变该配置,方法如下:
+1. 登录至Kylin部署节点。部署节点的登录信息可以在HDInsight管理界面下的**SSH+Cluster login**中找到;
+![](/images/Kylin-On-Azure/sshinfo.png)
+
+2. **sudo su root** 切换至root用户;
+
+3. 通过**vim ~/apache-kylin-{version}-bin-hbase1x/conf/kylin.properties**进行修改;
+
+4. 修改完毕后,重启Kylin,使新配置生效。
\ No newline at end of file
diff --git a/website/_docs/install/kylin_azure_hdinsight.md b/website/_docs/install/kylin_azure_hdinsight.md
new file mode 100644
index 0000000..94d9087
--- /dev/null
+++ b/website/_docs/install/kylin_azure_hdinsight.md
@@ -0,0 +1,38 @@
+---
+layout: docs
+title:  "Install Kylin on Azure HDInsight"
+categories: install
+permalink: /docs/install/kylin_azure_hdinsight.html
+---
+
+This document introduces how to deploy Kylin on HDInsight by one click.
+
+You can get more detail from this [Github Repository](https://github.com/Kyligence/Iaas-Applications/tree/master/apache-kylin)
+
+## 1. Prepare an HDInsight cluster
+First, you need to have an HDInsight cluster which the type is "HBase". The HDInsight version must greater than 3.2(inlucde) and less than 4.0(exclude). Either existing cluster or new-created clustser is OK.
+![](/images/Kylin-On-Azure/createHDInsight.png)
+
+## 2. Deploy Kylin
+Click <a href="https://portal.azure.com/#create/Microsoft.Template/uri/https%3a%2f%2fraw.githubusercontent.com%2fKyligence%2fIaas-Applications%2fmaster%2fapache-kylin%2fazuredeploy.json" target="_blank">
+		<img src="http://azuredeploy.net/deploybutton.png"/>
+	  </a> to deploy Apache Kylin. You will have to fill one param, just like the picture shown below. Other params can also be modified as you requried.  
+![](/images/Kylin-On-Azure/fillclustername.png)
+
+## 3. Login to Kylin 
+After finish deploying Kylin, you can find the Kylin host in application page in HDInsight. Copy the link of Portal to your browser and append ***/kylin*** in the end. Then press the enter to access Kylin. The defualt username is **ADMIN** and the password is **KYLIN**. 
+![](/images/Kylin-On-Azure/portalinapplication.png)
+
+## 4. Use Kylin
+By default, the Sample Cube has been loaded into Kylin during the deployment. If it's the first time you use Kylin, you can get quick start with Sample Cube. Also, if you're fimilar with Kylin, you can load your own data into Kylin. For more details about how to use Kylin, please refer <a href="http://kylin.apache.org/docs/tutorial/web.html" target="_blank">Kylin Documents</a>
+
+# How to Customized the kylin.properites
+By default, Kylin use the [kylin.properties](https://github.com/Kyligence/Iaas-Applications/blob/master/apache-kylin/templates/kylin.properties). If you want to modifiy it, you can do as follows:
+1. Login to the node that deploy the Kylin. The ssh login info can be founded in **SSH+Cluster login** page in HDInsight.
+![](/images/Kylin-On-Azure/sshinfo.png)
+
+2. **sudo su root** to switch to root.
+
+3. Modify the kylin.properties by using **vim ~/apache-kylin-{version}-bin-hbase1x/conf/kylin.properties**.
+
+4. Restart the Kylin.
\ No newline at end of file
diff --git a/website/images/Kylin-On-Azure/createHDInsight.png b/website/images/Kylin-On-Azure/createHDInsight.png
new file mode 100644
index 0000000..9542e44
Binary files /dev/null and b/website/images/Kylin-On-Azure/createHDInsight.png differ
diff --git a/website/images/Kylin-On-Azure/fillclustername.png b/website/images/Kylin-On-Azure/fillclustername.png
new file mode 100644
index 0000000..b551867
Binary files /dev/null and b/website/images/Kylin-On-Azure/fillclustername.png differ
diff --git a/website/images/Kylin-On-Azure/portalinapplication.png b/website/images/Kylin-On-Azure/portalinapplication.png
new file mode 100644
index 0000000..22e3523
Binary files /dev/null and b/website/images/Kylin-On-Azure/portalinapplication.png differ
diff --git a/website/images/Kylin-On-Azure/sshinfo.png b/website/images/Kylin-On-Azure/sshinfo.png
new file mode 100644
index 0000000..229c874
Binary files /dev/null and b/website/images/Kylin-On-Azure/sshinfo.png differ