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

jshao pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/gravitino.git


The following commit(s) were added to refs/heads/main by this push:
     new 201fe6fce [#4441] feat(script): improve message when start  server 
failed (#4462)
201fe6fce is described below

commit 201fe6fcef6c5865c668d1dc60462dfb25aff3c6
Author: FANNG <[email protected]>
AuthorDate: Mon Aug 12 15:00:58 2024 +0800

    [#4441] feat(script): improve message when start  server failed (#4462)
    
    ### What changes were proposed in this pull request?
    improve message when start server failed
    
    ### Why are the changes needed?
    
    Fix: #4441
    
    ### Does this PR introduce _any_ user-facing change?
    no
    
    ### How was this patch tested?
    start server
    
    Co-authored-by: Jerry Shao <[email protected]>
---
 bin/gravitino-iceberg-rest-server.sh | 2 --
 bin/gravitino.sh                     | 2 --
 2 files changed, 4 deletions(-)

diff --git a/bin/gravitino-iceberg-rest-server.sh 
b/bin/gravitino-iceberg-rest-server.sh
index d0b3349bb..9a6195c60 100755
--- a/bin/gravitino-iceberg-rest-server.sh
+++ b/bin/gravitino-iceberg-rest-server.sh
@@ -116,8 +116,6 @@ function start() {
   if [[ -z "${pid}" ]]; then
     echo "GravitinoIcebergRESTServer start error!"
     return 1;
-  else
-    echo "GravitinoIcebergRESTServer start success!"
   fi
 
   sleep 2
diff --git a/bin/gravitino.sh b/bin/gravitino.sh
index e29d05c03..51cda0041 100755
--- a/bin/gravitino.sh
+++ b/bin/gravitino.sh
@@ -116,8 +116,6 @@ function start() {
   if [[ -z "${pid}" ]]; then
     echo "Gravitino Server start error!"
     return 1;
-  else
-    echo "Gravitino Server start success!"
   fi
 
   sleep 2

Reply via email to