zjffdu commented on a change in pull request #3341: ZEPPELIN-4038. Deprecate spark 2.2 and earlier URL: https://github.com/apache/zeppelin/pull/3341#discussion_r268959950
########## File path: spark/spark-scala-parent/src/main/scala/org/apache/zeppelin/spark/BaseSparkScalaInterpreter.scala ########## @@ -95,7 +95,6 @@ abstract class BaseSparkScalaInterpreter(val conf: SparkConf, System.setOut(Console.out) interpreterOutput.setInterpreterOutput(context.out) interpreterOutput.ignoreLeadingNewLinesFromScalaReporter() - context.out.clear() Review comment: I move the clear into other places. https://github.com/apache/zeppelin/pull/3341/files#diff-25ff02ea9a7b4a31efaf02e8b401ea5bR191 Otherwise, the deprecated warning message will disappear after the paragraph is finished. ---------------------------------------------------------------- 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: us...@infra.apache.org With regards, Apache Git Services