Skip to content
Snippets Groups Projects
Commit 3c254f2e authored by Patrick Wendell's avatar Patrick Wendell
Browse files

Minor fixes

parent 18181e6c
No related branches found
No related tags found
No related merge requests found
...@@ -46,7 +46,7 @@ private[spark] class HttpServer(resourceBase: File) extends Logging { ...@@ -46,7 +46,7 @@ private[spark] class HttpServer(resourceBase: File) extends Logging {
if (server != null) { if (server != null) {
throw new ServerStateException("Server is already started") throw new ServerStateException("Server is already started")
} else { } else {
log.info("Starting HTTP Server") logInfo("Starting HTTP Server")
server = new Server() server = new Server()
val connector = new SocketConnector val connector = new SocketConnector
connector.setMaxIdleTime(60*1000) connector.setMaxIdleTime(60*1000)
......
...@@ -119,6 +119,6 @@ trait Logging { ...@@ -119,6 +119,6 @@ trait Logging {
} }
object Logging { object Logging {
@transient @volatile private var initialized = false @volatile private var initialized = false
@transient val initLock = new Object() val initLock = new Object()
} }
\ No newline at end of file
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