This is an automated email from the ASF dual-hosted git repository.
karan pushed a commit to branch 32.0.0
in repository https://gitbox.apache.org/repos/asf/druid.git
The following commit(s) were added to refs/heads/32.0.0 by this push:
new b62bce00fff Revert "Use canonical hostname instead of ip by default
(#16386)" (#17683)
b62bce00fff is described below
commit b62bce00fff12d527e49b5425eaaa344d9e93731
Author: Adarsh Sanjeev <[email protected]>
AuthorDate: Thu Jan 30 14:39:56 2025 +0530
Revert "Use canonical hostname instead of ip by default (#16386)" (#17683)
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]