zhengshengjun commented on a change in pull request #1523:
URL: https://github.com/apache/kylin/pull/1523#discussion_r549667034
##########
File path:
kylin-spark-project/kylin-spark-engine/src/main/java/org/apache/kylin/engine/spark/job/NSparkExecutable.java
##########
@@ -105,7 +105,7 @@ protected ExecuteResult doWork(ExecutableContext context)
throws ExecuteExceptio
//context.setLogPath(getSparkDriverLogHdfsPath(context.getConfig()));
CubeManager cubeMgr =
CubeManager.getInstance(KylinConfig.getInstanceFromEnv());
CubeInstance cube = cubeMgr.getCube(this.getCubeName());
- KylinConfig config = cube.getConfig();
+ KylinConfig config = KylinConfigExt.createInstance(cube.getConfig(),
cube.getDescriptor().getOverrideKylinProps());
Review comment:
thansks you for your advice ~
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]