Artsiom Yudovin
08/10/2021, 3:27 PMCaused by: io.lakefs.clients.api.ApiException: Content type "text/html; charset=utf-8" is not supported for type: class io.lakefs.clients.api.model.ObjectStats
at io.lakefs.clients.api.ApiClient.deserialize(ApiClient.java:820)
at io.lakefs.clients.api.ApiClient.handleResponse(ApiClient.java:1018)
at io.lakefs.clients.api.ApiClient.execute(ApiClient.java:942)
at io.lakefs.clients.api.ObjectsApi.statObjectWithHttpInfo(ObjectsApi.java:951)
at io.lakefs.clients.api.ObjectsApi.statObject(ObjectsApi.java:926)
at io.lakefs.LakeFSFileSystem.getFileStatus(LakeFSFileSystem.java:534)
Do any body face this issue before?Barak Amar
Artsiom Yudovin
08/10/2021, 3:33 PMArtsiom Yudovin
08/10/2021, 3:33 PMBarak Amar
Barak Amar
Artsiom Yudovin
08/10/2021, 3:37 PMBarak Amar
Barak Amar
Artsiom Yudovin
08/10/2021, 3:40 PMBarak Amar
Barak Amar
s3a
endpoint. When lakefs is using local
adapter, objects are stored inside the container.Oz Katz
Oz Katz
Artsiom Yudovin
08/10/2021, 8:09 PMArtsiom Yudovin
08/10/2021, 8:09 PMOz Katz
s3a.endpoint
should be the same as configured for gateways.s3.domain_name in the lakeFS configuration.Oz Katz
Artsiom Yudovin
08/10/2021, 8:17 PMOz Katz
Artsiom Yudovin
08/10/2021, 8:22 PMOz Katz
Artsiom Yudovin
08/10/2021, 8:37 PMOz Katz
links
to match up the value given in the lakeFS config for LAKEFS_GATEWAYS_S3_DOMAIN_NAME
with the link name.
I've uploaded a detailed working example here - it should be usable as is, but probably easy to adapt to your existing configuration.
It's configured to run Spark 3.0, so I believe it should work for you.
Let me know how this works!Artsiom Yudovin
08/11/2021, 9:54 AMArtsiom Yudovin
08/11/2021, 9:59 AMbucket not exists
. I guess it’s another issue. Do u have any idea about the cause?Oz Katz
LAKEFS_GATEWAYS_S3_DOMAIN_NAME
- the S3 protocol doesn't work well with IP addressesOz Katz
Artsiom Yudovin
08/11/2021, 10:01 AMOz Katz
Oz Katz
Artsiom Yudovin
08/11/2021, 9:22 PMArtsiom Yudovin
08/11/2021, 9:22 PMOz Katz
LAKEFS_GATEWAYS_S3_DOMAIN_NAME
to s3.local.lakefs.io - is that properly configured?Artsiom Yudovin
08/11/2021, 9:31 PMOz Katz
Artsiom Yudovin
08/11/2021, 9:33 PMOz Katz
Artsiom Yudovin
08/11/2021, 9:35 PMOz Katz
Oz Katz
Artsiom Yudovin
08/11/2021, 9:42 PMArtsiom Yudovin
08/11/2021, 9:42 PMArtsiom Yudovin
08/11/2021, 9:57 PMOz Katz