This is an automated email from the ASF dual-hosted git repository.
yuqi1129 pushed a commit to branch branch-1.3
in repository https://gitbox.apache.org/repos/asf/gravitino.git
The following commit(s) were added to refs/heads/branch-1.3 by this push:
new cf305d8f31 [Cherry-pick to branch-1.3] [MINOR] fix(docs): Fix wrong
metalake name in the getting-started document (#11774) (#11777)
cf305d8f31 is described below
commit cf305d8f31f7ca7289e7c8b5b4e3cb808b5164f2
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Tue Jun 23 22:54:32 2026 +0800
[Cherry-pick to branch-1.3] [MINOR] fix(docs): Fix wrong metalake name in
the getting-started document (#11774) (#11777)
**Cherry-pick Information:**
- Original commit: bff164d05766bdd2ec771d3fbae5c06783566672
- Target branch: `branch-1.3`
- Status: ✅ Clean cherry-pick (no conflicts)
Co-authored-by: Kengo Seki <[email protected]>
---
docs/getting-started/index.md | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/docs/getting-started/index.md b/docs/getting-started/index.md
index f9665024eb..e0f4abb511 100644
--- a/docs/getting-started/index.md
+++ b/docs/getting-started/index.md
@@ -171,7 +171,7 @@ Revise based on your environment.
```shell
curl -X POST -H "Accept: application/vnd.gravitino.v1+json" \
-H "Content-Type: application/json" \
- -d '{"name":"my-metalake","comment":"Test metalake"}' \
+ -d '{"name":"my_metalake","comment":"Test metalake"}' \
http://localhost:8090/api/metalakes
```
@@ -184,7 +184,7 @@ Revise based on your environment.
curl -X GET -H "Accept: application/vnd.gravitino.v1+json" \
-H "Content-Type: application/json" \
- http://localhost:8090/api/metalakes/my-metalake
+ http://localhost:8090/api/metalakes/my_metalake
```
Note that if you are requesting a Metalake that doesn't exist, you'll get a
@@ -203,7 +203,7 @@ Revise based on your environment.
```shell
curl -X GET -H "Accept: application/vnd.gravitino.v1+json" \
-H "Content-Type: application/json" \
- http://localhost:8090/api/metalakes/my-metalake/catalogs
+ http://localhost:8090/api/metalakes/my_metalake/catalogs
```
Create a new Hive catalog.
@@ -212,7 +212,7 @@ Revise based on your environment.
curl -X POST -H "Accept: application/vnd.gravitino.v1+json" \
-H "Content-Type: application/json" \
-d '{"name":"my-catalog","comment":"Test catalog", "type":"RELATIONAL",
"provider":"hive", "properties":{"metastore.uris":"thrift://localhost:9083"}}' \
- http://localhost:8090/api/metalakes/my-metalake/catalogs
+ http://localhost:8090/api/metalakes/my_metalake/catalogs
```
Verify that the catalog has been created:
@@ -220,7 +220,7 @@ Revise based on your environment.
```shell
curl -X GET -H "Accept: application/vnd.gravitino.v1+json" \
-H "Content-Type: application/json" \
- http://localhost:8090/api/metalakes/my-metalake/catalogs
+ http://localhost:8090/api/metalakes/my_metalake/catalogs
```
:::tip