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] Fix documents in line with style guide. (#1026)
Justin Mclean2d4e0fb3bde4
diff --git a/docs/gravitino-manage-hive.md b/docs/gravitino-manage-hive.mdindex 62ab5bc4da..20903d9eb0 100644--- a/docs/gravitino-manage-hive.md+++ b/docs/gravitino-manage-hive.md@@ -15,7 +15,7 @@ Gravitino offers the capability to utilize Apache Hive as a catalog for metadata* Support is available for Apache Hive 2.x.* 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 an Apache Hive Catalog+## Creating an Apache Hive catalogTo create a Hive catalog, use the following steps:Submit a catalog JSON example to the Gravitino server using the URL format:@@ -82,7 +82,7 @@ Example JSON:|---------------------|----------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------|---------------|| `location` | The directory for Hive database storage. Not required, HMS uses the value of `hive.metastore.warehouse.dir` in the hive-site.xml by default. | `/user/hive/warehouse` | 0.1.0 |-## Creating an Apache Hive Table+## Creating an Apache Hive tableAfter creating the schema, 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 19d3542dc7..16fe3705ce 100644--- a/docs/gravitino-server-config.md+++ b/docs/gravitino-server-config.md@@ -24,8 +24,8 @@ The `gravitino.conf` file lists the configuration items in the following table.|------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------|---------------|---------------|| `gravitino.server.webserver.host` | The host of Gravitino server. | `0.0.0.0` | 0.1.0 || `gravitino.server.webserver.httpPort` | The port on which the Gravitino server listens for incoming connections. | `8090` | 0.1.0 |-| `gravitino.server.webserver.minThreads` | The minimum number of threads in the thread pool used by Jetty webserver. `minThreads` will be adjusted to 8 if the value is less than 8. | `Math.max(Math.min(Runtime.getRuntime().availableProcessors() * 2, 100), 8)` | 0.2.0 |-| `gravitino.server.webserver.maxThreads` | The maximum number of threads in the thread pool used by Jetty webserver. `maxThreads` will be adjusted to 8 if the value is less than 8, and `maxThreads` must be great or equal to `minThreads` | `Math.max(Runtime.getRuntime().availableProcessors() * 4, 400)` | 0.1.0 |+| `gravitino.server.webserver.minThreads` | The minimum number of threads in the thread pool used by Jetty webserver. `minThreads` is 8 if the value is less than 8. | `Math.max(Math.min(Runtime.getRuntime().availableProcessors() * 2, 100), 8)` | 0.2.0 |+| `gravitino.server.webserver.maxThreads` | The maximum number of threads in the thread pool used by Jetty webserver. `maxThreads` is 8 if the value is less than 8, and `maxThreads` must be great or equal to `minThreads` | `Math.max(Runtime.getRuntime().availableProcessors() * 4, 400)` | 0.1.0 || `gravitino.server.webserver.threadPoolWorkQueueSize` | The size of the queue in the thread pool used by Jetty webserver. | `100` | 0.1.0 || `gravitino.server.webserver.stopTimeout` | Time in milliseconds to gracefully shutdown the Jetty webserver, for more, please see `org.eclipse.jetty.server.Server#setStopTimeout`. | `30000` | 0.2.0 || `gravitino.server.webserver.idleTimeout` | The timeout in milliseconds of idle connections. | `30000` | 0.2.0 |@@ -38,7 +38,7 @@ The `gravitino.conf` file lists the configuration items in the following table.| Configuration item | Description | Default value | Since version ||---------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------|---------------|| `gravitino.entity.store` | Which storage implementation to use, currently supported is key-value pair storage, the default value is `kv`. | `kv` | 0.1.0 |-| `gravitino.entity.store.kv` | Detailed implementation of Kv storage, currently supported is `RocksDB` storage implementation `RocksDBKvBackend`. | `RocksDBKvBackend` | 0.1.0 |+| `gravitino.entity.store.kv` | Detailed implementation of KV storage, currently supported is `RocksDB` storage implementation `RocksDBKvBackend`. | `RocksDBKvBackend` | 0.1.0 || `gravitino.entity.store.kv.rocksdbPath` | Directory path of `RocksDBKvBackend`, **It's highly recommend that you change this default value** as it's under the deploy directory and future version upgrades may remove it. | `${GRAVITINO_HOME}/data/rocksdb` | 0.1.0 || `graivitino.entity.serde` | The serialization/deserialization class used to support entity storage, currently supported is `proto`. | `proto` | 0.1.0 || `gravitino.entity.store.maxTransactionSkewTimeMs` | The maximum skew time of transactions in milliseconds. | `2000` | 0.3.0 |@@ -48,7 +48,7 @@ The `gravitino.conf` file lists the configuration items in the following table.| Configuration item | Description | Default value | Since version ||-----------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------|---------------|-| `gravitino.catalog.cache.evictionIntervalMs` | The interval in milliseconds to evict the catalog cache, default 3600000ms(1h) | `3600000` | 0.1.0 |+| `gravitino.catalog.cache.evictionIntervalMs` | The interval in milliseconds to evict the catalog cache, default 3600000 ms or 1 hour. | `3600000` | 0.1.0 || `gravitino.catalog.classloader.isolated` | Whether to use an isolated classloader for catalog, if true, an isolated classloader loads all catalog-related libraries and configurations, not the AppClassLoader. The default value is `true`. | `true` | 0.1.0 |## How to set up runtime environment variablesdiff --git a/docs/gravitino-use-iceberg.md b/docs/gravitino-use-iceberg.mdindex bad98304fb..35ab0c2649 100644--- a/docs/gravitino-use-iceberg.md+++ b/docs/gravitino-use-iceberg.md@@ -5,7 +5,7 @@ license: "Copyright 2023 Datastrato.This software is licensed under the Apache License version 2."----## Using Apache Iceberg as a Catalog in Gravitino+## Using Apache Iceberg as a catalog in GravitinoGravitino provides the ability to use Apache Iceberg as a catalog for managing your data. This guide walks you through the steps to create a catalog using Iceberg within Gravitino.@@ -56,7 +56,7 @@ http://{GravitinoServerHost}:8090/api/metalakes/{Your_metalake_name}/catalogs| Configuration item | Description | value ||--------------------|-----------------------------------------------|--------------------------------------------------------------------------------------------------------|| `catalog-backend` | Catalog backend of Gravitino Iceberg catalog. | `hive` or `jdbc` |-| `uri` | The uri config of the Iceberg catalog. | `thrift://127.0.0.1:9083` or `jdbc:postgresql://127.0.0.1:5432/` or `jdbc:mysql://127.0.0.1:3306/test` |+| `uri` | The URI config of the Iceberg catalog. | `thrift://127.0.0.1:9083` or `jdbc:postgresql://127.0.0.1:5432/` or `jdbc:mysql://127.0.0.1:3306/test` || `warehouse` | Warehouse directory of catalog. | `/user/hive/warehouse-hive/` or `hdfs://namespace/hdfs/path` |### HDFS configuration@@ -146,7 +146,7 @@ Gravitino reserves the following fields, and you can't pass them in properties.| `current-snapshot-id` | The snapshot represents the current state of the table. || `cherry-pick-snapshot-id` | Selecting a specific snapshot in a merge operation. || `sort-order` | Selecting a specific snapshot in a merge operation. |-| `identifier-fields` | The identifier field(s) for defining the table. |+| `identifier-fields` | The identifier fields for defining the table. |Regarding Iceberg's properties, you can refer to [official documentation](https://iceberg.apache.org/docs/1.3.1/configuration/).diff --git a/docs/how-to-build.md b/docs/how-to-build.mdindex 53a21432e7..667aaaff0e 100644--- a/docs/how-to-build.md+++ b/docs/how-to-build.md@@ -15,7 +15,7 @@ This software is licensed under the Apache License version 2."Note:-+ Gravitino requires at least JDK8 and at most JDK17 to run Gradle, so you need to++ Gravitino requires at least JDK8 and at most JDK17 to run Gradle, so you need toinstall JDK8 to 17 version to launch the build environment.+ Gravitino itself uses JDK8 to build, Gravitino Trino connector uses JDK17 to build. You don't@@ -30,7 +30,7 @@ Note:+ macOS uses "docker-connector" to make the Gravitino Trino connector work with Dockerfor macOS. For the details of "docker-connector", please see [docker-connector](https://github.com/wenjunxiao/mac-docker-connector) and [README](../dev/docker/tools/README.md).Alternatively, you can use OrbStack to replace Docker for macOS, please see- [OrbStack](https://orbstack.dev/), with OrbStack you can run Gravitino integration tests+ [OrbStack](https://orbstack.dev/), with OrbStack you can run Gravitino integration testswithout needing to install "docker-connector".## Quick start@@ -86,14 +86,14 @@ Note:You can access the Gravitino Web UI by typing http://localhost:8090 in your browser- > Note:- >- > If you need to debug the Gravitino server, enable the `GRAVITINO_DEBUG_OPTS` environment- > variable in the `conf/gravitino-env.sh` file. Then you can create a `Remote JVM Debug`+ > Note:+ >+ > If you need to debug the Gravitino server, enable the `GRAVITINO_DEBUG_OPTS` environment+ > variable in the `conf/gravitino-env.sh` file. Then you can create a `Remote JVM Debug`> configuration in `IntelliJ IDEA` and debug `gravitino.server.main`.>- > Currently, Gravitino server can only run with JDK8 due to some dependencies. Please- > make sure you have JDK8 installed and `JAVA_HOME` configured correctly. To check the Jave+ > Currently, Gravitino server can only run with JDK8 due to some dependencies. Please+ > make sure you have JDK8 installed and `JAVA_HOME` configured correctly. To check the Java> version, you can simply run `${JAVA_HOME}/bin/java -version` command.5. Stop Gravitino Server.diff --git a/docs/integration-test.md b/docs/integration-test.mdindex 6b498b91cf..2fda01407b 100644--- a/docs/integration-test.md+++ b/docs/integration-test.md@@ -95,7 +95,7 @@ By default, using MiniGravitino runs the integration tests. Debugging with MiniG### How to debug deploy mode Gravitino server and integration tests-You have two modes to debug the Gravitino server and integration tests; the `embedded` and `deploy` modes.+You have two modes to debug the Gravitino server and integration tests, the `embedded` and `deploy` modes.1. Embedded Mode is the default:- This mode is simpler to debug but not as close to the actual environment.diff --git a/docs/overview.md b/docs/overview.mdindex 2fce91108d..3294d4f5a3 100644--- a/docs/overview.md+++ b/docs/overview.md@@ -26,7 +26,7 @@ Gravitino aims to provide several key features:* **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. Future support includes Thrift and JDBC interfaces.* **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 Apache Hive, MySQL, PostgreSQL, and others. It also allows connecting and managing heterogeneous metadata other than Tabular data.diff --git a/docs/quick_start.md b/docs/quick_start.mdindex 9c03de7d16..bf5ce00521 100644--- a/docs/quick_start.md+++ b/docs/quick_start.md@@ -11,7 +11,7 @@ Gravitino is a high-performance, geo-distributed, and federated metadata lake. I## Where to get Gravitino?-You can build from [Github](https://github.com/datastrato/gravitino), see [how to build](/docs/how-to-build) for instructions, or use our docker images at [datastrato](https://hub.docker.com/u/datastrato) DockerHub repository. You can also stop and start a local Gravitino server via ``bin/gravitino.sh start`` and ``bin/gravitino.sh stop`` in a Gravitino distribution, see [how to build](/docs/how-to-build) for more instructions.+You can build from [GitHub](https://github.com/datastrato/gravitino), see [how to build](/docs/how-to-build) for instructions, or use our docker images at [Datastrato](https://hub.docker.com/u/datastrato) DockerHub repository. You can also stop and start a local Gravitino server via ``bin/gravitino.sh start`` and ``bin/gravitino.sh stop`` in a Gravitino distribution, see [how to build](/docs/how-to-build) for more instructions.## Where is the documentation?diff --git a/docs/security.md b/docs/security.mdindex 77c02889a9..ba6974099e 100644--- a/docs/security.md+++ b/docs/security.md@@ -53,8 +53,8 @@ GravitinoClient client = GravitinoClient.builder(uri)| `gravitino.authenticator.oauth.allowSkewSecs` | The JWT allows skew seconds when Gravitino uses OAuth as the authenticator. | `0` | 0.3.0 || `gravitino.authenticator.oauth.defaultSignKey` | The signing key of JWT when Gravitino uses OAuth as the authenticator. | `` | 0.3.0 || `gravitino.authenticator.oauth.signAlgorithmType` | The signature algorithm when Gravitino uses OAuth as the authenticator. | `RS256` | 0.3.0 |-| `gravitino.authenticator.oauth.serverUri` | The uri of the default OAuth server | `` | 0.3.0 |-| `gravitino.authenticator.oauth.tokenPath` | The path for token of the default OAuth server | `` | 0.3.0 |+| `gravitino.authenticator.oauth.serverUri` | The URI of the default OAuth server. | `` | 0.3.0 |+| `gravitino.authenticator.oauth.tokenPath` | The path for token of the default OAuth server. | `` | 0.3.0 |The signature algorithms that Gravitino supports follows:@@ -75,41 +75,42 @@ The signature algorithms that Gravitino supports follows:## HTTPS configurationUsers would better use HTTPS instead of HTTP if users choose OAuth 2.0 as the authenticator.-Because HTTPS will protect the header of request from smuggling and HTTPS will be safer.+HTTPS protects the header of the request from smuggling, making it safer.If users choose to enable HTTPS, Gravitino won't provide the ability of HTTP service.Both Gravitino server and Iceberg REST service can configure HTTPS.### Gravitino server's configuration| Configuration item | Description | Default value | Since version ||-----------------------------------------------------|------------------------------------------------------------|---------------|---------------|-| `gravitino.server.webserver.enableHttps` | Enables https | `false` | 0.3.0 |-| `gravitino.server.webserver.httpsPort` | The https port number of the Jetty web server | `8433` | 0.3.0 |-| `gravitino.server.webserver.keyStorePath` | Path to the key store file | `` | 0.3.0 |-| `gravitino.server.webserver.keyStorePassword` | Password to the key store | `` | 0.3.0 |-| `gravitino.server.webserver.keyStoreType` | The type to the key store | `JKS` | 0.3.0 |-| `gravitino.server.webserver.managerPassword` | Manager password to the key store | `` | 0.3.0 |-| `gravitino.server.webserver.tlsProtocol` | TLS protocol to use. The protocol must be supported by JVM | none | 0.3.0 |-| `gravitino.server.webserver.enableCipherAlgorithms` | The collection of the cipher algorithms which are enabled. | `` | 0.3.0 |-| `gravitino.server.webserver.enableClientAuth` | Enables the authentication of the client | `false` | 0.3.0 |-| `gravitino.server.webserver.trustStorePath` | Path to the trust store file | `` | 0.3.0 |-| `gravitino.server.webserver.trustStorePassword` | Password to the trust store | `` | 0.3.0 |-| `gravitino.server.webserver.trustStoreType` | The type to the trust store | `JKS` | 0.3.0 |+| `gravitino.server.webserver.enableHttps` | Enables HTTPS. | `false` | 0.3.0 |+| `gravitino.server.webserver.httpsPort` | The HTTPS port number of the Jetty web server. | `8433` | 0.3.0 |+| `gravitino.server.webserver.keyStorePath` | Path to the key store file. | `` | 0.3.0 |+| `gravitino.server.webserver.keyStorePassword` | Password to the key store. | `` | 0.3.0 |+| `gravitino.server.webserver.keyStoreType` | The type to the key store. | `JKS` | 0.3.0 |+| `gravitino.server.webserver.managerPassword` | Manager password to the key store. | `` | 0.3.0 |+| `gravitino.server.webserver.tlsProtocol` | TLS protocol to use. The JVM must support the TLS protocol to use. | none | 0.3.0 |+| `gravitino.server.webserver.enableCipherAlgorithms` | The collection of enabled cipher algorithms. | `` | 0.3.0 |+| `gravitino.server.webserver.enableClientAuth` | Enables the authentication of the client. | `false` | 0.3.0 |+| `gravitino.server.webserver.trustStorePath` | Path to the trust store file. | `` | 0.3.0 |+| `gravitino.server.webserver.trustStorePassword` | Password to the trust store. | `` | 0.3.0 |+| `gravitino.server.webserver.trustStoreType` | The type to the trust store. | `JKS` | 0.3.0 |### Iceberg REST service's configuration| Configuration item | Description | Default value | Since version ||------------------------------------------------------------|------------------------------------------------------------|---------------|---------------|-| `gravitino.auxService.iceberg-rest.enableHttps` | Enables https | `false` | 0.3.0 |-| `gravitino.auxService.iceberg-rest.httpsPort` | The https port number of the Jetty web server | `8433` | 0.3.0 |-| `gravitino.auxService.iceberg-rest.keyStorePath` | Path to the key store file | `` | 0.3.0 |-| `gravitino.auxService.iceberg-rest.keyStorePassword` | Password to the key store | `` | 0.3.0 |-| `gravitino.uxService.iceberg-rest.keyStoreType` | The type to the key store | `JKS` | 0.3.0 |-| `gravitino.auxService.iceberg-rest.managerPassword` | Manager password to the key store | `` | 0.3.0 |-| `gravitino.auxService.iceberg-rest.tlsProtocol` | TLS protocol to use. The protocol must be supported by JVM | none | 0.3.0 |-| `gravitino.auxService.iceberg-rest.enableCipherAlgorithms` | The collection of the cipher algorithms which are enabled | `` | 0.3.0 |-| `gravitino.auxService.iceberg-rest.enableClientAuth` | Enables the authentication of the client | `false` | 0.3.0 |-| `gravitino.auxService.iceberg-rest.trustStorePath` | Path to the trust store file | `` | 0.3.0 |-| `gravitino.auxService.iceberg-rest.trustStorePassword` | Password to the trust store | `` | 0.3.0 |-| `gravitino.auxService.iceberg-rest.trustStoreType` | The type to the trust store | `JKS` | 0.3.0 |--About `tlsProtocol`, the reference list of protocols can be found in the "Additional JSSE Standard Names" section of the Java security guide. The list for Java 8 can be found at [this](https://docs.oracle.com/javase/8/docs/technotes/guides/security/StandardNames.html#jssenames).-About `enableCipherAlgorithms`, the reference list of protocols can be found in the "JSSE Cipher Suite Names" section of the Java security guide. The list for Java 8 can be found at [this](https://docs.oracle.com/javase/8/docs/technotes/guides/security/StandardNames.html#ciphersuites)\ No newline at end of file+| `gravitino.auxService.iceberg-rest.enableHttps` | Enables HTTPS. | `false` | 0.3.0 |+| `gravitino.auxService.iceberg-rest.httpsPort` | The HTTPS port number of the Jetty web server. | `8433` | 0.3.0 |+| `gravitino.auxService.iceberg-rest.keyStorePath` | Path to the key store file. | `` | 0.3.0 |+| `gravitino.auxService.iceberg-rest.keyStorePassword` | Password to the key store. | `` | 0.3.0 |+| `gravitino.uxService.iceberg-rest.keyStoreType` | The type to the key store. | `JKS` | 0.3.0 |+| `gravitino.auxService.iceberg-rest.managerPassword` | Manager password to the key store. | `` | 0.3.0 |+| `gravitino.auxService.iceberg-rest.tlsProtocol` | TLS protocol to use. The JVM must support the TLS protocol to use.| none | 0.3.0 |+| `gravitino.auxService.iceberg-rest.enableCipherAlgorithms` | The collection of enabled cipher algorithms. | `` | 0.3.0 |+| `gravitino.auxService.iceberg-rest.enableClientAuth` | Enables the authentication of the client. | `false` | 0.3.0 |+| `gravitino.auxService.iceberg-rest.trustStorePath` | Path to the trust store file. | `` | 0.3.0 |+| `gravitino.auxService.iceberg-rest.trustStorePassword` | Password to the trust store. | `` | 0.3.0 |+| `gravitino.auxService.iceberg-rest.trustStoreType` | The type to the trust store. | `JKS` | 0.3.0 |++Refer to the "Additional JSSE Standard Names" section of the [Java security guide](https://docs.oracle.com/javase/8/docs/technotes/guides/security/StandardNames.html#jssenames) for the list of protocols related to tlsProtocol. You can find the list of `tlsProtocol` values for Java 8 in this document.++Refer to the "Additional JSSE Standard Names" section of the [Java security guide](https://docs.oracle.com/javase/8/docs/technotes/guides/security/StandardNames.html#ciphersuites) for the list of protocols related to tlsProtocol. You can find the list of `enableCipherAlgorithms` values for Java 8 in this document.