You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by GitBox <gi...@apache.org> on 2021/02/05 09:01:56 UTC

[GitHub] [kylin] zzcclp commented on a change in pull request #1565: KYLIN-4889, fix spark engine in local mode

zzcclp commented on a change in pull request #1565:
URL: https://github.com/apache/kylin/pull/1565#discussion_r570816220



##########
File path: kylin-spark-project/kylin-spark-query/src/main/scala/org/apache/spark/sql/SparderContext.scala
##########
@@ -177,7 +172,7 @@ object SparderContext extends Logging {
                   .getContextClassLoader
                   .toString)
               initMonitorEnv()
-              System.getProperty("spark.local") match {
+              master match {
                 case "true" =>

Review comment:
       The value of 'master' is 'local' or 'yarn-client', please modify 'case "true"' to 
   ```case mode: String if mode.startsWith("local") =>```




----------------------------------------------------------------
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:
users@infra.apache.org