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

abhishek pushed a commit to branch 31.0.0
in repository https://gitbox.apache.org/repos/asf/druid.git


The following commit(s) were added to refs/heads/31.0.0 by this push:
     new fd487d7ded6 Revert "Use canonical hostname instead of ip by default 
(#16386)" (#17347)
fd487d7ded6 is described below

commit fd487d7ded62e730e547051ecbbb1260a0d08d0a
Author: Abhishek Agarwal <[email protected]>
AuthorDate: Wed Oct 16 08:57:24 2024 +0530

    Revert "Use canonical hostname instead of ip by default (#16386)" (#17347)
    
    This reverts commit 9459722ebf6565d7161edab671d91588ff2c6e1b.
---
 distribution/docker/druid.sh | 4 ++--
 distribution/docker/peon.sh  | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/distribution/docker/druid.sh b/distribution/docker/druid.sh
index 820416078a3..35f04c93566 100755
--- a/distribution/docker/druid.sh
+++ b/distribution/docker/druid.sh
@@ -138,8 +138,8 @@ then
     setKey _common druid.zk.service.host "${ZOOKEEPER}"
 fi
 
-DRUID_SET_HOST_IP=${DRUID_SET_HOST_IP:-0}
-if [ "${DRUID_SET_HOST_IP}" = "1" ]
+DRUID_SET_HOST=${DRUID_SET_HOST:-1}
+if [ "${DRUID_SET_HOST}" = "1" ]
 then
     setKey $SERVICE druid.host $(ip r get 1 | awk '{print $7;exit}')
 fi
diff --git a/distribution/docker/peon.sh b/distribution/docker/peon.sh
index c2a0555c574..c98c3d30a30 100755
--- a/distribution/docker/peon.sh
+++ b/distribution/docker/peon.sh
@@ -97,8 +97,8 @@ then
     setKey _common druid.zk.service.host "${ZOOKEEPER}"
 fi
 
-DRUID_SET_HOST_IP=${DRUID_SET_HOST_IP:-0}
-if [ "${DRUID_SET_HOST_IP}" = "1" ]
+DRUID_SET_HOST=${DRUID_SET_HOST:-1}
+if [ "${DRUID_SET_HOST}" = "1" ]
 then
     setKey $SERVICE druid.host $(ip r get 1 | awk '{print $7;exit}')
 fi


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

Reply via email to