ds3.0.0 ,why worker-server register zkserver using hostname,rather than ip? [Bug] [Module Name] Bug title
Search before asking
- [X] I had searched in the issues and found no similar issues.
What happened
ds3.0.0 ,why worker-server register zkserver using hostname,rather than ip?
What you expected to happen
registry ip,not hostname
How to reproduce
i don't exactly describe
Anything else
No response
Version
3.0.x
Are you willing to submit PR?
- [X] Yes I am willing to submit a PR!
Code of Conduct
- [X] I agree to follow this project's Code of Conduct
Thank you for your feedback, we have received your issue, Please wait patiently for a reply.
- In order for us to understand your request as soon as possible, please provide detailed information、version or pictures.
- If you haven't received a reply for a long time, you can join our slack and send your question to channel
#troubleshooting
zookeeper verison is 3.4.14
Which environment you deployed? k8s or docker or physical machine?
Which environment you deployed? k8s or docker or physical machine?
k8s
My devlelop enviroment is correct ,registed worker-server by ip .but when the code running on the product Env,it changes to hostname.
不明白为什么K8S要做成hostname。已解决。
Use export HOSTNAME=\hostname -I`` to get ip. but it does work.
UnknownHostException: dolphinscheduler-worker-0
不明白为什么K8S要做成hostname。已解决。
@hkun0120 :请问如何解决的?