-
Notifications
You must be signed in to change notification settings - Fork 360
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
replace lakefs_client with lakefs-sdk in Spark integration test harness #8403
base: master
Are you sure you want to change the base?
replace lakefs_client with lakefs-sdk in Spark integration test harness #8403
Conversation
Hi @mahdikhashan , |
Running CI on #8405; will push that but easier to run CI there. |
Okay, I can run Esti (system tests, including the Spark test affected by this PR). First failure is due to using A guide to running system tests locally is here. This is roughly what you'd need in order to run the Spark test locally - but unfortunately not exactly. |
thanks @arielshaqed, I'll setup the local test env and fix the failing ones asap. |
[...]
Hi @mahdikhashan , |
Thanks for remaining me of this, I got busy with university coursework. I'll dedicate some time on it today (end of the day, vienna time) and move it forward - hopefully I deliver my changes by tomorrow. |
hey @arielshaqed, as you mentioned above, the doc to run the spark tests are poorly written. I have a few questions now: to run the spark tests, I need to have working version of local development setup if lakefs with spark, its worker and postgress in a docker env. I have tried two docker-compose I found in the repo,
for this one I receive:
which the config is: credentials:
access_key_id: AKIAIOSFODNN7EXAMPLE
secret_access_key: wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY
server:
endpoint_url: http://lakefs:8000 could you help me figure out why this config is invalid? I also tried the following config without any success: database:
type: "local"
local:
path: /tmp/lakefs/metadata
auth:
encrypt:
secret_key: "some random value that should be replaced for production environments"
blockstore:
type: local
local:
path: /tmp/lakefs/data
logging:
format: text
level: trace
for this one I receive:
it seems that in looking forward to hearing from you |
otherwise, i fixed this attribute issue: |
Hi @mahdikhashan ,
Your second issue is easier to fix. You need to build an appropriate docker image, since you are in dev. Can you try to |
ok, thanks. I'll follow up from here. will update you. |
Closes #8391
Change Description
Background
Replace lakefs_client (deprecated python client) with the lakefs-sdk (1.43.0).
Bug Fix
Since in the Spark Integration tests the old deprecated client was used, this PR introduces the new python client (LakeFS_sdk).
New Feature
No new feature was added.
Testing Details
Will be added later, right now I'm struggling with running the docker-compose which contains the testing environment on my local machine.
Breaking Change?
No Breaking changes.
Additional info
Logs, outputs, screenshots of changes if applicable (CLI / GUI changes)
Contact Details
You can contact me here or by myemail: [email protected]