You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2019/03/25 02:52:31 UTC

[GitHub] [spark] ninadingole opened a new pull request #24196: [SPARK-27244][CORE] Redact Passwords While Using Option logConf=true

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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org