Repository: kylin Updated Branches: refs/heads/master 9758c880d -> 9a913582b
fix ci Project: http://git-wip-us.apache.org/repos/asf/kylin/repo Commit: http://git-wip-us.apache.org/repos/asf/kylin/commit/9a913582 Tree: http://git-wip-us.apache.org/repos/asf/kylin/tree/9a913582 Diff: http://git-wip-us.apache.org/repos/asf/kylin/diff/9a913582 Branch: refs/heads/master Commit: 9a913582b05fde8a0c192bbeb1686f8a90e32f37 Parents: 9758c88 Author: Hongbin Ma <mahong...@apache.org> Authored: Thu Apr 14 18:00:50 2016 +0800 Committer: Hongbin Ma <mahong...@apache.org> Committed: Thu Apr 14 18:00:50 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/9a913582/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) {