Skip to content
Snippets Groups Projects
Commit 12495ec6 authored by Matei Zaharia's avatar Matei Zaharia
Browse files

Remove shutdown hook to stop jetty; this is unnecessary for releasing

ports and creates noisy log messages
parent 4f422032
No related branches found
No related tags found
No related merge requests found
......@@ -117,7 +117,6 @@ private[spark] object JettyUtils extends Logging {
Try { server.start() } match {
case s: Success[_] =>
sys.addShutdownHook(server.stop()) // Be kind, un-bind
(server, server.getConnectors.head.getLocalPort)
case f: Failure[_] =>
server.stop()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment