From 01d6394686bb5a2cdc62d536e3ffb5b387248d19 Mon Sep 17 00:00:00 2001 From: Zhong Date: Tue, 19 Apr 2016 01:24:50 +0800 Subject: [PATCH] KYLIN-1592: fix the bug of missing cube statistics while migrating cube --- .../main/java/org/apache/kylin/storage/hbase/util/CubeMigrationCLI.java | 1 + 1 file changed, 1 insertion(+) diff --git a/storage-hbase/src/main/java/org/apache/kylin/storage/hbase/util/CubeMigrationCLI.java b/storage-hbase/src/main/java/org/apache/kylin/storage/hbase/util/CubeMigrationCLI.java index ce2b135..a8eeee4 100644 --- a/storage-hbase/src/main/java/org/apache/kylin/storage/hbase/util/CubeMigrationCLI.java +++ b/storage-hbase/src/main/java/org/apache/kylin/storage/hbase/util/CubeMigrationCLI.java @@ -243,6 +243,7 @@ public class CubeMigrationCLI { } for (CubeSegment segment : cube.getSegments()) { + metaResource.add(segment.getStatisticsResourcePath()); dictAndSnapshot.addAll(segment.getSnapshotPaths()); dictAndSnapshot.addAll(segment.getDictionaryPaths()); } -- 2.5.4 (Apple Git-61)