-
Notifications
You must be signed in to change notification settings - Fork 28.6k
[SPARK-12365][CORE] Use ShutdownHookManager where Runtime.getRuntime.addShutdownHook() is called #10325
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Jenkins, test this please |
Looks pretty good |
@srowen |
Test build #47811 has finished for PR 10325 at commit
|
Test build #47812 has finished for PR 10325 at commit
|
For build 47811:
I don't think the above was related to this PR. |
Test build #47817 has finished for PR 10325 at commit
|
I don't think the above is caused by this PR. |
Jenkins, test this please |
Test build #47831 has finished for PR 10325 at commit
|
@@ -24,6 +24,7 @@ import org.apache.spark.deploy.rest.mesos.MesosRestServer | |||
import org.apache.spark.scheduler.cluster.mesos._ | |||
import org.apache.spark.util.SignalLogger | |||
import org.apache.spark.{Logging, SecurityManager, SparkConf} | |||
import org.apache.spark.util.ShutdownHookManager |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you merge this with the on in L25
|
Jenkins, test this please |
Test build #47858 has finished for PR 10325 at commit
|
Merging into master 1.6 |
…addShutdownHook() is called SPARK-9886 fixed ExternalBlockStore.scala This PR fixes the remaining references to Runtime.getRuntime.addShutdownHook() Author: tedyu <yuzhihong@gmail.com> Closes #10325 from ted-yu/master. (cherry picked from commit f590178) Signed-off-by: Andrew Or <andrew@databricks.com> Conflicts: sql/hive-thriftserver/src/main/scala/org/apache/spark/sql/hive/thriftserver/SparkSQLCLIDriver.scala
SPARK-9886 fixed ExternalBlockStore.scala
This PR fixes the remaining references to Runtime.getRuntime.addShutdownHook()