ninadingole opened a new pull request #24196: [SPARK-27244][CORE] Redact 
Passwords While Using Option logConf=true
URL: https://github.com/apache/spark/pull/24196
 
 
   ## What changes were proposed in this pull request?
   
   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. 
   
   ## How was this patch tested?
   Unit test through sbt
   and then `./dev/run-tests`
   
   Please review http://spark.apache.org/contributing.html before opening a 
pull request.
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to