Skip to content
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

Implement list job and get job methods for Dataproc launcher #1106

Merged
merged 7 commits into from
Nov 3, 2020

Conversation

khorshuheng
Copy link
Collaborator

Signed-off-by: Khor Shu Heng [email protected]

What this PR does / why we need it:
get_by_id and list_jobs methods were added to the launcher interface on #1095, but was not implemented for Dataproc launcher. This PR provides the implementation.

Which issue(s) this PR fixes:

Fixes #

Does this PR introduce a user-facing change?:


status = self.block_polling(timeout_sec=timeout_sec)
if status == SparkJobStatus.COMPLETED:
return self._output_file_uri
raise SparkJobFailure("Job fails")
Copy link
Member

@woop woop Oct 28, 2020

Choose a reason for hiding this comment

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

job fails? is that the only information we provide?

@woop
Copy link
Member

woop commented Oct 28, 2020

@khorshuheng where can I see the tests that validate whether these methods work?

@khorshuheng
Copy link
Collaborator Author

khorshuheng commented Oct 28, 2020

@khorshuheng where can I see the tests that validate whether these methods work?

Once we expose list job and get job method on Feast client, we can add tests for them under end to end test. Alternatively, this would be covered when we add Job service to the end to end test, since job service will use this two method.

@feast-ci-bot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: khorshuheng, pyalex

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@pyalex
Copy link
Collaborator

pyalex commented Nov 3, 2020

/lgtm

@feast-ci-bot feast-ci-bot merged commit 3a634cf into feast-dev:master Nov 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants