You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Dongjoon Hyun (Jira)" <ji...@apache.org> on 2019/09/29 21:33:00 UTC
[jira] [Assigned] (SPARK-29247) HiveClientImpl may be log sensitive
information
[ https://issues.apache.org/jira/browse/SPARK-29247?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dongjoon Hyun reassigned SPARK-29247:
-------------------------------------
Assignee: angerszhu
> 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
>
> {{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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org