Skip to content

Ubuntu 24.04: Syntax Warning when creating the demo cluster #1587

@tuhaihe

Description

@tuhaihe

Syntax Warning when creating the demo cluster

20260302:03:38:52:060089 gpinitsystem:cdw:gpadmin-[INFO]:-No errors generated from parallel processes
20260302:03:38:52:060089 gpinitsystem:cdw:gpadmin-[INFO]:-Restarting the Cloudberry instance in production mode
/usr/local/cloudberry-db/lib/python/gppylib/mainUtils.py:491: SyntaxWarning: invalid escape sequence '\$'
  fts_check_cmd= "ps -ef | awk '{print \$2, \$8}' | grep gpfts | grep -v grep"
/usr/local/cloudberry-db/lib/python/gppylib/mainUtils.py:503: SyntaxWarning: invalid escape sequence '\$'
  etcd_check_cmd = "ps -ef | awk '{print \$2, \$8}' | grep etcd | grep -v grep"
/usr/local/cloudberry-db/lib/python/gppylib/logfilter.py:70: SyntaxWarning: invalid escape sequence '\d'
  """
/usr/local/cloudberry-db/lib/python/gppylib/logfilter.py:671: SyntaxWarning: invalid escape sequence '\d'
  """
20260302:03:38:52:063752 gpstop:cdw:gpadmin-[INFO]:-Starting gpstop with args: -a -l /home/gpadmin/cloudberry/gpAux/gpdemo/datadirs/gpAdminLogs -m -d /home/gpadmin/cloudberry/gpAux/gpdemo/datadirs/qddir/demoDataDir-1

OS:

gpadmin@cdw:~/cloudberry$ cat /etc/os-release 
PRETTY_NAME="Ubuntu 24.04.4 LTS"
NAME="Ubuntu"
VERSION_ID="24.04"
VERSION="24.04.4 LTS (Noble Numbat)"
VERSION_CODENAME=noble
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=noble
LOGO=ubuntu-logo

Python version:

gpadmin@cdw:~/cloudberry$ python3 --version
Python 3.12.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions