GitHub user JoshRosen opened a pull request:
https://github.com/apache/spark/pull/11641
[SPARK-13807] De-duplicate `Python*Helper` instantiation code in PySpark
streaming
This patch de-duplicates code in PySpark streaming which loads the
`Python*Helper` classes. I also changed a few `raise e` statements to simply
`raise` in order to preserve the full exception stacktrace when re-throwing.
Here's a link to the whitespace-change-free diff:
https://github.com/apache/spark/compare/master...JoshRosen:pyspark-reflection-deduplication?w=0
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/JoshRosen/spark
pyspark-reflection-deduplication
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/11641.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 #11641
----
commit 4babe1601c91bb9d95f91ffa7c851aa84497e07c
Author: Josh Rosen <[email protected]>
Date: 2016-03-11T00:07:49Z
De-duplicate Kafka helper instantiation code in kafka.py
commit 25b3c799c21bc3a4fc90c344d606a0d4e1384410
Author: Josh Rosen <[email protected]>
Date: 2016-03-11T00:50:25Z
Similar de-duplication in flume.
commit 4504c049ab886f507927b580a86c2af030523ba1
Author: Josh Rosen <[email protected]>
Date: 2016-03-11T00:57:23Z
Preserve original stacktrace in raise.
----
---
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]