Github user ajbozarth commented on a diff in the pull request:
https://github.com/apache/spark/pull/14409#discussion_r72856642
--- Diff: core/src/main/scala/org/apache/spark/ui/env/EnvironmentPage.scala
---
@@ -25,12 +25,20 @@ import org.apache.spark.ui.{UIUtils, WebUIPage}
private[ui] class EnvironmentPage(parent: EnvironmentTab) extends
WebUIPage("") {
private val listener = parent.listener
-
+ val passwordProperties: Seq[String] = Seq("spark.ssl.keyPassword",
+ "spark.ssl.keyStorePassword", "spark.ssl.trustStorePassword")
+
+ def removePass(kv: (String, String)): (String, String) = {
+ if (passwordProperties.contains(kv._1)) {
--- End diff --
Based on @srowen suggestion in the JIRA, maybe we should do a substring
check for any prop with "password" in it, that could make this more of a
generic check. Or is there a prop with "password" in it that we wouldn't want
to obfuscate?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]