Giuseppe Barbieri
02/07/2024, 11:32 AMfailed to create repository: found lakeFS objects in the storage namespace(s3://example) key(_lakefs/dummy): storage namespace already in use
Niro
02/07/2024, 12:21 PMNiro
02/07/2024, 12:42 PMGiuseppe Barbieri
02/07/2024, 1:40 PMNiro
02/07/2024, 1:55 PMGiuseppe Barbieri
02/07/2024, 1:55 PMGiuseppe Barbieri
02/07/2024, 2:05 PMNiro
02/07/2024, 2:09 PMNiro
02/07/2024, 2:09 PMdata
volume for that matterGiuseppe Barbieri
02/07/2024, 2:10 PMIn that case I would recommend creating a volume for the lakeFS metadata and setting the LAKEFS_DATABASE_LOCAL_PATH to that volumedo you mean in MinIO?
Niro
02/07/2024, 2:10 PMGiuseppe Barbieri
02/07/2024, 2:11 PMdata
is already there?Niro
02/07/2024, 2:11 PMGiuseppe Barbieri
02/07/2024, 2:11 PM<s3://data>
or something like that?Niro
02/07/2024, 2:13 PMGiuseppe Barbieri
02/07/2024, 2:13 PMNiro
02/07/2024, 2:14 PMNiro
02/07/2024, 2:19 PMGiuseppe Barbieri
02/13/2024, 10:48 AMbucket0
) and an user (`username`/`password`) in MinIO
⢠created config.yaml
in the extracted LakeFS binary folder
and now I'm running
elect@5800x:~/Documents/lakeFS_1.10.0_Linux_x86_64$ ./lakefs run --quickstart
WARNING!
Using quickstart parameters configuration. This is suitable only for testing! It is NOT SUPPORTED for production.
FATAL: quickstart mode can only run with local settings
if I omit --quickstart
, this is my output and config fileNiro
02/13/2024, 10:51 AMlakefs run --quickstart
Do you require postgres and Mino for your POC?Giuseppe Barbieri
02/13/2024, 10:52 AMNiro
02/13/2024, 10:53 AMGiuseppe Barbieri
02/13/2024, 11:16 AM_lakefs_actions/dataset.yml
name: Dataset
description: This webhook ensures that a DATASET.json should be present
on:
pre-commit:
branches:
- "*"
hooks:
- id: dataset_validator
type: webhook
description: Validate DATASET.json
properties:
url: "<http://0.0.0.0:8080/webhooks/format>"
pre-commit hook aborted, run id '5dkkpg2pdakjvr75sb7g': 1 error occurred: * hook run id '0000_0000' failed on action 'Dataset' hook 'dataset_validator': webhook request failed (status code: 405)
Giuseppe Barbieri
02/13/2024, 11:18 AMGiuseppe Barbieri
02/13/2024, 11:19 AMNiro
02/13/2024, 12:39 PMThe HTTP 405 status code indicates that the server has received your request, but the resource you are requesting doesn't support the request method. This may occur if you're using an incorrect method or the server is configured to disallow the said method.
Giuseppe Barbieri
02/13/2024, 1:51 PMGET
, I'm doing on POST
now and it seems fine, commits get throughNiro
02/13/2024, 1:52 PMGiuseppe Barbieri
02/13/2024, 1:57 PMAriel Shaqed (Scolnicov)
02/13/2024, 2:11 PMAriel Shaqed (Scolnicov)
02/13/2024, 2:14 PMGiuseppe Barbieri
02/13/2024, 2:21 PMfun main() {
embeddedServer(Netty, port = 8080, host = "0.0.0.0", module = Application::module)
.start(wait = true)
}
fun Application.module() {
configureRouting()
}
fun Application.configureRouting() {
routing {
post("/webhooks/format") {
call.respondText("ciao")
}
}
}
Ariel Shaqed (Scolnicov)
02/13/2024, 2:34 PMthanks, can I use the LakeFS to connect to a LakeFS instance running in quickstart mode?I understand that you have a lakeFS running locally in quickstart mode. i understand that you have successfully connected it to your hooks server. What is the second "lakeFS"? Are you asking whether and how the hooks server can access lakeFS?
Giuseppe Barbieri
02/13/2024, 2:38 PMAPI
in the original questionGiuseppe Barbieri
02/13/2024, 2:38 PMthanks, can I use the LakeFS API to connect to a LakeFS instance running in quickstart mode? (edited)
Ariel Shaqed (Scolnicov)
02/13/2024, 2:58 PM