mirror of https://github.com/apache/druid.git
This reverts commit 9459722ebf
.
This commit is contained in:
parent
2b98facdc4
commit
fd487d7ded
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue