diff options
author | Matei Zaharia <matei@eecs.berkeley.edu> | 2013-08-31 22:17:46 -0700 |
---|---|---|
committer | Matei Zaharia <matei@eecs.berkeley.edu> | 2013-09-01 14:13:15 -0700 |
commit | 12495ec63ab56e4352bc466ac37c95921f685dc3 (patch) | |
tree | eeafc81e6b9892de31a2050a4112b165e2fdfeb0 | |
parent | 4f422032e507d698b9c717b5228154d4527a639a (diff) | |
download | spark-12495ec63ab56e4352bc466ac37c95921f685dc3.tar.gz spark-12495ec63ab56e4352bc466ac37c95921f685dc3.tar.bz2 spark-12495ec63ab56e4352bc466ac37c95921f685dc3.zip |
Remove shutdown hook to stop jetty; this is unnecessary for releasing
ports and creates noisy log messages
-rw-r--r-- | core/src/main/scala/org/apache/spark/ui/JettyUtils.scala | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/core/src/main/scala/org/apache/spark/ui/JettyUtils.scala b/core/src/main/scala/org/apache/spark/ui/JettyUtils.scala index cfa18f6ea4..7211dbc7c6 100644 --- a/core/src/main/scala/org/apache/spark/ui/JettyUtils.scala +++ b/core/src/main/scala/org/apache/spark/ui/JettyUtils.scala @@ -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() |