Repository: kylin
Updated Branches:
  refs/heads/master 618a66073 -> bc46e29a6


KYLIN-1592: fix the bug of missing cube statistics while migrating cube


Project: http://git-wip-us.apache.org/repos/asf/kylin/repo
Commit: http://git-wip-us.apache.org/repos/asf/kylin/commit/bc46e29a
Tree: http://git-wip-us.apache.org/repos/asf/kylin/tree/bc46e29a
Diff: http://git-wip-us.apache.org/repos/asf/kylin/diff/bc46e29a

Branch: refs/heads/master
Commit: bc46e29a696fe723618c01cdb8553acefb444f21
Parents: 618a660
Author: Zhong <[email protected]>
Authored: Tue Apr 19 01:24:50 2016 +0800
Committer: kyotoYaho <[email protected]>
Committed: Thu Apr 21 12:52:54 2016 +0800

----------------------------------------------------------------------
 .../java/org/apache/kylin/storage/hbase/util/CubeMigrationCLI.java  | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kylin/blob/bc46e29a/storage-hbase/src/main/java/org/apache/kylin/storage/hbase/util/CubeMigrationCLI.java
----------------------------------------------------------------------
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 2de7f01..8cedc58 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
@@ -241,6 +241,7 @@ public class CubeMigrationCLI {
         }
 
         for (CubeSegment segment : cube.getSegments()) {
+            metaResource.add(segment.getStatisticsResourcePath());
             dictAndSnapshot.addAll(segment.getSnapshotPaths());
             dictAndSnapshot.addAll(segment.getDictionaryPaths());
         }

Reply via email to