Skip to content

Commit

Permalink
unified storage
Browse files Browse the repository at this point in the history
  • Loading branch information
FANNG1 committed Sep 9, 2024
1 parent 992a451 commit 522d519
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand All @@ -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() {}
}

0 comments on commit 522d519

Please sign in to comment.