Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Change Seq to Set for passwordProperties
  • Loading branch information
Devian-ua committed Jul 29, 2016
commit e97f89472d466e4dd55e617baa6fa08cd91cbe1f
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ 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",
val passwordProperties: Set[String] = Set("spark.ssl.keyPassword",
"spark.ssl.keyStorePassword", "spark.ssl.trustStorePassword")

def removePass(kv: (String, String)): (String, String) = {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

private? agree with filtering anything whose key has "password" (not case sensitive). Check for other instances where listener.sparkProperties is accessed too?

Expand Down