lasdf1234 commented on code in PR #10384:
URL: https://github.com/apache/gravitino/pull/10384#discussion_r2922781139
##########
catalogs/catalog-lakehouse-paimon/src/test/java/org/apache/gravitino/catalog/lakehouse/paimon/integration/test/CatalogPaimonOSSIT.java:
##########
@@ -60,6 +61,7 @@ protected Map<String, String> initPaimonCatalogProperties() {
catalogProperties.put(OSSProperties.GRAVITINO_OSS_ACCESS_KEY_ID,
accessKey);
catalogProperties.put(OSSProperties.GRAVITINO_OSS_ACCESS_KEY_SECRET,
secretKey);
catalogProperties.put(OSSProperties.GRAVITINO_OSS_ENDPOINT, endpoint);
+ catalogProperties.put(OSSProperties.GRAVITINO_OSS_IMPLEMENTATION, ossImpl);
Review Comment:
Yes,i test and it works. Why it works?When use gravitino connector to create
paimonCatalog, gravitino will use Paimon-Common jar's method to create
paimonCatalog.if a config property starts with hadoop,paimon will remove the
initial string "hadoop" and add "fs.oss.impl" to HadoopConfg.I add transform
logical,make "oss-impl" to " hadoop.fss.oss.impl",so each engine can connect
with OSS.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]