This is an automated email from the ASF dual-hosted git repository. djwang pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/cloudberry-site.git
The following commit(s) were added to refs/heads/main by this push: new 4fc05693e4 Add cloudberry-env.sh file and replacing greenplum-path.sh 4fc05693e4 is described below commit 4fc05693e440c1773f4b4588d78e44eeb437cf9a Author: Leonid Borchuk <xi...@qavm-f9b691f5.qemu> AuthorDate: Mon Jul 21 08:07:09 2025 +0000 Add cloudberry-env.sh file and replacing greenplum-path.sh The changes will be made in a future Apache Cloudberry release to ensure compliance with Apache Software Foundation guidelines. See details in discussion [Bug] Rename greenplum_path.sh and generate-greenplum-path.sh to remove trademarked references #1149 mailing list https://lists.apache.org/thread/b8o974mnnqk6zpy86dgll2pgqcvqgnwm PR could be merged after https://github.com/apache/cloudberry/pull/1166 --- docs/advanced-analytics/postgis.md | 2 +- docs/cbdb-op-deploy-guide.md | 4 ++-- docs/deployment/create-gpadmin-user.md | 6 +++--- docs/deployment/quick-build.md | 12 ++++++------ docs/deployment/set-demo-cluster.md | 2 +- docs/performance/investigate-performance-issues.md | 2 +- docs/security/client-auth.md | 2 +- docs/security/log-auditing.md | 2 +- docs/sys-admin/check-database-system.md | 2 +- docs/sys-utilities/gpdemo.md | 4 ++-- docs/sys-utilities/gplogfilter.md | 4 ++-- docs/sys-utilities/gpssh.md | 2 +- docs/sys-utilities/pg-filedump.md | 2 +- versioned_docs/version-2.x/advanced-analytics/postgis.md | 2 +- versioned_docs/version-2.x/cbdb-op-deploy-guide.md | 4 ++-- versioned_docs/version-2.x/deployment/create-gpadmin-user.md | 4 ++-- versioned_docs/version-2.x/deployment/quick-build.md | 12 ++++++------ versioned_docs/version-2.x/deployment/set-demo-cluster.md | 2 +- .../performance/investigate-performance-issues.md | 2 +- versioned_docs/version-2.x/security/client-auth.md | 2 +- versioned_docs/version-2.x/security/log-auditing.md | 2 +- .../version-2.x/sys-admin/check-database-system.md | 2 +- versioned_docs/version-2.x/sys-utilities/gpdemo.md | 2 +- versioned_docs/version-2.x/sys-utilities/gplogfilter.md | 4 ++-- versioned_docs/version-2.x/sys-utilities/gpssh.md | 2 +- versioned_docs/version-2.x/sys-utilities/pg-filedump.md | 2 +- 26 files changed, 44 insertions(+), 44 deletions(-) diff --git a/docs/advanced-analytics/postgis.md b/docs/advanced-analytics/postgis.md index fded9b0bca..7811e4be01 100644 --- a/docs/advanced-analytics/postgis.md +++ b/docs/advanced-analytics/postgis.md @@ -105,7 +105,7 @@ Before you get started, ensure that the Apache Cloudberry is correctly installed Before starting the compilation process, run the following commands to make sure the environment variables are set ready: ```bash - source /usr/local/cloudberry/greenplum_path.sh + source /usr/local/cloudberry/cloudberry-env.sh source /home/gpadmin/cloudberry/gpAux/gpdemo/gpdemo-env.sh scl enable devtoolset-10 bash source /opt/rh/devtoolset-10/enable diff --git a/docs/cbdb-op-deploy-guide.md b/docs/cbdb-op-deploy-guide.md index 5f12377008..016cf34bce 100644 --- a/docs/cbdb-op-deploy-guide.md +++ b/docs/cbdb-op-deploy-guide.md @@ -121,7 +121,7 @@ After the preparation, it is time to install Apache Cloudberry. You need to down => ``` - If you fail to run `gpssh`, you can first run `source /usr/local/cloudberry/greenplum_path.sh` on the coordinator node. + If you fail to run `gpssh`, you can first run `source /usr/local/cloudberry/cliudberry-env.sh` on the coordinator node. ## Step 4. Initialize Apache Cloudberry @@ -130,7 +130,7 @@ Before performing the following operations, run `su - gpadmin` to switch to the 1. Add a new line of `source` command to the `~/.bashrc` files of all nodes (coordinator/standby coordinator/segment). The example is as follows: ```bash - source /usr/local/cloudberry/greenplum_path.sh + source /usr/local/cloudberry/cloudberry-env.sh ``` 2. Run the `source` command to make the newly added content effective: diff --git a/docs/deployment/create-gpadmin-user.md b/docs/deployment/create-gpadmin-user.md index cfcec02008..7eb54d1427 100644 --- a/docs/deployment/create-gpadmin-user.md +++ b/docs/deployment/create-gpadmin-user.md @@ -66,8 +66,8 @@ The script uses a heredoc (EOF) block to execute multiple commands under the `gp sudo -u gpadmin bash <<'EOF' # Add Cloudberry environment setup to .bashrc echo -e '\n# Add Cloudberry entries -if [ -f /usr/local/cloudberry-db/greenplum_path.sh ]; then - source /usr/local/cloudberry-db/greenplum_path.sh +if [ -f /usr/local/cloudberry-db/cloudberry-env.sh ]; then + source /usr/local/cloudberry-db/cloudberry-env.sh fi # US English with UTF-8 character encoding @@ -86,4 +86,4 @@ chmod 700 /home/gpadmin/.ssh chmod 600 /home/gpadmin/.ssh/authorized_keys chmod 644 /home/gpadmin/.ssh/id_rsa.pub EOF -``` \ No newline at end of file +``` diff --git a/docs/deployment/quick-build.md b/docs/deployment/quick-build.md index 2fe0549877..9ccce40030 100644 --- a/docs/deployment/quick-build.md +++ b/docs/deployment/quick-build.md @@ -26,8 +26,8 @@ sudo -u gpadmin sudo whoami # if the output is root, the configuration is correc sudo -u gpadmin bash <<'EOF' ## Add Cloudberry environment setup to .bashrc echo -e '\n# Add Cloudberry entries -if [ -f /usr/local/cloudberry-db/greenplum_path.sh ]; then - source /usr/local/cloudberry-db/greenplum_path.sh +if [ -f /usr/local/cloudberry-db/cloudberry-env.sh ]; then + source /usr/local/cloudberry-db/cloudberry-env.sh fi ## US English with UTF-8 character encoding export LANG=en_US.UTF-8 @@ -177,7 +177,7 @@ make install -C ~/cloudberry/contrib ldd /usr/local/cloudberry-db/bin/postgres # Set up a Cloudberry demo cluster -source /usr/local/cloudberry-db/greenplum_path.sh +source /usr/local/cloudberry-db/cloudberry-env.sh make create-demo-cluster -C ~/cloudberry source ~/cloudberry/gpAux/gpdemo/gpdemo-env.sh psql -P pager=off template1 -c 'SELECT * from gp_segment_configuration' @@ -200,8 +200,8 @@ sudo -u gpadmin sudo whoami # if the output is root, the configuration is correc sudo -u gpadmin bash <<'EOF' ## Add Cloudberry environment setup to .bashrc echo -e '\n# Add Cloudberry entries -if [ -f /usr/local/cloudberry-db/greenplum_path.sh ]; then - source /usr/local/cloudberry-db/greenplum_path.sh +if [ -f /usr/local/cloudberry-db/cloudberry-env.sh ]; then + source /usr/local/cloudberry-db/cloudberry-env.sh fi ## US English with UTF-8 character encoding export LANG=en_US.UTF-8 @@ -326,7 +326,7 @@ make install -C ~/cloudberry/contrib ldd /usr/local/cloudberry-db/bin/postgres # Set up a Cloudberry demo cluster -source /usr/local/cloudberry-db/greenplum_path.sh +source /usr/local/cloudberry-db/cloudberry-env.sh make create-demo-cluster -C ~/cloudberry source ~/cloudberry/gpAux/gpdemo/gpdemo-env.sh psql -P pager=off template1 -c 'SELECT * from gp_segment_configuration' diff --git a/docs/deployment/set-demo-cluster.md b/docs/deployment/set-demo-cluster.md index fee5d0a3bb..18cedfc3d7 100644 --- a/docs/deployment/set-demo-cluster.md +++ b/docs/deployment/set-demo-cluster.md @@ -33,7 +33,7 @@ ssh $(hostname) date Load Cloudberry environment variables that set up paths for binaries, libraries, and other essential components: ```bash -source /usr/local/cloudberry-db/greenplum_path.sh +source /usr/local/cloudberry-db/cloudberry-env.sh ``` ## Create development cluster diff --git a/docs/performance/investigate-performance-issues.md b/docs/performance/investigate-performance-issues.md index 664cdb8113..1f277ee817 100644 --- a/docs/performance/investigate-performance-issues.md +++ b/docs/performance/investigate-performance-issues.md @@ -94,6 +94,6 @@ To search for related log entries in the segment log files, you can run `gplogfi ```shell gpssh -f seg_hosts_file -e 'source -/usr/local/cloudberry-db/greenplum_path.sh ; gplogfilter -f +/usr/local/cloudberry-db/cloudberry-env.sh ; gplogfilter -f con6 /gpdata/*/log/gpdb*.csv' > seglog.out ``` diff --git a/docs/security/client-auth.md b/docs/security/client-auth.md index ffe9f965a3..daf0d7f9bd 100644 --- a/docs/security/client-auth.md +++ b/docs/security/client-auth.md @@ -363,7 +363,7 @@ The following steps set the parameter values with the Apache Cloudberry utility ### Change the number of allowed connections -1. Log into the Apache Cloudberry coordinator host as the Apache Cloudberry administrator and source the file `$GPHOME/greenplum_path.sh`. +1. Log into the Apache Cloudberry coordinator host as the Apache Cloudberry administrator and source the file `$GPHOME/cloudberry-env.sh`. 2. Set the value of the `max_connections` parameter. This `gpconfig` command sets the value on the segments to 1000 and the value on the coordinator to 200. ```shell diff --git a/docs/security/log-auditing.md b/docs/security/log-auditing.md index 4a6fd23ed5..9b2560cefb 100644 --- a/docs/security/log-auditing.md +++ b/docs/security/log-auditing.md @@ -63,7 +63,7 @@ You can also use `gplogfilter` to search through all segment log files at once b ```shell $ gpssh -f seg_host_file - => source /usr/local/cloudberry-db/greenplum_path.sh + => source /usr/local/cloudberry-db/cloudberry-env.sh => gplogfilter -n 3 /data*/*/gp*/pg_log/gpdb*.csv ``` diff --git a/docs/sys-admin/check-database-system.md b/docs/sys-admin/check-database-system.md index 8cb7035ebd..d77a4fbfc9 100644 --- a/docs/sys-admin/check-database-system.md +++ b/docs/sys-admin/check-database-system.md @@ -462,7 +462,7 @@ gpssh -f <seg_host_file> ``` ```shell -=> source /usr/local/cloudberry/greenplum_path.sh +=> source /usr/local/cloudberry/cloudberry-env.sh => gplogfilter -n 3 <seg_host_file> ``` --> diff --git a/docs/sys-utilities/gpdemo.md b/docs/sys-utilities/gpdemo.md index 6c848f0aa5..7e9ce23dc5 100644 --- a/docs/sys-utilities/gpdemo.md +++ b/docs/sys-utilities/gpdemo.md @@ -14,7 +14,7 @@ It is not recommended to use `gpdemo` for production environments, except when d ## How to use -You can run `gpdemo` once the RPM package is installed on the target server and `greenplum_path.sh` is correctly loaded. +You can run `gpdemo` once the RPM package is installed on the target server and `cloudberry-env.sh` is correctly loaded. ### Deploy with default settings @@ -108,4 +108,4 @@ PORT_BASE=7000 gpdemo | `-d` | Deletes the test cluster.<br /><br />Before running `gpdemo -c`, you need to run `source gpdemo-env.sh` to load the basic information of a cluster. The `sh` file is located in the directory where the cluster is created. | | `-p` | Views cluster status, version and other information of the coordinator and segment nodes.<br /><br />Before running `gpdemo -c`, you need to run `source gpdemo-env.sh` to load the basic information of a cluster. The `sh` file is located in the directory where the cluster is created. | | `-H ` or `-H` | `gpdemo -h` outputs a brief help description.`gpdemo -H` outputs a more detailed help description, including additional configurations such as environment variables. | -| `-v` | Checks the current `gpdemo` version. | \ No newline at end of file +| `-v` | Checks the current `gpdemo` version. | diff --git a/docs/sys-utilities/gplogfilter.md b/docs/sys-utilities/gplogfilter.md index 11574d4d66..b7e6b1e9be 100644 --- a/docs/sys-utilities/gplogfilter.md +++ b/docs/sys-utilities/gplogfilter.md @@ -25,7 +25,7 @@ You can also use `gplogfilter` to search through all segment log files at once b ```shell gpssh -f seg_host_file -=> source /usr/local/cloudberry/greenplum_path.sh +=> source /usr/local/cloudberry/cloudberry-env.sh => gplogfilter -n 3 /gpdata/*/log/gpdb*.csv ``` @@ -153,7 +153,7 @@ Using [gpssh](/docs/sys-utilities/gpssh.md), run `gplogfilter` on the segment ho ```shell gpssh -f seg_hosts_file -e 'source -/usr/local/cloudberry/greenplum_path.sh ; gplogfilter -f +/usr/local/cloudberry/cloudberry-env.sh ; gplogfilter -f con6 /gpdata/*/log/gpdb*.csv' > seglog.out ``` diff --git a/docs/sys-utilities/gpssh.md b/docs/sys-utilities/gpssh.md index 43a01d620c..9f512abb6d 100644 --- a/docs/sys-utilities/gpssh.md +++ b/docs/sys-utilities/gpssh.md @@ -58,7 +58,7 @@ Specifies a single host name that will participate in this SSH session. You can **`-s`** -Optional. If specified, before running any commands on the target host, `gpssh` sources the file `greenplum_path.sh` in the directory specified by the `$GPHOME` environment variable. +Optional. If specified, before running any commands on the target host, `gpssh` sources the file `cloudberry-env.sh` in the directory specified by the `$GPHOME` environment variable. This option is valid for both interactive mode and single command mode. diff --git a/docs/sys-utilities/pg-filedump.md b/docs/sys-utilities/pg-filedump.md index e1dc2f0228..769e9a3cc0 100644 --- a/docs/sys-utilities/pg-filedump.md +++ b/docs/sys-utilities/pg-filedump.md @@ -25,7 +25,7 @@ Before compiling filedump, you need to have a Apache Cloudberry cluster installe ```bash su - gpadmin - source /usr/local/cloudberry/greenplum_path.sh + source /usr/local/cloudberry/cloudberry-env.sh ``` 2. Clone the GitHub repository `cloudberry-contrib/filedump` to your local environment: diff --git a/versioned_docs/version-2.x/advanced-analytics/postgis.md b/versioned_docs/version-2.x/advanced-analytics/postgis.md index fded9b0bca..7811e4be01 100644 --- a/versioned_docs/version-2.x/advanced-analytics/postgis.md +++ b/versioned_docs/version-2.x/advanced-analytics/postgis.md @@ -105,7 +105,7 @@ Before you get started, ensure that the Apache Cloudberry is correctly installed Before starting the compilation process, run the following commands to make sure the environment variables are set ready: ```bash - source /usr/local/cloudberry/greenplum_path.sh + source /usr/local/cloudberry/cloudberry-env.sh source /home/gpadmin/cloudberry/gpAux/gpdemo/gpdemo-env.sh scl enable devtoolset-10 bash source /opt/rh/devtoolset-10/enable diff --git a/versioned_docs/version-2.x/cbdb-op-deploy-guide.md b/versioned_docs/version-2.x/cbdb-op-deploy-guide.md index 5f12377008..cf9eb67ef9 100644 --- a/versioned_docs/version-2.x/cbdb-op-deploy-guide.md +++ b/versioned_docs/version-2.x/cbdb-op-deploy-guide.md @@ -121,7 +121,7 @@ After the preparation, it is time to install Apache Cloudberry. You need to down => ``` - If you fail to run `gpssh`, you can first run `source /usr/local/cloudberry/greenplum_path.sh` on the coordinator node. + If you fail to run `gpssh`, you can first run `source /usr/local/cloudberry/cloudberry-env.sh` on the coordinator node. ## Step 4. Initialize Apache Cloudberry @@ -130,7 +130,7 @@ Before performing the following operations, run `su - gpadmin` to switch to the 1. Add a new line of `source` command to the `~/.bashrc` files of all nodes (coordinator/standby coordinator/segment). The example is as follows: ```bash - source /usr/local/cloudberry/greenplum_path.sh + source /usr/local/cloudberry/cloudberry-env.sh ``` 2. Run the `source` command to make the newly added content effective: diff --git a/versioned_docs/version-2.x/deployment/create-gpadmin-user.md b/versioned_docs/version-2.x/deployment/create-gpadmin-user.md index cfcec02008..e5c85abf04 100644 --- a/versioned_docs/version-2.x/deployment/create-gpadmin-user.md +++ b/versioned_docs/version-2.x/deployment/create-gpadmin-user.md @@ -66,8 +66,8 @@ The script uses a heredoc (EOF) block to execute multiple commands under the `gp sudo -u gpadmin bash <<'EOF' # Add Cloudberry environment setup to .bashrc echo -e '\n# Add Cloudberry entries -if [ -f /usr/local/cloudberry-db/greenplum_path.sh ]; then - source /usr/local/cloudberry-db/greenplum_path.sh +if [ -f /usr/local/cloudberry-db/cloudberry-env.sh ]; then + source /usr/local/cloudberry-db/cloudberry-env.sh fi # US English with UTF-8 character encoding diff --git a/versioned_docs/version-2.x/deployment/quick-build.md b/versioned_docs/version-2.x/deployment/quick-build.md index 9dc1adfa4a..886274fdd3 100644 --- a/versioned_docs/version-2.x/deployment/quick-build.md +++ b/versioned_docs/version-2.x/deployment/quick-build.md @@ -26,8 +26,8 @@ sudo -u gpadmin sudo whoami # if the output is root, the configuration is correc sudo -u gpadmin bash <<'EOF' ## Add Cloudberry environment setup to .bashrc echo -e '\n# Add Cloudberry entries -if [ -f /usr/local/cloudberry-db/greenplum_path.sh ]; then - source /usr/local/cloudberry-db/greenplum_path.sh +if [ -f /usr/local/cloudberry-db/cloudberry-env.sh ]; then + source /usr/local/cloudberry-db/cloudberry-env.sh fi ## US English with UTF-8 character encoding export LANG=en_US.UTF-8 @@ -183,7 +183,7 @@ make install -C ~/cloudberry/contrib ldd /usr/local/cloudberry-db/bin/postgres # Set up a Cloudberry demo cluster -source /usr/local/cloudberry-db/greenplum_path.sh +source /usr/local/cloudberry-db/cloudberry-env.sh make create-demo-cluster -C ~/cloudberry source ~/cloudberry/gpAux/gpdemo/gpdemo-env.sh psql -P pager=off template1 -c 'SELECT * from gp_segment_configuration' @@ -206,8 +206,8 @@ sudo -u gpadmin sudo whoami # if the output is root, the configuration is correc sudo -u gpadmin bash <<'EOF' ## Add Cloudberry environment setup to .bashrc echo -e '\n# Add Cloudberry entries -if [ -f /usr/local/cloudberry-db/greenplum_path.sh ]; then - source /usr/local/cloudberry-db/greenplum_path.sh +if [ -f /usr/local/cloudberry-db/cloudberry-env.sh ]; then + source /usr/local/cloudberry-db/cloudberry-env.sh fi ## US English with UTF-8 character encoding export LANG=en_US.UTF-8 @@ -332,7 +332,7 @@ make install -C ~/cloudberry/contrib ldd /usr/local/cloudberry-db/bin/postgres # Set up a Cloudberry demo cluster -source /usr/local/cloudberry-db/greenplum_path.sh +source /usr/local/cloudberry-db/cloudberry-env.sh make create-demo-cluster -C ~/cloudberry source ~/cloudberry/gpAux/gpdemo/gpdemo-env.sh psql -P pager=off template1 -c 'SELECT * from gp_segment_configuration' diff --git a/versioned_docs/version-2.x/deployment/set-demo-cluster.md b/versioned_docs/version-2.x/deployment/set-demo-cluster.md index fee5d0a3bb..18cedfc3d7 100644 --- a/versioned_docs/version-2.x/deployment/set-demo-cluster.md +++ b/versioned_docs/version-2.x/deployment/set-demo-cluster.md @@ -33,7 +33,7 @@ ssh $(hostname) date Load Cloudberry environment variables that set up paths for binaries, libraries, and other essential components: ```bash -source /usr/local/cloudberry-db/greenplum_path.sh +source /usr/local/cloudberry-db/cloudberry-env.sh ``` ## Create development cluster diff --git a/versioned_docs/version-2.x/performance/investigate-performance-issues.md b/versioned_docs/version-2.x/performance/investigate-performance-issues.md index 664cdb8113..1f277ee817 100644 --- a/versioned_docs/version-2.x/performance/investigate-performance-issues.md +++ b/versioned_docs/version-2.x/performance/investigate-performance-issues.md @@ -94,6 +94,6 @@ To search for related log entries in the segment log files, you can run `gplogfi ```shell gpssh -f seg_hosts_file -e 'source -/usr/local/cloudberry-db/greenplum_path.sh ; gplogfilter -f +/usr/local/cloudberry-db/cloudberry-env.sh ; gplogfilter -f con6 /gpdata/*/log/gpdb*.csv' > seglog.out ``` diff --git a/versioned_docs/version-2.x/security/client-auth.md b/versioned_docs/version-2.x/security/client-auth.md index ffe9f965a3..daf0d7f9bd 100644 --- a/versioned_docs/version-2.x/security/client-auth.md +++ b/versioned_docs/version-2.x/security/client-auth.md @@ -363,7 +363,7 @@ The following steps set the parameter values with the Apache Cloudberry utility ### Change the number of allowed connections -1. Log into the Apache Cloudberry coordinator host as the Apache Cloudberry administrator and source the file `$GPHOME/greenplum_path.sh`. +1. Log into the Apache Cloudberry coordinator host as the Apache Cloudberry administrator and source the file `$GPHOME/cloudberry-env.sh`. 2. Set the value of the `max_connections` parameter. This `gpconfig` command sets the value on the segments to 1000 and the value on the coordinator to 200. ```shell diff --git a/versioned_docs/version-2.x/security/log-auditing.md b/versioned_docs/version-2.x/security/log-auditing.md index 4a6fd23ed5..9b2560cefb 100644 --- a/versioned_docs/version-2.x/security/log-auditing.md +++ b/versioned_docs/version-2.x/security/log-auditing.md @@ -63,7 +63,7 @@ You can also use `gplogfilter` to search through all segment log files at once b ```shell $ gpssh -f seg_host_file - => source /usr/local/cloudberry-db/greenplum_path.sh + => source /usr/local/cloudberry-db/cloudberry-env.sh => gplogfilter -n 3 /data*/*/gp*/pg_log/gpdb*.csv ``` diff --git a/versioned_docs/version-2.x/sys-admin/check-database-system.md b/versioned_docs/version-2.x/sys-admin/check-database-system.md index 8cb7035ebd..d77a4fbfc9 100644 --- a/versioned_docs/version-2.x/sys-admin/check-database-system.md +++ b/versioned_docs/version-2.x/sys-admin/check-database-system.md @@ -462,7 +462,7 @@ gpssh -f <seg_host_file> ``` ```shell -=> source /usr/local/cloudberry/greenplum_path.sh +=> source /usr/local/cloudberry/cloudberry-env.sh => gplogfilter -n 3 <seg_host_file> ``` --> diff --git a/versioned_docs/version-2.x/sys-utilities/gpdemo.md b/versioned_docs/version-2.x/sys-utilities/gpdemo.md index 6c848f0aa5..8b1c46b18e 100644 --- a/versioned_docs/version-2.x/sys-utilities/gpdemo.md +++ b/versioned_docs/version-2.x/sys-utilities/gpdemo.md @@ -14,7 +14,7 @@ It is not recommended to use `gpdemo` for production environments, except when d ## How to use -You can run `gpdemo` once the RPM package is installed on the target server and `greenplum_path.sh` is correctly loaded. +You can run `gpdemo` once the RPM package is installed on the target server and `cloudberry-env.sh` is correctly loaded. ### Deploy with default settings diff --git a/versioned_docs/version-2.x/sys-utilities/gplogfilter.md b/versioned_docs/version-2.x/sys-utilities/gplogfilter.md index 11574d4d66..b7e6b1e9be 100644 --- a/versioned_docs/version-2.x/sys-utilities/gplogfilter.md +++ b/versioned_docs/version-2.x/sys-utilities/gplogfilter.md @@ -25,7 +25,7 @@ You can also use `gplogfilter` to search through all segment log files at once b ```shell gpssh -f seg_host_file -=> source /usr/local/cloudberry/greenplum_path.sh +=> source /usr/local/cloudberry/cloudberry-env.sh => gplogfilter -n 3 /gpdata/*/log/gpdb*.csv ``` @@ -153,7 +153,7 @@ Using [gpssh](/docs/sys-utilities/gpssh.md), run `gplogfilter` on the segment ho ```shell gpssh -f seg_hosts_file -e 'source -/usr/local/cloudberry/greenplum_path.sh ; gplogfilter -f +/usr/local/cloudberry/cloudberry-env.sh ; gplogfilter -f con6 /gpdata/*/log/gpdb*.csv' > seglog.out ``` diff --git a/versioned_docs/version-2.x/sys-utilities/gpssh.md b/versioned_docs/version-2.x/sys-utilities/gpssh.md index 43a01d620c..9f512abb6d 100644 --- a/versioned_docs/version-2.x/sys-utilities/gpssh.md +++ b/versioned_docs/version-2.x/sys-utilities/gpssh.md @@ -58,7 +58,7 @@ Specifies a single host name that will participate in this SSH session. You can **`-s`** -Optional. If specified, before running any commands on the target host, `gpssh` sources the file `greenplum_path.sh` in the directory specified by the `$GPHOME` environment variable. +Optional. If specified, before running any commands on the target host, `gpssh` sources the file `cloudberry-env.sh` in the directory specified by the `$GPHOME` environment variable. This option is valid for both interactive mode and single command mode. diff --git a/versioned_docs/version-2.x/sys-utilities/pg-filedump.md b/versioned_docs/version-2.x/sys-utilities/pg-filedump.md index e1dc2f0228..769e9a3cc0 100644 --- a/versioned_docs/version-2.x/sys-utilities/pg-filedump.md +++ b/versioned_docs/version-2.x/sys-utilities/pg-filedump.md @@ -25,7 +25,7 @@ Before compiling filedump, you need to have a Apache Cloudberry cluster installe ```bash su - gpadmin - source /usr/local/cloudberry/greenplum_path.sh + source /usr/local/cloudberry/cloudberry-env.sh ``` 2. Clone the GitHub repository `cloudberry-contrib/filedump` to your local environment: --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cloudberry.apache.org For additional commands, e-mail: commits-h...@cloudberry.apache.org