aboutsummaryrefslogtreecommitdiff
path: root/core/src
diff options
context:
space:
mode:
authorAndrew Ash <andrew@andrewash.com>2014-05-07 17:24:12 -0400
committerReynold Xin <rxin@apache.org>2014-05-07 17:24:12 -0400
commit7f6f4a1035ae0c9fa2029fe991f621ca263d53e0 (patch)
tree933552ec73fd659574ece53d87abdc19672aac4f /core/src
parentca43186867f0120c29d1b27cfee0c7ff4a107d84 (diff)
downloadspark-7f6f4a1035ae0c9fa2029fe991f621ca263d53e0.tar.gz
spark-7f6f4a1035ae0c9fa2029fe991f621ca263d53e0.tar.bz2
spark-7f6f4a1035ae0c9fa2029fe991f621ca263d53e0.zip
Nicer logging for SecurityManager startup
Happy to open a jira ticket if you'd like to track one there. Author: Andrew Ash <andrew@andrewash.com> Closes #678 from ash211/SecurityManagerLogging and squashes the following commits: 2aa0b7a [Andrew Ash] Nicer logging for SecurityManager startup
Diffstat (limited to 'core/src')
-rw-r--r--core/src/main/scala/org/apache/spark/SecurityManager.scala5
1 files changed, 3 insertions, 2 deletions
diff --git a/core/src/main/scala/org/apache/spark/SecurityManager.scala b/core/src/main/scala/org/apache/spark/SecurityManager.scala
index b4b0067801..74aa441619 100644
--- a/core/src/main/scala/org/apache/spark/SecurityManager.scala
+++ b/core/src/main/scala/org/apache/spark/SecurityManager.scala
@@ -146,8 +146,9 @@ private[spark] class SecurityManager(sparkConf: SparkConf) extends Logging {
setViewAcls(defaultAclUsers, sparkConf.get("spark.ui.view.acls", ""))
private val secretKey = generateSecretKey()
- logInfo("SecurityManager, is authentication enabled: " + authOn +
- " are ui acls enabled: " + uiAclsOn + " users with view permissions: " + viewAcls.toString())
+ logInfo("SecurityManager: authentication " + (if (authOn) "enabled" else "disabled") +
+ "; ui acls " + (if (uiAclsOn) "enabled" else "disabled") +
+ "; users with view permissions: " + viewAcls.toString())
// Set our own authenticator to properly negotiate user/password for HTTP connections.
// This is needed by the HTTP client fetching from the HttpServer. Put here so its