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

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


The following commit(s) were added to refs/heads/branch-0.6 by this push:
     new fa424ed3b [#4441] feat(script): improve message when start  server 
failed (#4485)
fa424ed3b is described below

commit fa424ed3b517d5b7ed929e6ae26bac40764303f0
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Mon Aug 12 17:31:25 2024 +0800

    [#4441] feat(script): improve message when start  server failed (#4485)
    
    ### 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: FANNG <[email protected]>
    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