Skip to content

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

[#10029] improvement(docs): Refine docs about catalogs in folder `catalogs-contrib` (#10065)

Qi Yufcaded2a7410
diff --git a/docs/how-to-build.md b/docs/how-to-build.md
index 5f4f078776..4a30e489e4 100644
--- a/docs/how-to-build.md
+++ b/docs/how-to-build.md
@@ -99,7 +99,8 @@ license: "This software is licensed under the Apache License version 2."
./gradlew compileDistribution
```
- The `compileDistribution` command creates a `distribution` directory in the Gravitino root directory.
+ The `compileDistribution` command creates a `distribution` directory in the Gravitino root directory. It contains two subdirectories: `package` and `package-all`. The difference between these two subdirectories is that `package` is the **Gravitino server distribution package**, while `package-all` contains extra catalogs in `catalogs-contrib` and all contents in `package`.
+ So, if you want to use catalogs in `catalogs-contrib`, you should use the distribution package in `package-all`.
:::note
The `./gradlew clean` command deletes the `distribution` directory.
@@ -111,7 +112,9 @@ license: "This software is licensed under the Apache License version 2."
./gradlew assembleDistribution
```
- The `assembleDistribution` command creates `gravitino-{version}-bin.tar.gz` and `gravitino-{version}-bin.tar.gz.sha256` under the `distribution` directory.
+ The `assembleDistribution` command creates `gravitino-{version}-bin.tar.gz`, `gravitino-{version}-bin.tar.gz.sha256`, `gravitino-{version}-bin-all.tar.gz`, `gravitino-{version}-bin-all.tar.gz.sha256` under the `distribution` directory.
+
+ About the difference between `gravitino-{version}-bin.tar.gz` and `gravitino-{version}-bin-all.tar.gz`, please refer to the explanation of the difference between `package` and `package-all` in the previous step.
You can deploy these to your production environment.
diff --git a/docs/how-to-install.md b/docs/how-to-install.md
index 06cda65af4..13252e2b24 100644
--- a/docs/how-to-install.md
+++ b/docs/how-to-install.md
@@ -38,8 +38,10 @@ The Gravitino binary distribution package contains the following files:
| └── hive/ # Apache Hive catalog dependencies and configurations.
| └── jdbc-doris/ # JDBC doris catalog dependencies and configurations.
| └── jdbc-mysql/ # JDBC MySQL catalog dependencies and configurations.
+ | └── jdbc-starrocks/ # JDBC Starrocks catalog dependencies and configurations.
| └── jdbc-postgresql/ # JDBC PostgreSQL catalog dependencies and configurations.
- | └── kafka/ # Apache Kafka PostgreSQL catalog dependencies and configurations.
+ | └── jdbc-hudi/ # Hudi catalog dependencies and configurations.
+ | └── kafka/ # Apache Kafka catalog dependencies and configurations.
| └── lakehouse-iceberg/ # Apache Iceberg catalog dependencies and configurations.
| └── lakehouse-paimon/ # Apache Paimon catalog dependencies and configurations.
| └── model/ # Model catalog dependencies and configurations.
@@ -55,6 +57,12 @@ The Gravitino binary distribution package contains the following files:
└── scripts/ # Extra scripts for Gravitino.
```
+:::note
+Catalogs `OceanBase` and `ClickHouse` are not included in the Gravitino binary distribution package (see above) by default due to package size limitations and License compatibility issues since 1.2.0.
+If you want to use these two catalogs, please build the Gravitino binary distribution package by yourself and use tarball `gravitino-<version>-bin-all.tar.gz`, which contains all catalogs including those in the `catalogs-contrib` module.
+For more details about it, please refer to [Reorg catalogs structure](https://github.com/apache/gravitino/pull/9781)
+:::
+
#### Initialize the RDBMS (Optional)
If you want to use the relational backend storage, you need to initialize the RDBMS first. For the details on initializing the RDBMS, please check [How to use relational backend storage](./how-to-use-relational-backend-storage.md).
diff --git a/docs/index.md b/docs/index.md
index 80e5b4a723..3e777cba60 100644
--- a/docs/index.md
+++ b/docs/index.md
@@ -85,7 +85,7 @@ Gravitino currently supports the following catalogs:
* [**MySQL catalog**](./jdbc-mysql-catalog.md)
* [**Paimon catalog**](./lakehouse-paimon-catalog.md)
* [**PostgreSQL catalog**](./jdbc-postgresql-catalog.md)
-* [**OceanBase catalog**](./jdbc-oceanbase-catalog.md)
+* [**OceanBase catalog**](./jdbc-oceanbase-catalog.md)\*
* [**StarRocks catalog**](./jdbc-starrocks-catalog.md)
* [**ClickHouse catalog**](./jdbc-clickhouse-catalog.md)\*
* [**Lakehouse generic catalog**](./lakehouse-generic-catalog.md)
@@ -104,6 +104,9 @@ If you want to operate table and partition statistics, you can refer to the [doc
* [**Model catalog**](./model-catalog.md)
+Catalogs with an asterisk (\*) aren’t in the standard release tarball and Docker image since 1.2.0. In 1.2.0, Gravitino introduces
+folder `catalogs-contrib` to host the contributed catalogs, which aren’t in the standard release but can be built and used separately. See [how to build Gravitino](./how-to-build.md#quick-start) for details.
+
## Apache Gravitino playground
To experience Gravitino with other components easily, Gravitino provides a playground to run.
diff --git a/docs/jdbc-oceanbase-catalog.md b/docs/jdbc-oceanbase-catalog.md
index 2a1f37475f..d55e9f96ec 100644
--- a/docs/jdbc-oceanbase-catalog.md
+++ b/docs/jdbc-oceanbase-catalog.md
@@ -16,7 +16,8 @@ import TabItem from '@theme/TabItem';
Apache Gravitino provides the ability to manage OceanBase metadata.
:::caution
-Gravitino saves some system information in schema and table comment, like `(From Gravitino, DO NOT EDIT: gravitino.v1.uid1078334182909406185)`, please don't change or remove this message.
+1. Gravitino saves some system information in schema and table comment, like `(From Gravitino, DO NOT EDIT: gravitino.v1.uid1078334182909406185)`, please don't change or remove this message.
+2. Since 1.2.0, OceanBase catalog is not included in standard Gravitino distribution, but you can still build it from source if you need it. Check [build from source](./how-to-build.md) for more details.
:::
## Catalog