LuciferYang commented on a change in pull request #33852:
URL: https://github.com/apache/spark/pull/33852#discussion_r699923891
##########
File path: core/src/main/scala/org/apache/spark/api/r/RBackendHandler.scala
##########
@@ -165,7 +165,7 @@ private[r] class RBackendHandler(server: RBackend)
// Write status bit
writeInt(dos, 0)
- writeObject(dos, ret.asInstanceOf[AnyRef], server.jvmObjectTracker)
Review comment:
I found that `master` has same problem
run
```
build/mvn clean install -Phive -Pscala-2.13 -pl core -am
```
or
```
build/mvn clean install -Phive -Pscala-2.13 -pl core -am -Dtest=none
-DwildcardSuites=org.apache.spark.SparkContextSuite
```
Some cases may fail because of `Only one SparkContext should be running in
this JVM (see SPARK-2243).The currently running SparkContext was created at` or
`java.lang.IllegalStateException: Cannot call methods on a stopped SparkContext.
This stopped SparkContext was created at`, but which case fails has a
certain randomness
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]