You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "liangmeng (JIRA)" <ji...@apache.org> on 2015/08/24 04:13:46 UTC

[jira] [Updated] (KYLIN-956) Allow users to configure hbase compression algorithm in kylin.properties

     [ https://issues.apache.org/jira/browse/KYLIN-956?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

liangmeng updated KYLIN-956:
----------------------------
    Attachment: kylin.properties
                kylin.properties
                CreateHTableJob.java

problem solved; add "kylin.hbase.default.compression.codec" item in kylin.properties, and rewrite switch function in createhtablejob.java, works in local hdp 2.2.4 sanbox

#default compression codec for htable,snappy,lzo,gzip,lz4
kylin.hbase.default.compression.codec=snappy


> Allow users to configure hbase compression algorithm in kylin.properties
> ------------------------------------------------------------------------
>
>                 Key: KYLIN-956
>                 URL: https://issues.apache.org/jira/browse/KYLIN-956
>             Project: Kylin
>          Issue Type: Improvement
>            Reporter: hongbin ma
>            Assignee: hongbin ma
>         Attachments: CreateHTableJob.java, kylin.properties, kylin.properties
>
>
> in the doc, it says lzo compression is not used by default, but actually,  if cluster is configured with lzo, kylin will use it,  so i review the source code, and find that kylin determine to use lzo in hbase table by compression test result, not user's configuration;
> also, we prefer snappy as default compression, will kylin support it ?
> from: liangmeng(13802880779@139.com)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)