apache / cloudberry

One advanced and mature open-source MPP (Massively Parallel Processing) database. Open source alternative to Greenplum Database.
https://cloudberry.apache.org
Apache License 2.0
430 stars 104 forks source link

[Bug] gpstop occured err #665

Closed fsmiledream closed 1 month ago

fsmiledream commented 1 month ago

Cloudberry Database version

1.6.0

What happened

gpstop-err

What you think should happen instead

No response

How to reproduce

maybe not incompatible ?

Operating System

Kylin Linux Advanced Server V10 (Halberd) -Kunpeng-920 aarch64

Anything else

No response

Are you willing to submit PR?

Code of Conduct

gongxun0928 commented 1 month ago

Check if the COORDINATOR_DATA_DIRECTORY environment variable is set env |grep COORDINATOR_DATA_DIRECTORY

yihong0618 commented 1 month ago

If you are using a demo for cloudberry you need two things in a new session

  1. source /xxxxxxxxxxxx/cloudberrydb/greenplum_path.sh
  2. source /xxxxxxxx/cloudberrydb/gpAux/gpdemo/gpdemo-env.sh

The env locate in the gpdemo-env.sh you can find them like:

export PGPORT=7000
export COORDINATOR_DATA_DIRECTORY=xxxxx
export MASTER_DATA_DIRECTORY=xxxxxxx
export NUM_PRIMARY_MIRROR_PAIRS=3

if you are using others instead of gpdemo, you can put them in env or greenplum_path.sh

and for the python code side, I think its better to make the error message more clear.

fsmiledream commented 1 month ago

Thank you !The err has been resolved.

yihong0618 commented 1 month ago

My pleasure