Please sign in to comment.
[SPARK-27244][CORE] Redact Passwords While Using Option logConf=true
When logConf is set to true, config keys that contain password were printed in cleartext in driver log. This change uses the already present redact method in Utils, to redact all the passwords based on redact pattern in SparkConf and then print the conf to driver log thus ensuring that sensitive information like passwords is not printed in clear text. This patch was tested through `SparkConfSuite` & then entire unit test through sbt Please review http://spark.apache.org/contributing.html before opening a pull request. Closes #24196 from ninadingole/SPARK-27244. Authored-by: Ninad Ingole <firstname.lastname@example.org> Signed-off-by: Sean Owen <email@example.com> (cherry picked from commit dbc7ce1) Signed-off-by: Sean Owen <firstname.lastname@example.org>
- Loading branch information...
Showing with 10 additions and 2 deletions.