Skip to content

Commit

Permalink
Fix wrong address of s3.
Browse files Browse the repository at this point in the history
  • Loading branch information
yuqi1129 committed Nov 5, 2024
1 parent 1f46636 commit 7da806e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/manage-fileset-metadata-using-gravitino.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ curl -X POST -H "Accept: application/vnd.gravitino.v1+json" \
"location": "s3a://bucket/root",
"s3-access-key-id": "access_key",
"s3-secret-access-key": "secret_key",
"s3-endpoint": "http://oss-cn-hangzhou.aliyuncs.com",
"s3-endpoint": "http://s3.ap-northeast-1.amazonaws.com",
"filesystem-providers": "s3"
}
}' http://localhost:8090/api/metalakes/metalake/catalogs
Expand Down Expand Up @@ -96,7 +96,7 @@ s3Properties = ImmutableMap.<String, String>builder()
.put("location", "s3a://bucket/root")
.put("s3-access-key-id", "access_key")
.put("s3-secret-access-key", "secret_key")
.put("s3-endpoint", "http://oss-cn-hangzhou.aliyuncs.com")
.put("s3-endpoint", "http://s3.ap-northeast-1.amazonaws.com")
.put("filesystem-providers", "s3")
.build();

Expand Down Expand Up @@ -124,7 +124,7 @@ s3_properties = {
"location": "s3a://bucket/root",
"s3-access-key-id": "access_key"
"s3-secret-access-key": "secret_key",
"s3-endpoint": "http://oss-cn-hangzhou.aliyuncs.com"
"s3-endpoint": "http://s3.ap-northeast-1.amazonaws.com"
}

s3_catalog = gravitino_client.create_catalog(name="catalog",
Expand Down

0 comments on commit 7da806e

Please sign in to comment.