-
Notifications
You must be signed in to change notification settings - Fork 60
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
GCS Object Store Interface #88
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! Can you add another if clause to the skylark cp
command to copy objects GCS -> disk and disk -> GCS?
skylark/obj_store/gcs_interface.py
Outdated
|
||
|
||
class GCSInterface(ObjectStoreInterface): | ||
def __init__(self, gcp_region, bucket_name, use_tls=True, part_size=None, throughput_target_gbps=None): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since use_tls, part_size and throughput_target_gbps aren't used with GCS, take them out.
85b19d7
to
38c7647
Compare
I added the conditions and methods for |
Integrate gateway/replicator with GCSInterface from #88, and complete implementing GCSInterface methods (e.g. returning futures for uploading/downloading objects).
commit 137d538 Author: Paras Jain <[email protected]> Date: Mon Jan 24 23:03:37 2022 +0000 clean notebook commit 481f5bc Author: Paras Jain <[email protected]> Date: Mon Jan 24 20:34:27 2022 +0000 more changes commit 84cfc28 Author: Paras Jain <[email protected]> Date: Sat Jan 22 20:10:18 2022 +0000 TODOs for solver commit 8c7b2cf Author: Paras Jain <[email protected]> Date: Sat Jan 22 04:38:31 2022 +0000 update commit 473f088 Author: Paras Jain <[email protected]> Date: Sat Jan 22 04:28:31 2022 +0000 Fixes commit 755dd74 Author: Paras Jain <[email protected]> Date: Fri Jan 21 22:30:34 2022 -0500 Add missing eu-central-1 pair commit 7ec967f Author: Paras Jain <[email protected]> Date: Fri Jan 21 22:21:47 2022 -0500 Add AWS transfer costs commit c49bca1 Author: Paras Jain <[email protected]> Date: Fri Jan 21 15:49:43 2022 +0000 reformat commit 301e13f Author: Paras Jain <[email protected]> Date: Fri Jan 21 10:04:21 2022 -0500 Scale costs by number of instances commit de86b77 Author: Sarah Wooders <[email protected]> Date: Mon Jan 24 14:46:44 2022 -0800 `GCSInterface` integration with gateway + replicator (#91) Integrate gateway/replicator with GCSInterface from #88, and complete implementing GCSInterface methods (e.g. returning futures for uploading/downloading objects). commit 0d6e63a Author: Paras Jain <[email protected]> Date: Mon Jan 24 14:32:41 2022 -0800 Revert GCS interface changes due to merge conflict
commit c8f6160 Author: Paras Jain <[email protected]> Date: Mon Jan 24 23:05:05 2022 +0000 Squashed commit of the following: commit 137d538 Author: Paras Jain <[email protected]> Date: Mon Jan 24 23:03:37 2022 +0000 clean notebook commit 481f5bc Author: Paras Jain <[email protected]> Date: Mon Jan 24 20:34:27 2022 +0000 more changes commit 84cfc28 Author: Paras Jain <[email protected]> Date: Sat Jan 22 20:10:18 2022 +0000 TODOs for solver commit 8c7b2cf Author: Paras Jain <[email protected]> Date: Sat Jan 22 04:38:31 2022 +0000 update commit 473f088 Author: Paras Jain <[email protected]> Date: Sat Jan 22 04:28:31 2022 +0000 Fixes commit 755dd74 Author: Paras Jain <[email protected]> Date: Fri Jan 21 22:30:34 2022 -0500 Add missing eu-central-1 pair commit 7ec967f Author: Paras Jain <[email protected]> Date: Fri Jan 21 22:21:47 2022 -0500 Add AWS transfer costs commit c49bca1 Author: Paras Jain <[email protected]> Date: Fri Jan 21 15:49:43 2022 +0000 reformat commit 301e13f Author: Paras Jain <[email protected]> Date: Fri Jan 21 10:04:21 2022 -0500 Scale costs by number of instances commit de86b77 Author: Sarah Wooders <[email protected]> Date: Mon Jan 24 14:46:44 2022 -0800 `GCSInterface` integration with gateway + replicator (#91) Integrate gateway/replicator with GCSInterface from #88, and complete implementing GCSInterface methods (e.g. returning futures for uploading/downloading objects). commit 0d6e63a Author: Paras Jain <[email protected]> Date: Mon Jan 24 14:32:41 2022 -0800 Revert GCS interface changes due to merge conflict
Partially implemented
GCSInterface
added as an option for testing the replicator, and test scripttest_gcs_interface.py
.Note: Not all the object store interface functions have been implemented, and the gateway daemon still only works with S3. We can merge now or wait until the gateway integration is done.