World's most powerful open data catalog for building a high-performance, geo-distributed and federated metadata lake.
Java ai-catalogdata-catalogdatalakefederated-querylakehousemetadatametalakemodel-catalogopendatacatalogskycomputingstratosphere
[Minor] Respect ASF Trademarks (#921)
Justin Mcleana651eaedd810
diff --git a/dev/docker/README.md b/dev/docker/README.mdindex a67bf57ce3..083b160852 100644--- a/dev/docker/README.md+++ b/dev/docker/README.md@@ -28,7 +28,7 @@ docker run --rm -d -p 8090:8090 datastrato/gravitino- Expose ports:- `8090` Gravitino Web UI-## Gravitino CI Hive+## Gravitino CI Apache Hive### Container startup commands```diff --git a/docs/gravitino-manage-hive.md b/docs/gravitino-manage-hive.mdindex ec60815fab..4adee7746b 100644--- a/docs/gravitino-manage-hive.md+++ b/docs/gravitino-manage-hive.md@@ -1,21 +1,21 @@----title: "How to use Gravitino to manage Hive metadata"+title: "How to use Gravitino to manage Apache Hive metadata"date: 2023-10-20license: "Copyright 2023 Datastrato.This software is licensed under the Apache License version 2."----## Using Hive as a Catalog in Gravitino+## Using Apache Hive as a Catalog in Gravitino-Gravitino offers the functionality to utilize Hive as a catalog for metadata management. This guide will lead you through the process of creating a catalog using Hive in Gravitino.+Gravitino offers the functionality to utilize Apache Hive as a catalog for metadata management. This guide will lead you through the process of creating a catalog using Hive in Gravitino.### Requirements:-* The Hive catalog requires a Hive Metastore Service(HMS), or a compatible implementation of the HMS, such as AWS Glue.+* The Hive catalog requires a Hive Metastore Service (HMS), or a compatible implementation of the HMS, such as AWS Glue.* The Gravitino must have network access to the Hive metastore service with the Thrift protocol.* Apache Hive 2.x is supported.* Before you create a Hive catalog, make sure you have already created a Metalake. If you haven't done so, please follow the Metalake creation steps.-## Creating a Hive Catalog+## Creating a Apache Hive CatalogTo create a Hive catalog, use the following steps:@@ -53,7 +53,7 @@ Example JSON:| `client.pool-size` | The maximum number of Hive metastore clients in the pool for Gravitino. 1 by default value. | 1 | 0.2.0 || `gravitino.bypass.` | Property name with this prefix will be passed down to the underlying HMS client for use. Empty by default value. | `gravitino.bypass.hive.metastore.failure.retries = 3` indicate 3 times of retries upon failure of Thrift metastore calls | 0.2.0 |-## Creating a Hive Schema+## Creating an Apache Hive SchemaAfter the catalog is created, you can submit a schema JSON example to the Gravitino server using the URL format:@@ -83,7 +83,7 @@ Example JSON:|---------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------|---------------|| `location` | The directory for Hive database storage. Not required, HMS will use the value of `hive.metastore.warehouse.dir` in the Hive conf file hive-site.xml by default. | `/user/hive/warehouse` | 0.1.0 |-## Creating a Hive Table+## Creating an Apache Hive TableAfter the schema is created, you can submit a table JSON example to the Gravitino server using the URL format:diff --git a/docs/gravitino-server-config.md b/docs/gravitino-server-config.mdindex cb09e77463..32e4d8cfb1 100644--- a/docs/gravitino-server-config.md+++ b/docs/gravitino-server-config.md@@ -54,10 +54,10 @@ The following table lists the configuration items in the `gravitino.conf` file.Gravitino server also supports setting up runtime environment variables by editing the `gravitino-env.sh` file, which is located in the `conf` directory.-### How to access Hadoop+### How to access Apache HadoopCurrently, due to the absence of a comprehensive user permission system, Gravitino can only use a single username for-Hadoop access. Please ensure that the user starting the Gravitino server has Hadoop (HDFS, YARN, etc.) access+Apache Hadoop access. Please ensure that the user starting the Gravitino server has Hadoop (HDFS, YARN, etc.) accesspermissions; 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.diff --git a/docs/gravitino-use-iceberg.md b/docs/gravitino-use-iceberg.mdindex 035d0d2c12..414ce483fc 100644--- a/docs/gravitino-use-iceberg.md+++ b/docs/gravitino-use-iceberg.md@@ -1,13 +1,13 @@----title: "How to use Gravitino to manage Iceberg metadata"+title: "How to use Gravitino to manage Apache Iceberg metadata"date: 2023-10-18license: "Copyright 2023 Datastrato.This software is licensed under the Apache License version 2."----## Using Iceberg as a Catalog in Gravitino+## Using Apache Iceberg as a Catalog in Gravitino-Gravitino provides the ability to use Iceberg as a catalog for managing your data. This guide will walk you through the steps to create a catalog using Iceberg within Gravitino.+Gravitino provides the ability to use Apache Iceberg as a catalog for managing your data. This guide will walk you through the steps to create a catalog using Iceberg within Gravitino.### Capabilities@@ -15,7 +15,7 @@ Gravitino provides the ability to use Iceberg as a catalog for managing your dat* The integrated Iceberg version used is 1.3.1.* Before creating a catalogue, ensure you have already created a Metalake. If you still need to, please follow the Metalake creation steps.-## Creating an Iceberg Catalog+## Creating an Apache Iceberg CatalogTo create an Iceberg catalog, use the following steps:diff --git a/docs/how-to-build.md b/docs/how-to-build.mdindex 63320ab3b7..75d7cf9dc8 100644--- a/docs/how-to-build.md+++ b/docs/how-to-build.md@@ -60,7 +60,7 @@ Note:├── bin/gravitino.sh # Gravitino Server Launching scripts.├── catalogs│ └── hive/ # Hive catalog dependencies and configurations.- │ └── lakehouse-iceberg/ # Iceberg catalog dependencies and configurations.+ │ └── lakehouse-iceberg/ # Apache Iceberg catalog dependencies and configurations.├── conf/ # All configuration for Gravitino.| ├── gravitino.conf # Gravitino Server configuration.| ├── gravitino-env.sh # Environment variables, etc., JAVA_HOME, GRAVITINO_HOME, and more.diff --git a/docs/iceberg-rest-service.md b/docs/iceberg-rest-service.mdindex a6ceb4fe6a..9499014eac 100644--- a/docs/iceberg-rest-service.md+++ b/docs/iceberg-rest-service.md@@ -1,5 +1,5 @@----title: "How to set up Gravitino Iceberg REST server"+title: "How to set up Gravitino and Apache Iceberg REST server"date: 2023-10-18T09:03:20-08:00license: "Copyright 2023 Datastrato.This software is licensed under the Apache License version 2."@@ -7,21 +7,21 @@ This software is licensed under the Apache License version 2."## Background-The Gravitino Iceberg REST Server follows the [Iceberg REST API specification](https://github.com/apache/iceberg/blob/main/open-api/rest-catalog-open-api.yaml) and acts as an Iceberg REST catalog server.+The Gravitino Iceberg REST Server follows the [Apache Iceberg REST API specification](https://github.com/apache/iceberg/blob/main/open-api/rest-catalog-open-api.yaml) and acts as an Iceberg REST catalog server.### Capabilities-* Supports the Iceberg REST API defined in Iceberg 1.3.1, and supports the namespace and table interfaces. `Token`, `ReportMetrics`, and `Config` interfaces aren't supported yet.+* Supports the Apache Iceberg REST API defined in Iceberg 1.3.1, and supports the namespace and table interfaces. `Token`, `ReportMetrics`, and `Config` interfaces aren't supported yet.* Works as a catalog proxy, supporting HiveCatalog and JDBCCatalog.* Built with Iceberg `1.3.1`. The Iceberg table format version is `1` by default.* When writing to HDFS, the Gravitino Iceberg REST server can only operate as the specified HDFS user and- it doesn't support proxying to other HDFS users. See *How to access Hadoop* in the *How to customize Gravitino server configurations* document for more details.+ it doesn't support proxying to other HDFS users. See *How to access Apache Hadoop* in the *How to customize Gravitino server configurations* document for more details.-## How to start the Gravitino Iceberg REST server+## How to start the Gravitino and Apache Iceberg REST serverDeploy the Gravitino server to the `GRAVITINO_HOME` directory. You can find the configuration options in [`$GRAVITINO_HOME/conf/gravitino.conf`](gravitino-server-config.md).-### Basic Gravitino Iceberg server configuration+### Basic Gravitino and Apache Iceberg server configuration| Configuration item | Description | Default value | Since Version ||-----------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------|---------------|@@ -37,11 +37,11 @@ Deploy the Gravitino server to the `GRAVITINO_HOME` directory. You can find the| `gravitino.auxService.iceberg-rest.requestHeaderSize` | The maximum size of an HTTP request. | `131072` | 0.2.0 || `gravitino.auxService.iceberg-rest.responseHeaderSize` | The maximum size of an HTTP response. | `131072` | 0.2.0 |-### Iceberg catalog configuration+### Apache Iceberg catalog configuration-Not recommended for production environments the Gravitino Iceberg REST server defaults to using a memory catalog. You can instead specify a Hive or JDBC catalog.+Not recommended for production environments the Gravitino Iceberg REST server defaults to using a memory catalog. You can instead specify an Apache Hive or JDBC catalog.-#### Hive catalog configuration+#### Apache Hive catalog configuration| Configuration item | Description | Default value | Since Version ||-----------------------------------|-----------------------------------------------------------------------------------------------------------------------------|---------------|-----|@@ -62,7 +62,7 @@ Not recommended for production environments the Gravitino Iceberg REST server deIf using a JDBC catalog, you must **download the corresponding JDBC driver jars, and place them in the Gravitino Iceberg REST server classpath**, such as `catalogs/lakehouse-iceberg/libs`.-### Other Iceberg catalog properties+### Other Apache Iceberg catalog propertiesYou can add other properties defined in [CatalogProperties of Iceberg](https://github.com/apache/iceberg/blob/main/core/src/main/java/org/apache/iceberg/CatalogProperties.java), please note that `catalog-impl` has no effect.The `clients` property for example:@@ -76,7 +76,7 @@ The `clients` property for example:The Gravitino Iceberg REST server adds the HDFS configuration files, `core-site.xml` and `hdfs-site.xml` from the directory defined by `gravitino.auxService.iceberg-rest.classpath`, for example, `catalogs/lakehouse-iceberg/conf`, to the classpath.-## Starting the Gravitino Iceberg REST server+## Starting the Gravitino and Apache Iceberg REST serverStarting the Gravitino Iceberg REST server:@@ -90,13 +90,13 @@ How to find out whether the Gravitino Iceberg REST server has started:curl http://127.0.0.1:9001/iceberg/application.wadl```-## Exploring the Gravitino Iceberg REST server with Spark+## Exploring the Gravitino and Apache Iceberg REST server with Apache Spark-### Deploying Spark with Iceberg support+### Deploying Apache Spark with Apache Iceberg support-Follow the [Spark Iceberg start guide](https://iceberg.apache.org/docs/latest/getting-started/) to setup Spark's and Iceberg's environment. Please keep the Spark version consistent with the `spark-iceberg-runtime` version.+Follow the [Spark Iceberg start guide](https://iceberg.apache.org/docs/latest/getting-started/) to setup Apache Spark's and Apache Iceberg's environment. Please keep the Spark version consistent with the `spark-iceberg-runtime` version.-### Starting the Spark client with the Iceberg REST catalog+### Starting the Apache Spark client with the Apache Iceberg REST catalog| Configuration item | Description ||-----------------------------------|-----------------------------------------------------------------------------------------------------------------------------|| `spark.sql.catalog.${catalog-name}.type` | The Spark catalog type, should set to `rest`. |@@ -112,7 +112,7 @@ For example:--conf spark.sql.catalog.rest.uri=http://127.0.0.1:9001/iceberg/```-### Exploring Iceberg with Spark SQL+### Exploring Apache Iceberg with Apache Spark SQL```sql// First change to use the `rest` catalogdiff --git a/docs/overview.md b/docs/overview.mdindex 48a8aa786d..ced1155198 100644--- a/docs/overview.md+++ b/docs/overview.md@@ -24,11 +24,11 @@ Gravitino aims to provide several key features:-* **Functionality Layer**: Gravitino provides a set of APIs for users to manage and govern the+* **Functionality Layer**: Gravitino provides a set of APIs for users to manage and govern themetadata, including standard metadata creation, update, and delete operations. In the meantime, it also provides the ability to govern the metadata in a unified way, including access control, discovery, and others.-* **Interface Layer**: Gravitino provides standard REST APIs as the interface layer for users. It will also provide Thrift and JDBC interfaces in the future.+* **Interface Layer**: Gravitino provides standard REST APIs as the interface layer for users. It will also provide Thrift and JDBC interfaces in the future.* **Core Object Model**: Gravitino defines a generic metadata model to represent the metadata in different sources and types and manages them in a unified way.-* **Connection Layer**: In the connection layer, Gravitino provides a set of connectors to connect to different metadata sources, including Hive, MySQL, PostgreSQL, and others. It also allows connecting and managing heterogeneous metadata other than Tabular data.+* **Connection Layer**: In the connection layer, Gravitino provides a set of connectors to connect to different metadata sources, including Apache Hive, MySQL, PostgreSQL, and others. It also allows connecting and managing heterogeneous metadata other than Tabular data.## Terminology@@ -38,6 +38,6 @@ The model of Gravitino* **Metalake**: The top-level container for metadata. Typically, one group has one metalake to manage all the metadata in it. Each metalake exposes a three-level namespace(catalog.schema.table) to organize the data.* **Catalog**: catalog is a collection of metadata from a specific metadata source. Each catalog will have 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 Hive, MySQL, PostgreSQL, and others.+* **Schema**: Schema is equivalent to a database, Schemas only exist in the specific catalogs 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 relational metadata sources. Tables can be created in the specific schemas in the catalogs.* **Model**: Model represents the metadata in the specific catalogs that support model management.