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

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


The following commit(s) were added to refs/heads/main by this push:
     new 6765e84  [#128] Fix the failure of starting on the MacOs (#130)
6765e84 is described below

commit 6765e846381e6803117ca3ffaeb3618a27c44146
Author: roryqi <ror...@apache.org>
AuthorDate: Wed Feb 19 15:20:01 2025 +0800

    [#128] Fix the failure of starting on the MacOs (#130)
    
    ### What changes were proposed in this pull request?
    
    Remove `set -e`. If the port is available, the lsof command will return
    non-zero code, the shell will exit.
    Reduce the need of the available memory, I tried this on my machine,
    it's ok.
    
    ### Why are the changes needed?
    
    Fix: #128
    
    ### Does this PR introduce _any_ user-facing change?
    
    No.
    
    ### How was this patch tested?
    Test by hand.
---
 playground.sh | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/playground.sh b/playground.sh
index d6c4072..d24a3d0 100755
--- a/playground.sh
+++ b/playground.sh
@@ -18,8 +18,6 @@
 # under the License.
 #
 
-set -e
-
 playground_dir="$(dirname "${BASH_SOURCE-$0}")"
 playground_dir="$(
   cd "${playground_dir}" >/dev/null || exit 1
@@ -28,7 +26,7 @@ playground_dir="$(
 
 playgroundRuntimeName="gravitino-playground"
 requiredDiskSpaceGB=25
-requiredRamGB=8
+requiredRamGB=6
 requiredCpuCores=2
 requiredPorts=(6080 8090 9001 3307 19000 19083 60070 13306 15342 18080 18888 
19090 13000)
 dockerComposeCommand=""

Reply via email to