zhangguoqiang666 commented on code in PR #24401:
URL: https://github.com/apache/doris/pull/24401#discussion_r1326714519


##########
docker/thirdparties/docker-compose/hive/gen_env.sh.tpl:
##########
@@ -23,9 +23,11 @@
 set -eo pipefail
 
 ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")" &>/dev/null && pwd)"
-
-FS_PORT=8120
-HMS_PORT=9183
+eth0_num=$(ifconfig -a|grep flags=|grep -n ^eth0|awk -F ':' '{print $1}')

Review Comment:
   1. I give a defult 127.0.0.1 value to IP_HOST,this can satisfy the needs of 
most people
   2.If you cannot obtain the corresponding IP address through eth0, the system 
prompts you to set the IP address as required



##########
docker/thirdparties/docker-compose/hive/gen_env.sh.tpl:
##########
@@ -23,9 +23,11 @@
 set -eo pipefail
 
 ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")" &>/dev/null && pwd)"
-
-FS_PORT=8120
-HMS_PORT=9183
+eth0_num=$(ifconfig -a|grep flags=|grep -n ^eth0|awk -F ':' '{print $1}')

Review Comment:
   1. I give a defult 127.0.0.1 value to IP_HOST,this can satisfy the needs of 
most people
   2.If you cannot obtain the corresponding IP address through eth0, the system 
prompts you to set the IP address as required



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to