GitHub user BryanCutler opened a pull request:
https://github.com/apache/spark/pull/13898
[SPARK-16197][PYSPARK] Cleanup of Status Example and API
## What changes were proposed in this pull request?
Changed PySpark Status API example to use SparkSession. Cleanup of Status
API to use 'pass' and 'return None' where appropriate.
## How was this patch tested?
Ran example and local tests.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/BryanCutler/spark
pyspark-cleanup-status-api-SPARK-16197
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/13898.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 #13898
----
commit 7ed45550210808ddde460d04274447f4c31e0a3b
Author: Bryan Cutler <[email protected]>
Date: 2016-06-24T21:17:34Z
Changing Status API example to use SparkSession
commit 80b9cfcfa238c30eca36a4d7c60916e4d5f998c4
Author: Bryan Cutler <[email protected]>
Date: 2016-06-24T21:18:45Z
Cleanup of Status API to use 'pass' for empty classes and return 'None' for
get methods
----
---
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]