GitHub user sureshthalamati opened a pull request:
https://github.com/apache/spark/pull/10669
[SPARK-12504][SQL] [Backport-1.6] Masking credentials in the sql plan
explain output for JDBC data sources.
Currently credentials in JDBC URL/properties for jdbc data sources are
included in the explain output. This fix removes credentials from the explain
output and show only database table information.
Backporting fix to 1.6 from 2.0 as discussed in PR
https://github.com/apache/spark/pull/10452
CC @marmbrus
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/sureshthalamati/spark
mask_jdbc_credentials_spark_1.6.0-12504
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/10669.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #10669
----
commit 212b4dbf3c3a33c884d019068bdc6eb7fd25190c
Author: sureshthalamati <[email protected]>
Date: 2016-01-09T03:39:12Z
masking jdbc datasource credentials from the plan output
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]