Skip to content

Commit 366f636

Browse files
fix: minor-fix
1 parent 0f48d67 commit 366f636

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

amoro-ams/src/main/java/org/apache/amoro/server/terminal/TerminalManager.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -404,8 +404,7 @@ private void applyClientProperties(CatalogMeta catalogMeta) {
404404
} else if (!catalogMeta.getCatalogProperties().containsKey(CatalogProperties.CATALOG_IMPL)) {
405405
catalogMeta.putToCatalogProperties("type", catalogType);
406406
}
407-
// For Glue catalogs with AK/SK auth, set client.credentials-provider so the
408-
// Glue client receives the same credentials that were provided for S3.
407+
// apply glue credentials to glue catalog
409408
if (CatalogMetaProperties.CATALOG_TYPE_GLUE.equalsIgnoreCase(catalogType)) {
410409
Map<String, String> props = catalogMeta.getCatalogProperties();
411410
Map<String, String> enriched = StaticAwsCredentialsProvider.applyGlueCredentials(props);

amoro-format-iceberg/src/main/java/org/apache/amoro/formats/iceberg/IcebergCatalogFactory.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public FormatCatalog create(
4343
properties =
4444
MixedFormatCatalogUtil.withIcebergCatalogInitializeProperties(
4545
name, metastoreType, properties);
46-
46+
// apply glue credentials to glue catalog
4747
if (CatalogMetaProperties.CATALOG_TYPE_GLUE.equalsIgnoreCase(metastoreType)) {
4848
properties = StaticAwsCredentialsProvider.applyGlueCredentials(properties);
4949
}

0 commit comments

Comments
 (0)