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 <[email protected]> Authored: Thu Sep 29 13:24:23 2016 +0800 Committer: Hongbin Ma <[email protected]> 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 0000000..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. +
