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/29 05:31:30 UTC
incubator-kylin git commit: bug fix
Repository: incubator-kylin
Updated Branches:
refs/heads/KYLIN-942 d1be0ad65 -> e8182fdd8
bug fix
Project: http://git-wip-us.apache.org/repos/asf/incubator-kylin/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-kylin/commit/e8182fdd
Tree: http://git-wip-us.apache.org/repos/asf/incubator-kylin/tree/e8182fdd
Diff: http://git-wip-us.apache.org/repos/asf/incubator-kylin/diff/e8182fdd
Branch: refs/heads/KYLIN-942
Commit: e8182fdd8a0c3ed0b070464b1a0d03eee0b05047
Parents: d1be0ad
Author: honma <ho...@ebay.com>
Authored: Tue Sep 29 11:34:39 2015 +0800
Committer: honma <ho...@ebay.com>
Committed: Tue Sep 29 11:34:39 2015 +0800
----------------------------------------------------------------------
.../org/apache/kylin/storage/hbase/steps/CreateHTableJob.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/e8182fdd/storage-hbase/src/main/java/org/apache/kylin/storage/hbase/steps/CreateHTableJob.java
----------------------------------------------------------------------
diff --git a/storage-hbase/src/main/java/org/apache/kylin/storage/hbase/steps/CreateHTableJob.java b/storage-hbase/src/main/java/org/apache/kylin/storage/hbase/steps/CreateHTableJob.java
index 2444c6a..1e9887d 100644
--- a/storage-hbase/src/main/java/org/apache/kylin/storage/hbase/steps/CreateHTableJob.java
+++ b/storage-hbase/src/main/java/org/apache/kylin/storage/hbase/steps/CreateHTableJob.java
@@ -305,10 +305,10 @@ public class CreateHTableJob extends AbstractHadoopJob {
}
if (shard > nRegion) {
- logger.info(String.format("Cuboid %d 's estimated size %0.2f MB will generate %d regions, reduce to %d", cuboidId, estimatedSize, shard, nRegion));
+ logger.info(String.format("Cuboid %d 's estimated size %.2f MB will generate %d regions, reduce to %d", cuboidId, estimatedSize, shard, nRegion));
shard = nRegion;
} else {
- logger.info(String.format("Cuboid %d 's estimated size %0.2f MB will generate %d regions", cuboidId, estimatedSize, shard));
+ logger.info(String.format("Cuboid %d 's estimated size %.2f MB will generate %d regions", cuboidId, estimatedSize, shard));
}
cuboidShards.put(cuboidId, (short) shard);
@@ -320,7 +320,7 @@ public class CreateHTableJob extends AbstractHadoopJob {
}
for (int i = 0; i < nRegion; ++i) {
- logger.info(String.format("Region %d's estimated size is %0.2f MB, accounting for %0.2f percent", i, regionSizes[i], 100.0 * regionSizes[i] / totalSizeInM));
+ logger.info(String.format("Region %d's estimated size is %.2f MB, accounting for %.2f percent", i, regionSizes[i], 100.0 * regionSizes[i] / totalSizeInM));
}
CuboidShardUtil.saveCuboidShards(cubeSegment, cuboidShards, nRegion);