YUREN WANDER
09/06/2024, 10:06 AMcheckout
, always get a error directory /root/lakefs:/xxx is not linked to a lakeFS path
. i try some command, but still get this error. already try commands:
lakectl local checkout <lakefs://test-tos/> -r e4289cf9bf29c8f4814a4449b81ae081030e9f361a6d98aa15661e1370c1deb5
lakectl local checkout <lakefs://test-tos/main/> -r e4289cf9bf29c8f4814a4449b81ae081030e9f361a6d98aa15661e1370c1deb5
lakectl local checkout <lakefs://test-tos/e4289cf9bf29c8f4814a4449b81ae081030e9f361a6d98aa15661e1370c1deb5>
Offir Cohen
09/06/2024, 10:17 AMYUREN WANDER
09/06/2024, 10:22 AM(base) [root@data-cli ~]# /data1/lakefs/lakectl local init <lakefs://test-tos/main/> test-tos --force
Location added to /root/.gitignore
Successfully linked local directory '/root/test-tos' with remote '<lakefs://test-tos/main/>'
Offir Cohen
09/06/2024, 10:28 AMOffir Cohen
09/06/2024, 10:38 AMYUREN WANDER
09/06/2024, 10:57 AMinit
in directory test-tos
and use directory as directory, get another error ref malformed lakefs URI
.
(base) [root@data-cli test-tos]# /data1/lakefs/lakectl local checkout test-tos -r e4289cf9bf29c8f4814a4449b81ae081030e9f361a6d98aa15661e1370c1deb5
diff 'local:///root/test-tos/test-tos' <--> '<lakefs://test-tos/aaabbbd118bde1084425531f96477aaa28225f1263c97e3d34dc5730ad1baf84/>'...
ref malformed lakefs URI
Error executing command.
i find this, it's said need use uri , i'm not sure is correct.
<https://lakefs.slack.com/archives/C016726JLJW/p1702303164380669>
YUREN WANDER
09/06/2024, 11:34 AM-r
is not set correctly, should be:
/data1/lakefs/lakectl local checkout . -r <lakefs://test-tos/aaabbbd118bde1084425531f96477aaa28225f1263c97e3d34dc5730ad1baf84>
YUREN WANDER
09/06/2024, 11:35 AM