zjffdu commented on a change in pull request #3523: [ZEPPELIN-4326][spark]Spark
Interpreter restart failed when no suffic…
URL: https://github.com/apache/zeppelin/pull/3523#discussion_r349926965
##########
File path:
spark/spark-scala-parent/src/main/scala/org/apache/zeppelin/spark/BaseSparkScalaInterpreter.scala
##########
@@ -164,6 +164,8 @@ abstract class BaseSparkScalaInterpreter(val conf:
SparkConf,
if (BaseSparkScalaInterpreter.sessionNum.decrementAndGet() == 0) {
if (sc != null) {
sc.stop()
+ }else {
+ System.exit(1)
Review comment:
@MOBIN-F What do you mean ? Do you mean system.exit could not resolve this
issue ?
----------------------------------------------------------------
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]
With regards,
Apache Git Services