GitHub user viirya opened a pull request:
https://github.com/apache/spark/pull/19556
[SPARK-22328][Core] ClosureCleaner should not miss referenced superclass
fields
## What changes were proposed in this pull request?
When the given closure uses some fields defined in super class,
`ClosureCleaner` can't figure them and don't set it properly. Those fields will
be in null values.
## How was this patch tested?
Added test.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/viirya/spark-1 SPARK-22328
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/19556.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 #19556
----
commit 29c5d7301fc3271d723ddd4447c13b61705dcd44
Author: Liang-Chi Hsieh <[email protected]>
Date: 2017-10-23T07:03:32Z
ClosureCleaner should fill referenced superclass fields.
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]