[ 
https://issues.apache.org/jira/browse/SPARK-29247?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dongjoon Hyun resolved SPARK-29247.
-----------------------------------
    Fix Version/s: 3.0.0
                   2.4.5
       Resolution: Fixed

Issue resolved by pull request 25954
[https://github.com/apache/spark/pull/25954]

> HiveClientImpl may be log sensitive information
> -----------------------------------------------
>
>                 Key: SPARK-29247
>                 URL: https://issues.apache.org/jira/browse/SPARK-29247
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 3.0.0
>            Reporter: Yuming Wang
>            Assignee: angerszhu
>            Priority: Major
>             Fix For: 2.4.5, 3.0.0
>
>
> {{HiveClientImpl}} may be log sensitive information. e.g. url, secret and 
> token:
> {code:scala}
>       logDebug(
>         s"""
>            |Applying Hadoop/Hive/Spark and extra properties to Hive Conf:
>            |$k=${if (k.toLowerCase(Locale.ROOT).contains("password")) "xxx" 
> else v}
>          """.stripMargin)
> {code}
> We need to redact it. Please refer to {{SQLConf.get.redactOptions}}.
> [https://github.com/apache/spark/blob/c8628354b7d2e6116b2a6eb3bdb2fc957c91fd03/sql/hive/src/main/scala/org/apache/spark/sql/hive/client/HiveClientImpl.scala#L181-L185]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to