KYLIN-1999, for UT/IT, enable compress Signed-off-by: shaofengshi <shaofeng...@apache.org>
Project: http://git-wip-us.apache.org/repos/asf/kylin/repo Commit: http://git-wip-us.apache.org/repos/asf/kylin/commit/61a3e7ef Tree: http://git-wip-us.apache.org/repos/asf/kylin/tree/61a3e7ef Diff: http://git-wip-us.apache.org/repos/asf/kylin/diff/61a3e7ef Branch: refs/heads/1.5.x-HBase1.x Commit: 61a3e7ef1b9998fb2414170b2978d62d84b8a6c1 Parents: a25131e Author: Yiming Liu <liuyiming....@gmail.com> Authored: Thu Sep 8 11:06:34 2016 +0800 Committer: shaofengshi <shaofeng...@apache.org> Committed: Sun Sep 25 15:40:03 2016 +0800 ---------------------------------------------------------------------- examples/test_case_data/localmeta/kylin.properties | 3 +++ examples/test_case_data/localmeta/kylin_hive_conf.xml | 4 +--- examples/test_case_data/localmeta/kylin_job_conf.xml | 2 -- examples/test_case_data/sandbox/kylin.properties | 2 +- examples/test_case_data/sandbox/kylin_hive_conf.xml | 2 -- examples/test_case_data/sandbox/kylin_job_conf.xml | 2 -- examples/test_case_data/sandbox/kylin_job_conf_inmem.xml | 2 -- 7 files changed, 5 insertions(+), 12 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/kylin/blob/61a3e7ef/examples/test_case_data/localmeta/kylin.properties ---------------------------------------------------------------------- diff --git a/examples/test_case_data/localmeta/kylin.properties b/examples/test_case_data/localmeta/kylin.properties index 50dd0b6..866a518 100644 --- a/examples/test_case_data/localmeta/kylin.properties +++ b/examples/test_case_data/localmeta/kylin.properties @@ -38,6 +38,9 @@ kylin.storage.url=hbase # Working folder in HDFS, make sure user has the right access to the hdfs directory kylin.hdfs.working.dir=/kylin +# Compression codec for htable, valid value [none, snappy, lzo, gzip, lz4] +kylin.hbase.default.compression.codec=snappy + ### JOB ### # max job retry on error, default 0: no retry http://git-wip-us.apache.org/repos/asf/kylin/blob/61a3e7ef/examples/test_case_data/localmeta/kylin_hive_conf.xml ---------------------------------------------------------------------- diff --git a/examples/test_case_data/localmeta/kylin_hive_conf.xml b/examples/test_case_data/localmeta/kylin_hive_conf.xml index 61ef949..98e3121 100644 --- a/examples/test_case_data/localmeta/kylin_hive_conf.xml +++ b/examples/test_case_data/localmeta/kylin_hive_conf.xml @@ -40,7 +40,6 @@ <description>enable map-side join</description> </property> - <!-- <property> <name>mapreduce.map.output.compress.codec</name> <value>org.apache.hadoop.io.compress.SnappyCodec</value> @@ -51,8 +50,7 @@ <value>org.apache.hadoop.io.compress.SnappyCodec</value> <description></description> </property> - --> - + <property> <name>hive.merge.mapfiles</name> <value>true</value> http://git-wip-us.apache.org/repos/asf/kylin/blob/61a3e7ef/examples/test_case_data/localmeta/kylin_job_conf.xml ---------------------------------------------------------------------- diff --git a/examples/test_case_data/localmeta/kylin_job_conf.xml b/examples/test_case_data/localmeta/kylin_job_conf.xml index 2f0628b..9d58241 100644 --- a/examples/test_case_data/localmeta/kylin_job_conf.xml +++ b/examples/test_case_data/localmeta/kylin_job_conf.xml @@ -27,7 +27,6 @@ </property> - <!-- <property> <name>mapred.compress.map.output</name> <value>true</value> @@ -59,7 +58,6 @@ <value>BLOCK</value> <description>The compression type to use for job outputs</description> </property> - --> <property> <name>mapreduce.job.max.split.locations</name> http://git-wip-us.apache.org/repos/asf/kylin/blob/61a3e7ef/examples/test_case_data/sandbox/kylin.properties ---------------------------------------------------------------------- diff --git a/examples/test_case_data/sandbox/kylin.properties b/examples/test_case_data/sandbox/kylin.properties index 1d1d9ba..8f3075e 100644 --- a/examples/test_case_data/sandbox/kylin.properties +++ b/examples/test_case_data/sandbox/kylin.properties @@ -28,7 +28,7 @@ kylin.owner=who...@kylin.apache.org kylin.rest.servers=localhost:7070 # Display timezone on UI,format like[GMT+N or GMT-N] -kylin.rest.timezone=GMT-8 +kylin.rest.timezone=GMT+8 ### SOURCE ### http://git-wip-us.apache.org/repos/asf/kylin/blob/61a3e7ef/examples/test_case_data/sandbox/kylin_hive_conf.xml ---------------------------------------------------------------------- diff --git a/examples/test_case_data/sandbox/kylin_hive_conf.xml b/examples/test_case_data/sandbox/kylin_hive_conf.xml index e75f191..4ee5f6b 100644 --- a/examples/test_case_data/sandbox/kylin_hive_conf.xml +++ b/examples/test_case_data/sandbox/kylin_hive_conf.xml @@ -40,7 +40,6 @@ <description>enable map-side join</description> </property> - <!-- <property> <name>mapreduce.map.output.compress.codec</name> <value>org.apache.hadoop.io.compress.SnappyCodec</value> @@ -51,7 +50,6 @@ <value>org.apache.hadoop.io.compress.SnappyCodec</value> <description></description> </property> - --> <property> <name>hive.merge.size.per.task</name> http://git-wip-us.apache.org/repos/asf/kylin/blob/61a3e7ef/examples/test_case_data/sandbox/kylin_job_conf.xml ---------------------------------------------------------------------- diff --git a/examples/test_case_data/sandbox/kylin_job_conf.xml b/examples/test_case_data/sandbox/kylin_job_conf.xml index bd947af..e8f6399 100644 --- a/examples/test_case_data/sandbox/kylin_job_conf.xml +++ b/examples/test_case_data/sandbox/kylin_job_conf.xml @@ -31,7 +31,6 @@ <value>2</value> </property> - <!-- <property> <name>mapred.compress.map.output</name> <value>true</value> @@ -63,7 +62,6 @@ <value>BLOCK</value> <description>The compression type to use for job outputs</description> </property> ---> <property> <name>mapreduce.job.max.split.locations</name> http://git-wip-us.apache.org/repos/asf/kylin/blob/61a3e7ef/examples/test_case_data/sandbox/kylin_job_conf_inmem.xml ---------------------------------------------------------------------- diff --git a/examples/test_case_data/sandbox/kylin_job_conf_inmem.xml b/examples/test_case_data/sandbox/kylin_job_conf_inmem.xml index 5f2cfba..8c77004 100644 --- a/examples/test_case_data/sandbox/kylin_job_conf_inmem.xml +++ b/examples/test_case_data/sandbox/kylin_job_conf_inmem.xml @@ -31,7 +31,6 @@ <value>2</value> </property> - <!-- <property> <name>mapred.compress.map.output</name> <value>true</value> @@ -63,7 +62,6 @@ <value>BLOCK</value> <description>The compression type to use for job outputs</description> </property> ---> <property> <name>mapreduce.job.max.split.locations</name>