Cristian Caloian
02/22/2022, 12:11 PMexport AZURE_STORAGE_ACCOUNT="my-account-name"
export AZURE_STORAGE_ACCESS_KEY="my-access-key"
lakectl ingest \
--from https://<my-account-name>.<http://blob.core.windows.net/<container-name>/|blob.core.windows.net/<container-name>/> \
--to lakefs://<repository>/<branch>/<some-existing-path>
but I get the following error:
physical address is not valid for block adapter: s3
400 Bad Request
Does anyone have any idea what might happen? Is such an ingestion possible (Azure Blob -> S3)? I would also highly appreciate any alternative ingestion solution? Thanks in advance!
FYI @mishrapraffulEden Ohana
02/22/2022, 12:39 PMCristian Caloian
02/22/2022, 12:48 PMEden Ohana
02/22/2022, 2:12 PMEden Ohana
02/22/2022, 2:14 PMCristian Caloian
02/22/2022, 2:48 PMCristian Caloian
02/25/2022, 2:21 PMlakectl ingest --from <s3-bucket> --to <lakefs-repo-branch>
and it staged more than 1M objects and counting. In my S3 I have less than 30k files. What counts as an object in this case?Cristian Caloian
02/25/2022, 2:24 PMlakefs import
from inventory. It needs permissions to a database, but I couldn’t find any info about database in the documentation. I would greatly appreciate some explanation or a resource for this issue as well.Eden Ohana
02/25/2022, 2:40 PMEden Ohana
02/25/2022, 2:40 PMCristian Caloian
02/25/2022, 2:44 PMCristian Caloian
02/25/2022, 2:45 PMStaged 1868632 objects so far...
Eden Ohana
02/25/2022, 2:58 PMCristian Caloian
02/25/2022, 3:06 PMEden Ohana
02/25/2022, 3:16 PMCristian Caloian
02/25/2022, 4:32 PMCristian Caloian
02/25/2022, 4:38 PMlakefs import
, I got the suggestion to merge the inventory import branch as follows:
lakectl merge lakefs://<repo>@<commit-id> lakefs://<repo>@main
However, when I actually run the command, I get the following error:
Invalid 'source ref': parsing lakefs://<repo>@<commit-id>: malformed lakefs uri
I also tried adding /
after the commit id (sometimes it requires that)
In the end I merged the branch from the UI.Eden Ohana
02/25/2022, 4:50 PMlakectl merge lakefs://<repo>/import-from-inventory lakefs://<repo>/main
Cristian Caloian
02/25/2022, 4:59 PMCristian Caloian
02/25/2022, 4:59 PMEden Ohana
02/25/2022, 5:01 PMEden Ohana
02/25/2022, 5:02 PMCristian Caloian
02/28/2022, 12:25 PMItai David
02/28/2022, 12:44 PM