Repository: kylin Updated Branches: refs/heads/yang-m1 b11491549 -> aeacd9732
fix ci Project: http://git-wip-us.apache.org/repos/asf/kylin/repo Commit: http://git-wip-us.apache.org/repos/asf/kylin/commit/aeacd973 Tree: http://git-wip-us.apache.org/repos/asf/kylin/tree/aeacd973 Diff: http://git-wip-us.apache.org/repos/asf/kylin/diff/aeacd973 Branch: refs/heads/yang-m1 Commit: aeacd9732de9ac1e7c20c1e700f8563630d2e04f Parents: 9d7a34d Author: Hongbin Ma <mahong...@apache.org> Authored: Thu Apr 14 20:15:04 2016 +0800 Committer: Hongbin Ma <mahong...@apache.org> Committed: Thu Apr 14 20:15:11 2016 +0800 ---------------------------------------------------------------------- .../kylin/storage/hbase/steps/RangeKeyDistributionReducer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/kylin/blob/aeacd973/storage-hbase/src/main/java/org/apache/kylin/storage/hbase/steps/RangeKeyDistributionReducer.java ---------------------------------------------------------------------- diff --git a/storage-hbase/src/main/java/org/apache/kylin/storage/hbase/steps/RangeKeyDistributionReducer.java b/storage-hbase/src/main/java/org/apache/kylin/storage/hbase/steps/RangeKeyDistributionReducer.java index c927ceb..b694f5f 100644 --- a/storage-hbase/src/main/java/org/apache/kylin/storage/hbase/steps/RangeKeyDistributionReducer.java +++ b/storage-hbase/src/main/java/org/apache/kylin/storage/hbase/steps/RangeKeyDistributionReducer.java @@ -66,7 +66,7 @@ public class RangeKeyDistributionReducer extends KylinReducer<Text, LongWritable } if (context.getConfiguration().get(BatchConstants.CFG_REGION_SPLIT_SIZE) != null) { - cut = Integer.valueOf(context.getConfiguration().get(BatchConstants.CFG_REGION_SPLIT_SIZE)); + cut = Float.valueOf(context.getConfiguration().get(BatchConstants.CFG_REGION_SPLIT_SIZE)); } if (context.getConfiguration().get(BatchConstants.CFG_REGION_NUMBER_MIN) != null) {