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

Optional IngestionJob parameters passed by Spark Launcher #1130

Merged
merged 22 commits into from
Nov 4, 2020

Conversation

pyalex
Copy link
Collaborator

@pyalex pyalex commented Nov 4, 2020

Signed-off-by: Oleksii Moskalenko moskalenko.alexey@gmail.com

What this PR does / why we need it:

  1. SDK / JobService should be able to configure statsd, deadletterPath and stencilURL optional parameters of IngestionJobs.

  2. Non-default project passed to Job via SDK / JobService

Which issue(s) this PR fixes:

Fixes #

Does this PR introduce a user-facing change?:


@pyalex pyalex changed the title Optional IngestionJob parameters passed by SDK Optional IngestionJob parameters passed by Spark Launcher Nov 4, 2020
@pyalex
Copy link
Collaborator Author

pyalex commented Nov 4, 2020

/test test-end-to-end-gcp

Signed-off-by: Oleksii Moskalenko <moskalenko.alexey@gmail.com>
Signed-off-by: Oleksii Moskalenko <moskalenko.alexey@gmail.com>
Signed-off-by: Oleksii Moskalenko <moskalenko.alexey@gmail.com>
Signed-off-by: Oleksii Moskalenko <moskalenko.alexey@gmail.com>
Signed-off-by: Oleksii Moskalenko <moskalenko.alexey@gmail.com>
sdk/python/feast/constants.py Outdated Show resolved Hide resolved
Signed-off-by: Oleksii Moskalenko <moskalenko.alexey@gmail.com>
sdk/python/feast/constants.py Outdated Show resolved Hide resolved
Signed-off-by: Oleksii Moskalenko <moskalenko.alexey@gmail.com>
Signed-off-by: Oleksii Moskalenko <moskalenko.alexey@gmail.com>
Signed-off-by: Oleksii Moskalenko <moskalenko.alexey@gmail.com>
Signed-off-by: Oleksii Moskalenko <moskalenko.alexey@gmail.com>
Signed-off-by: Oleksii Moskalenko <moskalenko.alexey@gmail.com>
Signed-off-by: Oleksii Moskalenko <moskalenko.alexey@gmail.com>
Signed-off-by: Oleksii Moskalenko <moskalenko.alexey@gmail.com>
Signed-off-by: Oleksii Moskalenko <moskalenko.alexey@gmail.com>
Signed-off-by: Oleksii Moskalenko <moskalenko.alexey@gmail.com>
Signed-off-by: Oleksii Moskalenko <moskalenko.alexey@gmail.com>
Signed-off-by: Oleksii Moskalenko <moskalenko.alexey@gmail.com>
Signed-off-by: Oleksii Moskalenko <moskalenko.alexey@gmail.com>
@pyalex
Copy link
Collaborator Author

pyalex commented Nov 4, 2020

/test test-end-to-end-gcp

FEAST_SPARK_STAGING_LOCATION: file:///shared/staging
FEAST_HISTORICAL_FEATURE_OUTPUT_LOCATION: file:///shared/historical_feature_output
FEAST_HISTORICAL_FEATURE_OUTPUT_FORMAT: parquet
FEAST_REDIS_HOST: redis
Copy link
Member

Choose a reason for hiding this comment

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

Do we need a port?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

FEAST_REDIS_PORT is a separate options, and its default value 6379 was not changed in this case. So I believe it was omitted to save 1 line)

@@ -27,4 +27,4 @@ RUN wget -q https://github.com/grpc-ecosystem/grpc-health-probe/releases/downloa
-O /usr/bin/grpc-health-probe && \
chmod +x /usr/bin/grpc-health-probe

CMD ["feast", "server"]
CMD ["python", "-m", "feast.cli", "server"]
Copy link
Member

Choose a reason for hiding this comment

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

Any reason for this change?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

container was failing with

pkg_resources.DistributionNotFound: The 'Click==7.*' distribution was not found and is required by feast

It could be due to any reason, since it's conda.

sdk/python/feast/client.py Outdated Show resolved Hide resolved
Signed-off-by: Oleksii Moskalenko <moskalenko.alexey@gmail.com>
@pyalex
Copy link
Collaborator Author

pyalex commented Nov 4, 2020

/test test-end-to-end

Signed-off-by: Oleksii Moskalenko <moskalenko.alexey@gmail.com>
@feast-ci-bot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

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

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

@woop
Copy link
Member

woop commented Nov 4, 2020

/lgtm

@pyalex
Copy link
Collaborator Author

pyalex commented Nov 4, 2020

/test test-end-to-end-gcp

Signed-off-by: Oleksii Moskalenko <moskalenko.alexey@gmail.com>
@feast-ci-bot feast-ci-bot removed the lgtm label Nov 4, 2020
@feast-ci-bot
Copy link
Collaborator

New changes are detected. LGTM label has been removed.

Signed-off-by: Oleksii Moskalenko <moskalenko.alexey@gmail.com>
@pyalex
Copy link
Collaborator Author

pyalex commented Nov 4, 2020

/test test-end-to-end-aws

@feast-ci-bot
Copy link
Collaborator

feast-ci-bot commented Nov 4, 2020

@pyalex: The following test failed, say /retest to rerun them all:

Test name Commit Details Rerun command
test-end-to-end-aws e5903d0 link /test test-end-to-end-aws

Full PR test history

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

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

Successfully merging this pull request may close these issues.

3 participants