Skip to content

[SPARK-4172] [PySpark] Progress API in Python #3027

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 8 commits into from

Conversation

davies
Copy link
Contributor

@davies davies commented Oct 30, 2014

This patch bring the pull based progress API into Python, also a example in Python.

@SparkQA
Copy link

SparkQA commented Oct 30, 2014

Test build #22573 has started for PR 3027 at commit c0f1021.

  • This patch merges cleanly.

@SparkQA
Copy link

SparkQA commented Oct 31, 2014

Test build #22573 has finished for PR 3027 at commit c0f1021.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@AmplabJenkins
Copy link

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/22573/
Test PASSed.

@JoshRosen
Copy link
Contributor

I think maybe you meant to link to a different JIRA?

@davies davies changed the title [SPARK-2312] [PySpark] Progress API in Python [SPARK-4172] [PySpark] Progress API in Python Oct 31, 2014
@davies
Copy link
Contributor Author

davies commented Nov 7, 2014

@JoshRosen I had created a new JIRA for it.

@SparkQA
Copy link

SparkQA commented Nov 16, 2014

Test build #522 has started for PR 3027 at commit c0f1021.

  • This patch merges cleanly.

@SparkQA
Copy link

SparkQA commented Nov 16, 2014

Test build #522 has finished for PR 3027 at commit c0f1021.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@davies davies changed the title [SPARK-4172] [PySpark] Progress API in Python [WIP][SPARK-4172] [PySpark] Progress API in Python Nov 19, 2014
@davies davies changed the title [WIP][SPARK-4172] [PySpark] Progress API in Python [SPARK-4172] [PySpark] Progress API in Python Nov 19, 2014
@davies
Copy link
Contributor Author

davies commented Nov 19, 2014

@JoshRosen How does this look to you?

@SparkQA
Copy link

SparkQA commented Nov 19, 2014

Test build #23628 has started for PR 3027 at commit 25590c9.

  • This patch merges cleanly.

@SparkQA
Copy link

SparkQA commented Nov 19, 2014

Test build #23628 has finished for PR 3027 at commit 25590c9.

  • This patch fails MiMa tests.
  • This patch merges cleanly.
  • This patch adds the following public classes (experimental):
    • class SparkJobInfo(namedtuple("SparkJobInfo", "jobId stageIds status")):
    • class SparkStageInfo(namedtuple("SparkStageInfo",
    • class StatusTracker(object):

@AmplabJenkins
Copy link

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/23628/
Test FAILed.

@SparkQA
Copy link

SparkQA commented Nov 24, 2014

Test build #534 has started for PR 3027 at commit 25590c9.

  • This patch merges cleanly.

@SparkQA
Copy link

SparkQA commented Nov 24, 2014

Test build #534 has finished for PR 3027 at commit 25590c9.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds the following public classes (experimental):
    • class SparkJobInfo(namedtuple("SparkJobInfo", "jobId stageIds status")):
    • class SparkStageInfo(namedtuple("SparkStageInfo",
    • class StatusTracker(object):

Conflicts:
	python/pyspark/__init__.py
	python/pyspark/context.py
@SparkQA
Copy link

SparkQA commented Jan 29, 2015

Test build #26342 has started for PR 3027 at commit 969fa9d.

  • This patch merges cleanly.

@SparkQA
Copy link

SparkQA commented Jan 30, 2015

Test build #26342 has finished for PR 3027 at commit 969fa9d.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds the following public classes (experimental):
    • class SparkJobInfo(namedtuple("SparkJobInfo", "jobId stageIds status")):
    • class SparkStageInfo(namedtuple("SparkStageInfo",
    • class StatusTracker(object):

@AmplabJenkins
Copy link

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/26342/
Test PASSed.

@SparkQA
Copy link

SparkQA commented Feb 17, 2015

Test build #27614 has started for PR 3027 at commit d3b9253.

  • This patch merges cleanly.

@SparkQA
Copy link

SparkQA commented Feb 17, 2015

Test build #27614 has finished for PR 3027 at commit d3b9253.

  • This patch fails Scala style tests.
  • This patch merges cleanly.
  • This patch adds the following public classes (experimental):
    • class SparkJobInfo(namedtuple("SparkJobInfo", "jobId stageIds status")):
    • class SparkStageInfo(namedtuple("SparkStageInfo",
    • class StatusTracker(object):

@AmplabJenkins
Copy link

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/27614/
Test FAILed.

@JoshRosen
Copy link
Contributor

Looks like this failed due to Scala style issues due to a few long lines.

@davies
Copy link
Contributor Author

davies commented Feb 17, 2015

@JoshRosen I fixed it locally, but forgot to push out.

@SparkQA
Copy link

SparkQA commented Feb 17, 2015

Test build #612 has started for PR 3027 at commit d3b9253.

  • This patch merges cleanly.

if (serializedData != null && serializedData.limit() > 0) {
reason = serializer.get().deserialize[TaskEndReason](
serializedData, Utils.getSparkClassLoader)
try {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not related change, it mute the exception when you cancel a job.

@SparkQA
Copy link

SparkQA commented Feb 17, 2015

Test build #27637 has started for PR 3027 at commit b1ba984.

  • This patch merges cleanly.

@SparkQA
Copy link

SparkQA commented Feb 17, 2015

Test build #612 has finished for PR 3027 at commit d3b9253.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds the following public classes (experimental):
    • class SparkJobInfo(namedtuple("SparkJobInfo", "jobId stageIds status")):
    • class SparkStageInfo(namedtuple("SparkStageInfo",
    • class StatusTracker(object):

@SparkQA
Copy link

SparkQA commented Feb 17, 2015

Test build #27637 has finished for PR 3027 at commit b1ba984.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds the following public classes (experimental):
    • class SparkJobInfo(namedtuple("SparkJobInfo", "jobId stageIds status")):
    • class SparkStageInfo(namedtuple("SparkStageInfo",
    • class StatusTracker(object):

@AmplabJenkins
Copy link

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/27637/
Test PASSed.

@JoshRosen
Copy link
Contributor

LGTM, so I'm going to merge this into master (1.4.0) and branch-1.3 (1.3.0). Thanks!

asfgit pushed a commit that referenced this pull request Feb 17, 2015
This patch bring the pull based progress API into Python, also a example in Python.

Author: Davies Liu <[email protected]>

Closes #3027 from davies/progress_api and squashes the following commits:

b1ba984 [Davies Liu] fix style
d3b9253 [Davies Liu] add tests, mute the exception after stop
4297327 [Davies Liu] Merge branch 'master' of github.com:apache/spark into progress_api
969fa9d [Davies Liu] Merge branch 'master' of github.com:apache/spark into progress_api
25590c9 [Davies Liu] update with Java API
360de2d [Davies Liu] Merge branch 'master' of github.com:apache/spark into progress_api
c0f1021 [Davies Liu] Merge branch 'master' of github.com:apache/spark into progress_api
023afb3 [Davies Liu] add Python API and example for progress API

(cherry picked from commit 445a755)
Signed-off-by: Josh Rosen <[email protected]>
@asfgit asfgit closed this in 445a755 Feb 17, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants