GitHub user srowen opened a pull request:
https://github.com/apache/spark/pull/19123
[SPARK-21418][SQL] NoSuchElementException: None.get in DataSourceScanExec
with sun.io.serialization.extendedDebugInfo=true
## What changes were proposed in this pull request?
If no SparkConf is available to Utils.redact, simply don't redact.
## How was this patch tested?
Existing tests
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/srowen/spark SPARK-21418
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/19123.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 #19123
----
commit 735ca949e042493632d297db23286a8f8f83a6ed
Author: Sean Owen <[email protected]>
Date: 2017-09-04T17:32:00Z
Don't fail with NPE in corner case where Utils.redact happens outside
active session
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]