World's most powerful open data catalog for building a high-performance, geo-distributed and federated metadata lake.
Java ai-catalogdata-catalogdatalakefederated-querylakehousemetadatametalakemodel-catalogopendatacatalogskycomputingstratosphere
[#1063] feat(doc): Add index page to track all the docs (#1093)
Jerry Shao09c20479bc2a
diff --git a/README.md b/README.mdindex f866c6d8f6..bc4e099353 100644--- a/README.md+++ b/README.md@@ -53,13 +53,19 @@ Or:to build a compressed distribution package.+The generated binary distribution package locates in `distribution` directory.+For the details of building and testing Gravitino, please see [How to build Gravitino](docs/how-to-build.md).## Quick start### Configure and start the Gravitino server-The Gravitino server configuration file, `gravitino.conf`, located in the `conf` directory and follows the standard property file format. You can modify the configuration within this file.+If you already have a binary distribution package, please decompress the package (if required)+and go to the directory where the package locates.++Before starting the Gravitino server, please configure the Gravitino server configuration file. The+configuration file, `gravitino.conf`, located in the `conf` directory and follows the standard property file format. You can modify the configuration within this file.To start the Gravitino server, please run:diff --git a/docs/getting-started.md b/docs/getting-started.mdindex 52de30eb33..7702664321 100644--- a/docs/getting-started.md+++ b/docs/getting-started.md@@ -178,7 +178,7 @@ follow the instructions for [Installing Apache Hive on AWS or Google Cloud Platf## Installing Gravitino playground on AWS or Google Cloud PlatformGravitino provides a bundle of Docker images to launch a Gravitino playground, which-includes Apache Hive, Apache Hadoop, Trino, MySQL, PostgresSQL, and Gravitino. You can use+includes Apache Hive, Apache Hadoop, Trino, MySQL, PostgreSQL, and Gravitino. You can useDocker compose to start them all.Installing Docker and Docker Compose is a requirement to using the playground.diff --git a/docs/gravitino-server-config.md b/docs/gravitino-server-config.mdindex 345946b984..3506996085 100644--- a/docs/gravitino-server-config.md+++ b/docs/gravitino-server-config.md@@ -93,7 +93,7 @@ These rules only apply on the catalog properties, doesn't affect on the schema o| `hive` | [Hive catalog properties](apache-hive-catalog#catalog-properties) | `catalogs/hive/conf/hive.conf` || `lakehouse-iceberg` | [Lakehouse Iceberg catalog properties](lakehouse-iceberg-catalog#catalog-properties) | `catalogs/lakehouse-iceberg/conf/lakehouse-iceberg.conf` || `jdbc-mysql` | [MySQL catalog properties](jdbc-mysql-catalog#catalog-properties) | `catalogs/jdbc-mysql/conf/jdbc-mysql.conf` |-| `jdbc-postgresql` | [PostgresSQL catalog properties](jdbc-postgresql-catalog#catalog-properties) | `catalogs/jdbc-postgresql/conf/jdbc-postgresql.conf` |+| `jdbc-postgresql` | [PostgreSQL catalog properties](jdbc-postgresql-catalog#catalog-properties) | `catalogs/jdbc-postgresql/conf/jdbc-postgresql.conf` |:::infoGravitino server automatically add catalog properties configuration dir to classpath.@@ -114,4 +114,4 @@ Apache Hadoop access. Please ensure that the user starting the Gravitino serverpermissions; otherwise, you may encounter a `Permission denied` error. There are also several ways to resolve this error:* Granting the Gravitino startup user permissions in Hadoop-* Specify the authorized Hadoop username in the environment variables `HADOOP_USER_NAME` before starting the Gravitino server.\ No newline at end of file+* Specify the authorized Hadoop username in the environment variables `HADOOP_USER_NAME` before starting the Gravitino server.diff --git a/docs/how-to-build.md b/docs/how-to-build.mdindex 51768a305d..aa742cc9b4 100644--- a/docs/how-to-build.md+++ b/docs/how-to-build.md@@ -26,8 +26,11 @@ This software is licensed under the Apache License version 2."+ Make sure you have installed Docker in your environment as Gravitino uses it to run integration tests; without it, some Docker-related tests may not run.+ macOS uses "docker-connector" to make the Gravitino Trino connector work with Docker- for macOS. For the details of "docker-connector", please see [docker-connector](https://github.com/wenjunxiao/mac-docker-connector) and [README](../dev/docker/tools/README).- Alternatively, you can use OrbStack to replace Docker for macOS, please see+ for macOS. For the details of "docker-connector", please see [docker-connector](https://github.com/wenjunxiao/mac-docker-connector)+ , `$GRAVITINO_HOME/dev/docker/tools/mac-docker-connector.sh`, and+ `$GRAVITINO_HOME/dev/docker/tools/README.md` for more details.+++ Alternatively, you can use OrbStack to replace Docker for macOS, please see[OrbStack](https://orbstack.dev/), with OrbStack you can run Gravitino integration testswithout needing to install "docker-connector".:::diff --git a/docs/how-to-sign-releases.md b/docs/how-to-sign-releases.mdindex b8ce816abc..72573b0ce8 100644--- a/docs/how-to-sign-releases.md+++ b/docs/how-to-sign-releases.md@@ -1,6 +1,6 @@---title: How to sign and verify a Gravitino releases-slug: /how-to-sign-release+slug: /how-to-sign-releaseslicense: "Copyright 2023 Datastrato Pvt Ltd.This software is licensed under the Apache License version 2."---diff --git a/docs/how-to-test.md b/docs/how-to-test.mdindex 5428a5ffbd..c8f723d1f6 100644--- a/docs/how-to-test.md+++ b/docs/how-to-test.md@@ -81,6 +81,7 @@ For example, the `integration-test/src/test/.../CatalogHiveIT.java` test needs tthe `datastrato/gravitino-ci-hive` Docker container for testing the Hive data source.Therefore, it should have the following `@tag` annotation:`@tag(gravitino-docker-it)`, This annotationhelps identify the specific Docker container required for the integration test.+For example:```javadiff --git a/docs/index.md b/docs/index.mdnew file mode 100644index 0000000000..10bdf2cd67--- /dev/null+++ b/docs/index.md@@ -0,0 +1,113 @@+---+title: Gravitino overview+slug: /+license: "Copyright 2023 Datastrato Pvt Ltd.+This software is licensed under the Apache License version 2."+---++## What is Gravitino?++Gravitino is a high-performance, geo-distributed, and federated metadata lake. It manages the+metadata directly in different sources, types, and regions. It also provides users with unified+metadata access for data and AI assets.++[Learn more](./overview)→++## Downloading++You can get Graviton from the [GitHub release page](https://github.com/datastrato/gravitino/releases),+or you can build Gravitino from source, please see [How to build Gravitino](./how-to-build).++Gravitino runs on both Linux and macOS, and requires Java 8. Gravitino trino-connector runs with+Trino, and requires Java 17. This should include JVMs on x86_64 and+ARM64. It's easy to run locally on one machine --- all you need is to have `java` installed on+your system `PATH`, or the `JAVA_HOME` environment variable pointing to a Java installation.++See [How to install Gravitino](./how-to-install) to learn how to install Gravitino server.++Gravitino provides Docker image on [Docker Hub](https://hub.docker.com/u/datastrato).+Please pull the image and run it. For the details of Gravitino Docker image, please see+[Dock image details](./docker-image-details).++Gravitino also provides a playground to experience the whole Gravitino system with other components.+Please see the [Gravitino playground repository](https://github.com/datastrato/gravitino-playground)+and [How to use the playground](./how-to-use-the-playground).++## Getting started++To get started with Gravitino, please see [Getting started](./getting-started) for the details.++* [Getting started locally](./getting-started#getting-started-locally): a quick guide to start+ and use Gravitino locally.+* [Running on Amazon Web Services](./getting-started#getting-started-on-amazon-web-services): a+ quick guide to start and use Gravitino on AWS.+* [Running on Google Cloud Platform](./getting-started#getting-started-on-google-cloud-platform):+ a quick guide to start and use Gravitino on GCP.++## Gravitino playground++To experience Gravitino with other components simply, Gravitino provides a playground to run. It+integrates Apache Hadoop, Apache Hive, Trino, MySQL, PostgreSQL, and Gravitino together as a+complete environment. To experience the whole features, please also see+[Getting started](./getting-started) and [How to use the Gravitino playground](./how-to-use-the-playground)+to learn how to use the playground.++* [Install Gravitino playground on AWS or GCP](./getting-started#installing-gravitino-playground-on-aws-or-google-cloud-platform):+ a quick guide to start and use Gravitino playground on AWS or GCP.+* [Install Gravitino playground locally](./getting-started#installing-gravitino-playground-locally):+ a quick guide to start and use Gravitino playground locally.+* [How to use the Gravitino playground](./how-to-use-the-playground): provides an example of how+ to use Gravitino and other components together.++## Where to go from here++### Programming guides++* [Manage metadata using Gravitino](./manage-metadata-using-gravitino): provides the complete+ functionalities of Gravitino metadata management. Including metalake, catalog, schema and+ table management.+* [Gravitino Open API](./api/rest/gravitino-rest-api): provides the complete Open API definition of+ Gravitino.+* [Gravitino Javadoc](./api/java/index.html): provides the Javadoc for Gravitino API.++### Server administration++Gravitino provides several ways to configure and manage the Gravitino server. Please see:++* [How to customize Gravitino server configurations](./gravitino-server-config): provides the+ complete Gravitino server configurations.+* [Security](./security): provides the security configurations for Gravitino, including HTTPS+ and OAuth2 configurations.+* [Gravitino metrics](./metrics): provides the metrics configurations and detailed metrics list+ of Gravitino server.++### Catalog details++Gravitino supports different catalogs to manage the metadata in different sources. Please see:++* [Lakehouse Iceberg catalog](./lakehouse-iceberg-catalog): a complete guide to use Gravitino+ manage Apache Iceberg data.+* [How to set up Gravitino Apache Iceberg REST catalog service](./iceberg-rest-service): a+ complete guide to use Gravitino as Apache Iceberg REST catalog service.+* [Apache Hive catalog](./apache-hive-catalog): a complete guide to use Gravitino manage Apache Hive data.+* [JDBC MySQL catalog](./jdbc-mysql-catalog): a complete guide to use Gravitino manage MySQL data.+* [JDBC PostgreSQL catalog](./jdbc-postgresql-catalog): a complete guide to use Gravitino manage PostgreSQL data.++### Trino connector++Gravitino provides a Trino connector to connect to Gravitino to manage the metadata in a unified+way. to use the Trino connector, please see:++* [How to use Gravitino Trino connector](./trino-connector/index): a complete guide to use Gravitino+ Trino connector.++### Development guides++* [How to build Gravitino](./how-to-build): a complete guide to build Gravitino from+ source.+* [How to test Gravitino](./how-to-test): a complete guide to run Gravitino unit tests and+ integration tests.+* [How to sign and verify a Gravitino releases](./how-to-sign-releases): a guide to sign and verify+ a Gravitino release.+* [Publish Docker images](./publish-docker-images): a guide to publish Gravitino Docker images,+ also list the change logs of Gravitino CI Docker images and release images.diff --git a/docs/overview.md b/docs/overview.mdindex 57d583eb53..27d69697a2 100644--- a/docs/overview.md+++ b/docs/overview.md@@ -81,7 +81,7 @@ assets like models, features, and others are under development.* **Catalog**: catalog is a collection of metadata from a specific metadata source.Each catalog has a related connector to connect to the specific metadata source.* **Schema**: Schema is equivalent to a database, Schemas only exist in the specific catalogs- that support relational metadata sources, such as Apache Hive, MySQL, PostgresSQL, and others.+ that support relational metadata sources, such as Apache Hive, MySQL, PostgreSQL, and others.* **Table**: The lowest level in the object hierarchy for catalogs that support relationalmetadata sources. You can create Tables in specific schemas in the catalogs.* **Model**: Model represents the metadata in the specific catalogs that support model management.