Skip to content

Commit

Permalink
Doc: update the project name to Apache Cloudberry
Browse files Browse the repository at this point in the history
Rename the Cloudberry Database to Apache Cloudberry to address the
lastest project name change.
  • Loading branch information
tuhaihe committed Dec 16, 2024
1 parent 0a5cfe1 commit 3325fed
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 26 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ You can participate by:
* [Reporting security issues](./SECURITY.md).
* Testing code, testing releases.
* Creating educational content (Blog posts, tutorials, videos, etc.)
* Spreading the word about Cloudberry Database on social media(eg,
* Spreading the word about Apache Cloudberry on social media(eg,
Twitter, LinkedIn).
* ...
* More things to make Cloudberry better.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<picture>
<source media="(prefers-color-scheme: light)" srcset="./.github/full_color_black.svg">
<source media="(prefers-color-scheme: dark)" srcset="./.github/full_color_white.svg">
<img alt="Cloudberry Database Logo" src="./.github/full_color_black.svg" width="400px">
<img alt="Apache Cloudberry Logo" src="./.github/full_color_black.svg" width="400px">
</picture>
</p>

Expand Down
16 changes: 8 additions & 8 deletions deploy/build/README.Linux.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# Compile and Install Cloudberry Database on Linux
# Compile and Install Apache Cloudberry on Linux

This document shares how to compile and install Cloudberry Database on Linux systems (CentOS 7, RHEL, and Ubuntu). Note that this document is for developers to try out Cloudberry Database in a single-node environments. DO NOT use this document for production environments.
This document shares how to compile and install Apache Cloudberry on Linux systems (CentOS 7, RHEL, and Ubuntu). Note that this document is for developers to try out Apache Cloudberry in a single-node environments. DO NOT use this document for production environments.

Take the following steps to set up the development environments:

1. [Clone the GitHub repo](#step-1-clone-the-github-repo).
2. [Install dependencies](#step-2-install-dependencies).
3. [Perform prerequisite platform tasks](#step-3-perform-prerequisite-platform-tasks).
4. [Build Cloudberry Database](#step-4-build-cloudberry-database).
4. [Build Apache Cloudberry](#step-4-build-apache-cloudberry).
5. [Verify the cluster](#step-5-verify-the-cluster).

## Step 1. Clone the GitHub repo
Expand Down Expand Up @@ -112,7 +112,7 @@ The following steps work on CentOS 7. For other CentOS versions, these steps mig

## Step 3. Perform prerequisite platform tasks

After you have installed all the dependencies for your operating system, it is time to do some prerequisite platform tasks before you go on building Cloudberry Database. These operations include manually running `ldconfig`, creating the `gpadmin` user, and setting up a password to start the Cloudberry Database and test.
After you have installed all the dependencies for your operating system, it is time to do some prerequisite platform tasks before you go on building Apache Cloudberry. These operations include manually running `ldconfig`, creating the `gpadmin` user, and setting up a password to start the Apache Cloudberry and test.

1. Make sure that you add `/usr/local/lib` and `/usr/local/lib64` to the `/etc/ld.so.conf` file.

Expand Down Expand Up @@ -145,9 +145,9 @@ After you have installed all the dependencies for your operating system, it is t
exit
```

## Step 4. Build Cloudberry Database
## Step 4. Build Apache Cloudberry

After you have installed all the dependencies and performed the prerequisite platform tasks, you can start to build Cloudberry Database. Run the following commands in sequence.
After you have installed all the dependencies and performed the prerequisite platform tasks, you can start to build Apache Cloudberry. Run the following commands in sequence.

1. Configure the build environment. Enter the `cloudberrydb` directory and run the `configure` script.

Expand Down Expand Up @@ -214,7 +214,7 @@ After you have installed all the dependencies and performed the prerequisite pla
ps -ef | grep postgres
```

2. Connect to the Cloudberry Database and see the active segment information by querying the system table `gp_segement_configuration`. For detailed description of this table, see the Greenplum document [here](https://docs.vmware.com/en/VMware-Greenplum/6/greenplum-database/ref_guide-system_catalogs-gp_segment_configuration.html).
2. Connect to the Apache Cloudberry and see the active segment information by querying the system table `gp_segement_configuration`. For detailed description of this table, see the Greenplum document [here](https://docs.vmware.com/en/VMware-Greenplum/6/greenplum-database/ref_guide-system_catalogs-gp_segment_configuration.html).

```sql
$ psql -p 7000 postgres
Expand All @@ -224,7 +224,7 @@ After you have installed all the dependencies and performed the prerequisite pla
postgres=# select version();
version
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
PostgreSQL 14.4 (Cloudberry Database 1.0.0+1c0d6e2224 build dev) on x86_64( GCC 13.2.0) 13.2.0, 64-bit compiled on Sep 22 2023 10:56:01
PostgreSQL 14.4 (Apache Cloudberry 1.0.0+1c0d6e2224 build dev) on x86_64( GCC 13.2.0) 13.2.0, 64-bit compiled on Sep 22 2023 10:56:01
(1 row)
postgres=# select * from gp_segment_configuration;
Expand Down
12 changes: 6 additions & 6 deletions deploy/build/README.macOS.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Compile and Install Cloudberry Database on macOS
# Compile and Install Apache Cloudberry on macOS

This document shares how to build, compile, and install Cloudberry Database on macOS for development purposes. Follow the steps below.
This document shares how to build, compile, and install Apache Cloudberry on macOS for development purposes. Follow the steps below.

According to our test, these steps work well on macOS Ventura 13.4+ with both Intel and Apple silicon processors (M1 or M2). If you have an older version of macOS, upgrading is recommended.

Expand Down Expand Up @@ -55,12 +55,12 @@ source deploy/build/README.macOS.bash
BREWPREFIX=$(brew --prefix); export PATH="$BREWPREFIX/opt/gnu-sed/libexec/gnubin:$BREWPREFIX/opt/apr/bin:$PATH"; CXXFLAGS="-I $BREWPREFIX/include" CFLAGS="-ggdb -Og -g3 -fno-omit-frame-pointer -I $BREWPREFIX/include" LDFLAGS="-L $BREWPREFIX/lib" CC=$(which gcc-13) CXX=$(which g++-13) ./configure --enable-debug --prefix=$(cd ~; pwd)/install/cbdb;
# 2. Compile and install Cloudberry Database.
# 2. Compile and install Apache Cloudberry.
make -j8
make -j8 install
# 3. Bring in Greenplum environment for Cloudberry Database into your running shell.
# 3. Bring in Greenplum environment for Apache Cloudberry into your running shell.
source $(cd ~; pwd)/install/cbdb/greenplum_path.sh
Expand All @@ -84,7 +84,7 @@ source gpAux/gpdemo/gpdemo-env.sh
ps -ef | grep postgres
```
2. Connect to the Cloudberry Database and see the active segment information by querying the system table `gp_segement_configuration`. For detailed description of this table, see the Greenplum document [here](https://docs.vmware.com/en/VMware-Greenplum/6/greenplum-database/ref_guide-system_catalogs-gp_segment_configuration.html).
2. Connect to the Apache Cloudberry and see the active segment information by querying the system table `gp_segement_configuration`. For detailed description of this table, see the Greenplum document [here](https://docs.vmware.com/en/VMware-Greenplum/6/greenplum-database/ref_guide-system_catalogs-gp_segment_configuration.html).
```sql
$ psql -p 8000 postgres
Expand All @@ -102,7 +102,7 @@ source gpAux/gpdemo/gpdemo-env.sh
postgres=# select version();
version
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
PostgreSQL 14.4 (Cloudberry Database 1.0.0+1c0d6e2224 build dev) on x86_64-apple-darwin22.4.0, compiled by gcc-13 (Homebrew GCC 13.2.0) 13.2.0, 64-bit compiled on Sep 22 2023 10:56:01
PostgreSQL 14.4 (Apache Cloudberry 1.0.0+1c0d6e2224 build dev) on x86_64-apple-darwin22.4.0, compiled by gcc-13 (Homebrew GCC 13.2.0) 13.2.0, 64-bit compiled on Sep 22 2023 10:56:01
(1 row)
postgres=# select * from gp_segment_configuration;
Expand Down
20 changes: 10 additions & 10 deletions deploy/build/README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<!-- For a better file structure, we moved this guide from original
Greenplum Database READE.md here. Thanks all the original writers.-->

# Build Cloudberry Database from Source Code
# Build Apache Cloudberry from Source Code

This guides describes how to build Cloudberry Database from source code.
This guides describes how to build Apache Cloudberry from source code.

- For building on Linux systems, see [Compile and Install Cloudberry Database on Linux](./README.Linux.md).
- For building on macOS system, see [Compile and Install Cloudberry Database on macOS](./README.macOS.md).
- For building on Linux systems, see [Compile and Install Apache Cloudberry on Linux](./README.Linux.md).
- For building on macOS system, see [Compile and Install Apache Cloudberry on macOS](./README.macOS.md).

## Build the database

Expand Down Expand Up @@ -63,14 +63,14 @@ make installcheck-world
parts, the respective targets can be run separately.

* The PostgreSQL __check__ target does not work. Setting up a
Cloudberry Database cluster is more complicated than a single-node
Apache Cloudberry cluster is more complicated than a single-node
PostgreSQL installation, and no-one's done the work to have __make
check__ create a cluster. Create a cluster manually or use
gpAux/gpdemo/ (example below) and run the toplevel __make
installcheck-world__ against that. Patches are welcome!

* The PostgreSQL __installcheck__ target does not work either, because
some tests are known to fail with Cloudberry Database. The
some tests are known to fail with Apache Cloudberry. The
__installcheck-good__ schedule in __src/test/regress__ excludes
those tests.

Expand All @@ -81,7 +81,7 @@ make installcheck-world

# Alternative Configurations

## Building Cloudberry Database without GPORCA
## Building Apache Cloudberry without GPORCA

Currently, CBDB is built with GPORCA by default. If you want to build CBDB
without GPORCA, configure requires `--disable-orca` flag to be set.
Expand All @@ -94,7 +94,7 @@ make distclean
./configure --disable-orca --with-perl --with-python --with-libxml --prefix=/usr/local/cloudberrydb
```

## Building Cloudberry Database with PXF
## Building Apache Cloudberry with PXF

PXF is an extension framework for Greenplum Database/Cloudberry
Database to enable fast access to external Hadoop datasets. Refer to
Expand All @@ -104,9 +104,9 @@ Currently, CBDB is built with PXF by default (--enable-pxf is on).
In order to build CBDB without pxf, simply invoke `./configure` with additional option `--disable-pxf`.
PXF requires curl, so `--enable-pxf` is not compatible with the `--without-libcurl` option.

## Building Cloudberry Database with Python3 enabled
## Building Apache Cloudberry with Python3 enabled

Cloudberry Database supports Python3 with plpython3u UDF
Apache Cloudberry supports Python3 with plpython3u UDF

See [how to enable Python3](../../src/pl/plpython/README.md) for details.

Expand Down

0 comments on commit 3325fed

Please sign in to comment.