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 some typos and remove unnecessary scripts (#1087)
Jerry Shao0aeebc074ecf
diff --git a/docs/README.md b/docs/README.mddeleted file mode 100644index 193a530bc0..0000000000--- a/docs/README.md+++ /dev/null@@ -1,42 +0,0 @@-----title: "Gravitino Documentation"-date: 2023-10-03T09:03:20-08:00-license: "Copyright 2023 Datastrato Pvt Ltd.-This software is licensed under the Apache License version 2."-----## Gravitino documentation--## Launch Gravitino document website--Execute `./launch-docs-website.sh` scripts. The script will create the Gravitino document website locally following these steps:--1. Create a `build` directory within the `docs` directory.-2. Automatically download the [Hugo](https://github.com/gohugoio/hugo) binary executable file into the `build` directory.-3. Use the `hugo new site web` command to create the website project within the `build` directory.-4. Copy all markdown files into `web/content/docs` to generate the HTML for the document website using Hugo.-5. Copy the entire assets directory into `web/static` to include the images referenced in the document website HTML.-6. Automatically replace the Markdown embedded image addresses with Hugo website absolute paths.- > This is necessary because Markdown embedded images use relative paths, whereas Hugo website images require absolute paths.- > Replace `"-bin="$(cd "${bin}">/dev/null; pwd)"--USAGE="Usage: launch-docs-website.sh [update]"--OS=$(uname -s)-if [ "$OS" == "Darwin" ]; then- HUGO_OS_NAME="darwin-universal"-elif [[ "$OS" == "Linux" ]]; then- HUGO_OS_NAME="linux-amd64"-else- echo "Currently only support macOS or Linux."- exit 1-fi--# Download Hugo-HUGO_VERSION="0.119.0"-HUGO_PACKAGE_NAME="hugo_${HUGO_VERSION}_${HUGO_OS_NAME}.tar.gz"-HUGO_DOWNLOAD_URL="https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/${HUGO_PACKAGE_NAME}"--# Because Markdown embedded images are relative paths,-# Hugo website images are absolute paths.-function hugo_image_path_process() {- for file in ${1}/*; do- if [[ -d ${file} ]]; then- hugo_image_path_process "${file}"- elif [[ -f ${file} ]]; then- # Replace ` {- # Create a new Hugo website docs directory- if [[ ! -d ${bin}/build/web/content/docs ]]; then- mkdir -p ${bin}/build/web/content/docs- fi-- # Copy all markdown files to the Hugo website docs directory- # 1. Copy all root directory markdown files- rsync -av --exclude='README.md' ${bin}/*.md ${bin}/build/web/content/docs-- # 2. Copy all subdirectory markdown files- subDirs=$(find "${bin}" -type d -mindepth 1 -maxdepth 1)- for subDir in ${subDirs}; do- if [[ ${subDir} != ${bin}/build && ${subDir} != ${bin}/assets ]]; then- cp -r ${subDir} ${bin}/build/web/content/docs- fi- done-- # 3. Copy all assets to the Hugo website static directory- cp -r "${bin}/assets" "${bin}/build/web/static"-- # Replace the Markdown embedded images with Hugo website absolute paths- hugo_image_path_process "${bin}/build/web/content/docs"-}--# Launch the Hugo website-function launch_website() {- # Prepare download packages- if [[ ! -d "${bin}/build" ]]; then- mkdir -p "${bin}/build"- fi-- if [ ! -f "${bin}/build/hugo" ]; then- wget -q -P "${bin}/build" ${HUGO_DOWNLOAD_URL}- tar -xzf "${bin}/build/${HUGO_PACKAGE_NAME}" -C "${bin}/build"- rm -rf "${bin}/build/${HUGO_PACKAGE_NAME}"- fi-- # Remove the old Hugo website- cd ${bin}/build- rm -rf ${bin}/build/web-- # Create a new Hugo website- ${bin}/build/hugo new site web-- # Setting the Hugo theme- cd ${bin}/build/web- git clone https://github.com/datastratolabs/gohugo-theme-ananke.git themes/ananke-- # Set the Hugo website configuration- echo "languageCode = 'en-us'- title = 'Gravitino Docs'- theme = 'ananke'" > hugo.toml-- copy_docs-- # Start the Hugo server- ${bin}/build/hugo server --buildDrafts-}--if [[ "$1" == "update" ]]; then- copy_docs-elif [[ "$1" != "" ]]; then- echo ${USAGE}-else- launch_website-fi\ No newline at end of filediff --git a/docs/overview.md b/docs/overview.mdindex 520febb109..57d583eb53 100644--- a/docs/overview.md+++ b/docs/overview.md@@ -34,7 +34,7 @@ Gravitino aims to provide several key features:### Unified metadata management and governanceGravitino abstracts the unified metadata models and APIs for different kinds of metadata sources.-For example, relational metadata models for tabular data, like Hive, MySQL, PostgresSQL, etc.+For example, relational metadata models for tabular data, like Hive, MySQL, PostgreSQL, etc.File metadata model for all the unstructured data, like HDFS, S3, and others.Besides the unified metadata models, Gravitino also provides a unified metadata governance layer@@ -44,8 +44,8 @@ others.### Direct metadata managementUnlike the traditional metadata management systems, which need to collect the metadata-actively or passively from underlying systems, Gravitino manages these systems directly-the metadata directly. It provides a set of connectors to connect to different metadata sources,+actively or passively from underlying systems, Gravitino manages these systems directly.+It provides a set of connectors to connect to different metadata sources,the changes in Gravitino will directly reflect in the underlying systems, and vice versa.### Geo-distribution support (WIP)diff --git a/docs/quick_start.md b/docs/quick_start.mddeleted file mode 100644index 4430a289ad..0000000000--- a/docs/quick_start.md+++ /dev/null@@ -1,22 +0,0 @@-----title: "Gravitino Quick Start"-date: 2023-10-20T17:00:00-11:00-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 unified access to the metadata for both data and AI assets.--## 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.--## Where is the documentation?--Gravitino has a local documentation website that you can view by following the instructions in ``README.md``.--## How to contribute to Gravitino?--Gravitino is open source software under the Apache License version 2, contributions to the repository in [GitHub](https://github.com/datastrato/gravitino) are welcome.