kylin-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lid...@apache.org
Subject [1/3] kylin git commit: minor, register CubeSegment class in SparkCubing kyro
Date Wed, 20 Jan 2016 07:37:05 GMT
Repository: kylin
Updated Branches:
  refs/heads/2.x-staging c077eb4e2 -> c8c652941


minor, register CubeSegment class in SparkCubing kyro


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

Branch: refs/heads/2.x-staging
Commit: 070d42ef64e0f964c12c32b8c2ca601eee803f43
Parents: c077eb4
Author: lidongsjtu <dongli@ebay.com>
Authored: Tue Jan 19 11:27:23 2016 +0800
Committer: lidongsjtu <lidong@apache.org>
Committed: Wed Jan 20 15:33:55 2016 +0800

----------------------------------------------------------------------
 .../src/main/java/org/apache/kylin/engine/spark/SparkCubing.java    | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kylin/blob/070d42ef/engine-spark/src/main/java/org/apache/kylin/engine/spark/SparkCubing.java
----------------------------------------------------------------------
diff --git a/engine-spark/src/main/java/org/apache/kylin/engine/spark/SparkCubing.java b/engine-spark/src/main/java/org/apache/kylin/engine/spark/SparkCubing.java
index 8737173..19da936 100644
--- a/engine-spark/src/main/java/org/apache/kylin/engine/spark/SparkCubing.java
+++ b/engine-spark/src/main/java/org/apache/kylin/engine/spark/SparkCubing.java
@@ -518,6 +518,7 @@ public class SparkCubing extends AbstractApplication {
         kyroClasses.addAll(new Reflections("org.apache.kylin.metadata.model").getSubTypesOf(Object.class));
         kyroClasses.addAll(new Reflections("org.apache.kylin.metadata.measure").getSubTypesOf(Object.class));
         kyroClasses.add(HashMap.class);
+        kyroClasses.add(org.apache.kylin.cube.CubeSegment.class);
         kyroClasses.add(org.apache.spark.sql.Row[].class);
         kyroClasses.add(org.apache.spark.sql.Row.class);
         kyroClasses.add(org.apache.spark.sql.catalyst.expressions.GenericRowWithSchema.class);


Mime
View raw message