kylin git commit: add beeline doc

2016-09-28 Thread mahongbin
Repository: kylin
Updated Branches:
  refs/heads/document 1ec5aca9a -> 7a97d513c


add beeline doc


Project: http://git-wip-us.apache.org/repos/asf/kylin/repo
Commit: http://git-wip-us.apache.org/repos/asf/kylin/commit/7a97d513
Tree: http://git-wip-us.apache.org/repos/asf/kylin/tree/7a97d513
Diff: http://git-wip-us.apache.org/repos/asf/kylin/diff/7a97d513

Branch: refs/heads/document
Commit: 7a97d513c41ba865aa9acb0872ae0cf299353439
Parents: 1ec5aca
Author: Hongbin Ma 
Authored: Thu Sep 29 13:24:23 2016 +0800
Committer: Hongbin Ma 
Committed: Thu Sep 29 13:24:23 2016 +0800

--
 website/_docs15/howto/howto_use_beeline.md | 14 ++
 1 file changed, 14 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/kylin/blob/7a97d513/website/_docs15/howto/howto_use_beeline.md
--
diff --git a/website/_docs15/howto/howto_use_beeline.md 
b/website/_docs15/howto/howto_use_beeline.md
new file mode 100644
index 000..f0aea67
--- /dev/null
+++ b/website/_docs15/howto/howto_use_beeline.md
@@ -0,0 +1,14 @@
+---
+layout: docs15
+title:  Use Beeline for Hive Commands
+categories: howto
+permalink: /docs15/howto/howto_use_beeline.html
+---
+
+Beeline(https://cwiki.apache.org/confluence/display/Hive/HiveServer2+Clients) 
is recommended by many venders to replace Hive CLI. By default Kylin uses Hive 
CLI to synchronize Hive tables, create flatten intermediate tables, etc. By 
simple configuration changes you can set Kylin to use Beeline instead.
+
+Edit $KYLIN_HOME/conf/kylin.properties by:
+
+  1. change kylin.hive.client=cli to kylin.hive.client=beeline
+  2. add "kylin.hive.beeline.params", this is where you can specifiy beeline 
commmand parameters. Like username(-n), JDBC URL(-u),etc. There's a sample 
kylin.hive.beeline.params included in default kylin.properties, however it's 
commented. You can modify the sample based on your real environment.
+



kylin git commit: add beeline doc

2016-09-28 Thread mahongbin
Repository: kylin
Updated Branches:
  refs/heads/document 649d382d5 -> 1ec5aca9a


add beeline doc


Project: http://git-wip-us.apache.org/repos/asf/kylin/repo
Commit: http://git-wip-us.apache.org/repos/asf/kylin/commit/1ec5aca9
Tree: http://git-wip-us.apache.org/repos/asf/kylin/tree/1ec5aca9
Diff: http://git-wip-us.apache.org/repos/asf/kylin/diff/1ec5aca9

Branch: refs/heads/document
Commit: 1ec5aca9a3c878872c5754992fbd3f71272d83e8
Parents: 649d382
Author: Hongbin Ma 
Authored: Thu Sep 29 13:16:52 2016 +0800
Committer: Hongbin Ma 
Committed: Thu Sep 29 13:16:52 2016 +0800

--
 website/_data/docs15.yml | 1 +
 1 file changed, 1 insertion(+)
--


http://git-wip-us.apache.org/repos/asf/kylin/blob/1ec5aca9/website/_data/docs15.yml
--
diff --git a/website/_data/docs15.yml b/website/_data/docs15.yml
index 6aa78b2..25be101 100644
--- a/website/_data/docs15.yml
+++ b/website/_data/docs15.yml
@@ -57,4 +57,5 @@
   - howto/howto_jdbc
   - howto/howto_upgrade
   - howto/howto_ldap_and_sso
+  - howto/howto_use_beeline
   - howto/howto_update_coprocessor