You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kylin.apache.org by ma...@apache.org on 2015/09/06 08:25:29 UTC

incubator-kylin git commit: KYLIN-956 fix document

Repository: incubator-kylin
Updated Branches:
  refs/heads/0.7-staging a925cdab1 -> 840c0c05e


KYLIN-956 fix document


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

Branch: refs/heads/0.7-staging
Commit: 840c0c05eee90613312d7ab13932a47e7232c2bb
Parents: a925cda
Author: honma <ho...@ebay.com>
Authored: Sun Sep 6 14:27:21 2015 +0800
Committer: honma <ho...@ebay.com>
Committed: Sun Sep 6 14:27:29 2015 +0800

----------------------------------------------------------------------
 website/_docs/install/advance_settings.md | 13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/840c0c05/website/_docs/install/advance_settings.md
----------------------------------------------------------------------
diff --git a/website/_docs/install/advance_settings.md b/website/_docs/install/advance_settings.md
index b52b3d6..5eb9e90 100644
--- a/website/_docs/install/advance_settings.md
+++ b/website/_docs/install/advance_settings.md
@@ -29,10 +29,17 @@ To test if the hbase cluster is ready to create LZO compressed tables, test foll
 create 'lzoTable', {NAME => 'colFam',COMPRESSION => 'LZO'}
 {% endhighlight %}
 
-### Modify kylin_job_conf.xml
+### Use LZO for HBase compression
 
-You'll need to stop Kylin first by running `./kylin.sh stop`, and then modify $KYLIN_HOME/conf/kylin_job_conf.xml by uncommenting some configuration entries related to LZO compression. 
-After this, you need to run `./kylin.sh start` to start Kylin again. Now Kylin will use LZO to compress MR outputs and hbase tables.
+Goto $KYLIN_HOME/conf/kylin.properties, change kylin.hbase.default.compression.codec=snappy to kylin.hbase.default.compression.codec=lzo
+
+### Use LZO for MR jobs
+
+Modify $KYLIN_HOME/conf/kylin_job_conf.xml by changing all org.apache.hadoop.io.compress.SnappyCodec to com.hadoop.compression.lzo.LzoCodec. 
+
+### Restart Kylin
+
+Start Kylin again. Now Kylin will use LZO to compress MR outputs and HBase tables.
 
 
 ## Enable LDAP authentication