This is an automated email from the ASF dual-hosted git repository.

djwang pushed a commit to branch pr-1318
in repository https://gitbox.apache.org/repos/asf/cloudberry.git

commit b933d794cb9c05d6a5f040de9a13d74e9387eb5d
Author: Dianjin Wang <[email protected]>
AuthorDate: Thu Dec 18 12:22:48 2025 +0800

    Improve error message when COORDINATOR_DATA_DIRECTORY is unset
---
 gpMgmt/bin/gpstart | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/gpMgmt/bin/gpstart b/gpMgmt/bin/gpstart
index 0165c0cc371..af78cf8393a 100755
--- a/gpMgmt/bin/gpstart
+++ b/gpMgmt/bin/gpstart
@@ -902,9 +902,7 @@ class GpStart:
         
         if is_external_fts:
             if options.fts_hosts is None:
-                coordinator_data_directory = 
os.getenv('COORDINATOR_DATA_DIRECTORY')
-                if coordinator_data_directory is None:
-                    coordinator_data_directory = 
options.coordinatorDataDirectory
+                coordinator_data_directory = get_coordinatordatadir()
                 options.fts_hosts = coordinator_data_directory + '/config' + 
'/fts_host'
 
         return GpStart(options.specialMode, options.restricted,


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to