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

Multiple tiny AWS related fixes #1083

Merged
merged 2 commits into from
Oct 23, 2020
Merged

Conversation

oavdeev
Copy link
Collaborator

@oavdeev oavdeev commented Oct 21, 2020

  • Fix object path math in client staging uploader
  • Add random suffix to the historical retrieval output location
  • EMR job now actually checks for status
  • add boto3 dep

What this PR does / why we need it:

Which issue(s) this PR fixes:

Fixes #

Does this PR introduce a user-facing change?:

NONE

@oavdeev
Copy link
Collaborator Author

oavdeev commented Oct 21, 2020

/kind bug

sdk/python/setup.py Outdated Show resolved Hide resolved
@@ -912,7 +912,7 @@ def get_historical_features(
else entity_staging_uri.netloc
)
staging_client.upload_file(
df_export_path.name, bucket, entity_staging_uri.path
df_export_path.name, bucket, entity_staging_uri.path.lstrip("/")
Copy link
Collaborator

Choose a reason for hiding this comment

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

shouldn't that strip be part of implementation (GS, s3)?

Copy link
Collaborator Author

@oavdeev oavdeev Oct 22, 2020

Choose a reason for hiding this comment

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

We can put strip into both implementations too (gcp actually has it already). It just goes a bit against S3 (and i suspect GCP) semantics where /a and a are separate objects

Copy link
Collaborator

Choose a reason for hiding this comment

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

I will look into the GCP part again.

@oavdeev oavdeev force-pushed the aws-more-fixes branch 2 times, most recently from a8a4eff to 2b79209 Compare October 22, 2020 07:02
@oavdeev
Copy link
Collaborator Author

oavdeev commented Oct 22, 2020

/retest

@oavdeev
Copy link
Collaborator Author

oavdeev commented Oct 22, 2020

/retest

@khorshuheng
Copy link
Collaborator

/lgtm

@feast-ci-bot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

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

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

* Fix object path math in client staging uploader
* Add random suffix to the historical retrieval output location
* EMR job now actually checks for status
* add boto3 dep

Signed-off-by: Oleg Avdeev <oleg.v.avdeev@gmail.com>
Signed-off-by: Oleg Avdeev <oleg.v.avdeev@gmail.com>
@khorshuheng
Copy link
Collaborator

/lgtm

@khorshuheng
Copy link
Collaborator

/test test-end-to-end-auth

@khorshuheng khorshuheng merged commit d779567 into feast-dev:master Oct 23, 2020
@oavdeev oavdeev deleted the aws-more-fixes branch October 23, 2020 08:56
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.

5 participants