From 522d51911f2175caf33181f30bb2845e1f86e297 Mon Sep 17 00:00:00 2001 From: fanng Date: Mon, 9 Sep 2024 19:12:28 +0800 Subject: [PATCH] unified storage --- .../catalog/lakehouse/iceberg/IcebergPropertiesUtils.java | 6 ++---- .../java/org/apache/gravitino/storage/S3Properties.java | 6 ++++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/catalogs/catalog-common/src/main/java/org/apache/gravitino/catalog/lakehouse/iceberg/IcebergPropertiesUtils.java b/catalogs/catalog-common/src/main/java/org/apache/gravitino/catalog/lakehouse/iceberg/IcebergPropertiesUtils.java index 0bb3ff727b5..2a92f545e90 100644 --- a/catalogs/catalog-common/src/main/java/org/apache/gravitino/catalog/lakehouse/iceberg/IcebergPropertiesUtils.java +++ b/catalogs/catalog-common/src/main/java/org/apache/gravitino/catalog/lakehouse/iceberg/IcebergPropertiesUtils.java @@ -46,12 +46,10 @@ public class IcebergPropertiesUtils { map.put(S3Properties.GRAVITINO_S3_REGION, IcebergConstants.AWS_S3_REGION); map.put(S3Properties.GRAVITINO_S3_ACCESS_KEY_ID, IcebergConstants.ICEBERG_S3_ACCESS_KEY_ID); map.put( - S3Properties.GRAVITINO_S3_SECRET_ACCESS_KEY, - IcebergConstants.ICEBERG_S3_SECRET_ACCESS_KEY); + S3Properties.GRAVITINO_S3_SECRET_ACCESS_KEY, IcebergConstants.ICEBERG_S3_SECRET_ACCESS_KEY); // OSS map.put(OSSProperties.GRAVITINO_OSS_ENDPOINT, IcebergConstants.ICEBERG_OSS_ENDPOINT); - map.put( - OSSProperties.GRAVITINO_OSS_ACCESS_KEY_ID, IcebergConstants.ICEBERG_OSS_ACCESS_KEY_ID); + map.put(OSSProperties.GRAVITINO_OSS_ACCESS_KEY_ID, IcebergConstants.ICEBERG_OSS_ACCESS_KEY_ID); map.put( OSSProperties.GRAVITINO_OSS_ACCESS_KEY_SECRET, IcebergConstants.ICEBERG_OSS_ACCESS_KEY_SECRET); diff --git a/catalogs/catalog-common/src/main/java/org/apache/gravitino/storage/S3Properties.java b/catalogs/catalog-common/src/main/java/org/apache/gravitino/storage/S3Properties.java index 09eb5cb49b7..9775bebc8a5 100644 --- a/catalogs/catalog-common/src/main/java/org/apache/gravitino/storage/S3Properties.java +++ b/catalogs/catalog-common/src/main/java/org/apache/gravitino/storage/S3Properties.java @@ -20,7 +20,9 @@ // Defines the unified S3 properties for different catalogs and connectors. public class S3Properties { - // An alternative endpoint of the S3 service, This could be used to for S3FileIO with any s3-compatible object storage service that has a different endpoint, or access a private S3 endpoint in a virtual private cloud + // An alternative endpoint of the S3 service, This could be used to for S3FileIO with any + // s3-compatible object storage service that has a different endpoint, or access a private S3 + // endpoint in a virtual private cloud public static final String GRAVITINO_S3_ENDPOINT = "s3-endpoint"; // The static access key ID used to access S3 data. public static final String GRAVITINO_S3_ACCESS_KEY_ID = "s3-access-key-id"; @@ -29,5 +31,5 @@ public class S3Properties { // The region of the S3 service. public static final String GRAVITINO_S3_REGION = "s3-region"; - private S3Properties(){} + private S3Properties() {} }