We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7997d6f commit 420cdf7Copy full SHA for 420cdf7
etc/curvine-env.sh
@@ -19,13 +19,14 @@
19
export CURVINE_HOME="$(cd "$(dirname "$0")"/..; pwd)"
20
21
# Get the IP address from hostname, taking the last network interface address
22
-LOCAL_HOSTNAME=$(hostname -I | awk '{print $NF}')
+LOCAL_HOSTNAME="localhost"
23
+LOCAL_IP=$(hostname -I | awk '{print $NF}')
24
25
# master bound host name
26
export CURVINE_MASTER_HOSTNAME=$LOCAL_HOSTNAME
27
28
# worker bound host name
-export CURVINE_WORKER_HOSTNAME=$LOCAL_HOSTNAME
29
+export CURVINE_WORKER_HOSTNAME=$LOCAL_IP
30
31
# The client server hostname is used to determine whether the worker and client are on the same machine.
32
export CURVINE_CLIENT_HOSTNAME=$LOCAL_HOSTNAME
0 commit comments