Skip to content

Optional IngestionJob parameters passed by Spark Launcher - #1130

Merged
pyalex merged 22 commits into
feast-dev:masterfrom
pyalex:optional-job-options
Nov 4, 2020
Merged

Optional IngestionJob parameters passed by Spark Launcher#1130
pyalex merged 22 commits into
feast-dev:masterfrom
pyalex:optional-job-options

Conversation

@pyalex

@pyalex pyalex commented Nov 4, 2020

Copy link
Copy Markdown
Collaborator

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

pyalex commented Nov 4, 2020

Copy link
Copy Markdown
Collaborator Author

/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>
@pyalex
pyalex force-pushed the optional-job-options branch from ff95b5a to 5c2e162 Compare November 4, 2020 05:38
Signed-off-by: Oleksii Moskalenko <moskalenko.alexey@gmail.com>
Comment thread sdk/python/feast/constants.py Outdated
Signed-off-by: Oleksii Moskalenko <moskalenko.alexey@gmail.com>
Comment thread sdk/python/feast/constants.py Outdated
pyalex added 10 commits November 4, 2020 14:39
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

pyalex commented Nov 4, 2020

Copy link
Copy Markdown
Collaborator Author

/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
Copy Markdown
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
Copy Markdown
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)

chmod +x /usr/bin/grpc-health-probe

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

Copy link
Copy Markdown
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
Copy Markdown
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.

Comment thread sdk/python/feast/client.py Outdated
Comment thread sdk/python/feast/job_service.py
Signed-off-by: Oleksii Moskalenko <moskalenko.alexey@gmail.com>
@pyalex

pyalex commented Nov 4, 2020

Copy link
Copy Markdown
Collaborator Author

/test test-end-to-end

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

Copy link
Copy Markdown
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

Details 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

woop commented Nov 4, 2020

Copy link
Copy Markdown
Member

/lgtm

@pyalex

pyalex commented Nov 4, 2020

Copy link
Copy Markdown
Collaborator Author

/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
Copy Markdown
Collaborator

New changes are detected. LGTM label has been removed.

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

pyalex commented Nov 4, 2020

Copy link
Copy Markdown
Collaborator Author

/test test-end-to-end-aws

@feast-ci-bot

feast-ci-bot commented Nov 4, 2020

Copy link
Copy Markdown
Collaborator

@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

Details

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