Skip to content

World's most powerful open data catalog for building a high-performance, geo-distributed and federated metadata lake.

[Minor] fix(docs): Fix mistakes in docs about the example of S3 fileset. (#5463)

Qi Yu81e617a49156
diff --git a/docs/how-to-use-gvfs.md b/docs/how-to-use-gvfs.md
index 4c1c5b9439..7a3373092c 100644
--- a/docs/how-to-use-gvfs.md
+++ b/docs/how-to-use-gvfs.md
@@ -83,10 +83,10 @@ At the same time, you need to place the corresponding bundle jar [`gravitino-aws
#### GCS fileset
-| Configuration item | Description | Default value | Required | Since version |
-|--------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------|---------------------------|--------------------|
-| `fs.gvfs.filesystem.providers` | The file system providers to add. Set it to `gs` if it's a GCS fileset, or a comma separated string that contains `gs` like `gs,s3` to support multiple kinds of fileset including `gs`. | (none) | Yes if it's a GCS fileset.| 0.7.0-incubating |
-| `gcs-service-account-file` | The path of GCS service account JSON file. | (none) | Yes if it's a GCS fileset.| 0.7.0-incubating |
+| Configuration item | Description | Default value | Required | Since version |
+|--------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------|---------------------------|------------------|
+| `fs.gvfs.filesystem.providers` | The file system providers to add. Set it to `gs` if it's a GCS fileset, or a comma separated string that contains `gs` like `gs,s3` to support multiple kinds of fileset including `gs`. | (none) | Yes if it's a GCS fileset.| 0.7.0-incubating |
+| `gcs-service-account-file` | The path of GCS service account JSON file. | (none) | Yes if it's a GCS fileset.| 0.7.0-incubating |
In the meantime, you need to place the corresponding bundle jar [`gravitino-gcp-bundle-${version}.jar`](https://repo1.maven.org/maven2/org/apache/gravitino/gcp-bundle/) in the Hadoop environment(typically located in `${HADOOP_HOME}/share/hadoop/common/lib/`).
diff --git a/docs/manage-fileset-metadata-using-gravitino.md b/docs/manage-fileset-metadata-using-gravitino.md
index b6ba3ed2e1..a3ab73b9cd 100644
--- a/docs/manage-fileset-metadata-using-gravitino.md
+++ b/docs/manage-fileset-metadata-using-gravitino.md
@@ -61,10 +61,10 @@ curl -X POST -H "Accept: application/vnd.gravitino.v1+json" \
"comment": "comment",
"provider": "hadoop",
"properties": {
- "location": "oss:/bucket/root",
+ "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
@@ -93,10 +93,10 @@ Catalog catalog = gravitinoClient.createCatalog("catalog",
// create a S3 catalog
s3Properties = ImmutableMap.<String, String>builder()
- .put("location", "oss:/bucket/root")
+ .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();
@@ -121,10 +121,10 @@ catalog = gravitino_client.create_catalog(name="catalog",
# create a S3 catalog
s3_properties = {
- "location": "oss:/bucket/root",
+ "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",