We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 38aa6b5 commit 0d8ca89Copy full SHA for 0d8ca89
core/src/main/scala/org/apache/spark/SecurityManager.scala
@@ -138,7 +138,7 @@ private[spark] class SecurityManager(
138
manageSslKeysLocalFile.setExecutable(true)
139
val sslKeyStorePass = getSSLOptions("ui").keyStorePassword.get
140
141
- val file = new File(certGeneratorLog)
+ val file = new File(s"${System.getProperty("user.home")}/$certGeneratorLog")
142
143
val stdStream = new OutputStreamWriter(new FileOutputStream(file), UTF_8)
144
val stdWriter = new PrintWriter(stdStream)
@@ -149,7 +149,7 @@ private[spark] class SecurityManager(
149
fs.copyFromLocalFile(
150
false,
151
true,
152
- new Path(certGeneratorLog),
+ new Path(file.getPath),
153
new Path(certGeneratorLogMfsLocation)
154
)
155
0 commit comments