aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorPatrick Wendell <pwendell@gmail.com>2013-12-30 23:55:33 -0800
committerPatrick Wendell <pwendell@gmail.com>2013-12-30 23:55:33 -0800
commit3c254f2eec87fbb9de4589816102245e01b0d42c (patch)
tree9552c4d87c78ea4d8f9555f5e6c93b9fc49fc888 /core
parent18181e6c4120b04d125aa99a1ac63e5e7b2c0e3d (diff)
downloadspark-3c254f2eec87fbb9de4589816102245e01b0d42c.tar.gz
spark-3c254f2eec87fbb9de4589816102245e01b0d42c.tar.bz2
spark-3c254f2eec87fbb9de4589816102245e01b0d42c.zip
Minor fixes
Diffstat (limited to 'core')
-rw-r--r--core/src/main/scala/org/apache/spark/HttpServer.scala2
-rw-r--r--core/src/main/scala/org/apache/spark/Logging.scala4
2 files changed, 3 insertions, 3 deletions
diff --git a/core/src/main/scala/org/apache/spark/HttpServer.scala b/core/src/main/scala/org/apache/spark/HttpServer.scala
index 240f32efaf..69a738dc44 100644
--- a/core/src/main/scala/org/apache/spark/HttpServer.scala
+++ b/core/src/main/scala/org/apache/spark/HttpServer.scala
@@ -46,7 +46,7 @@ private[spark] class HttpServer(resourceBase: File) extends Logging {
if (server != null) {
throw new ServerStateException("Server is already started")
} else {
- log.info("Starting HTTP Server")
+ logInfo("Starting HTTP Server")
server = new Server()
val connector = new SocketConnector
connector.setMaxIdleTime(60*1000)
diff --git a/core/src/main/scala/org/apache/spark/Logging.scala b/core/src/main/scala/org/apache/spark/Logging.scala
index 1fdbccdec6..6054adb52e 100644
--- a/core/src/main/scala/org/apache/spark/Logging.scala
+++ b/core/src/main/scala/org/apache/spark/Logging.scala
@@ -119,6 +119,6 @@ trait Logging {
}
object Logging {
- @transient @volatile private var initialized = false
- @transient val initLock = new Object()
+ @volatile private var initialized = false
+ val initLock = new Object()
} \ No newline at end of file