huage1994 commented on a change in pull request #4267: URL: https://github.com/apache/zeppelin/pull/4267#discussion_r754902297
########## File path: spark/interpreter/src/main/java/org/apache/zeppelin/spark/SparkInterpreter.java ########## @@ -252,20 +253,28 @@ public SparkVersion getSparkVersion() { return sparkVersion; } - private String extractScalaVersion() throws InterpreterException { - String scalaVersionString = scala.util.Properties.versionString(); + private String extractScalaVersion(SparkConf conf) throws InterpreterException { + String scalaVersionString; + if (conf.contains("zeppelin.spark.scala.version")) { Review comment: Thanks for the review @zjffdu. I've added comment. -- 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. To unsubscribe, e-mail: dev-unsubscr...@zeppelin.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org