dolphinscheduler icon indicating copy to clipboard operation
dolphinscheduler copied to clipboard

ds3.0.0 ,why worker-server register zkserver using hostname,rather than ip? [Bug] [Module Name] Bug title

Open hkun0120 opened this issue 4 years ago • 8 comments

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

hkun0120 avatar Nov 01 '22 01:11 hkun0120

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

github-actions[bot] avatar Nov 01 '22 01:11 github-actions[bot]

zookeeper verison is 3.4.14

hkun0120 avatar Nov 01 '22 04:11 hkun0120

Which environment you deployed? k8s or docker or physical machine?

ruanwenjun avatar Nov 01 '22 04:11 ruanwenjun

Which environment you deployed? k8s or docker or physical machine?

k8s

hkun0120 avatar Nov 01 '22 05:11 hkun0120

My devlelop enviroment is correct ,registed worker-server by ip .but when the code running on the product Env,it changes to hostname.

hkun0120 avatar Nov 01 '22 05:11 hkun0120

不明白为什么K8S要做成hostname。已解决。

hkun0120 avatar Nov 01 '22 07:11 hkun0120

Use export HOSTNAME=\hostname -I`` to get ip. but it does work. UnknownHostException: dolphinscheduler-worker-0

wllzhang avatar Mar 09 '23 13:03 wllzhang

不明白为什么K8S要做成hostname。已解决。

@hkun0120 :请问如何解决的?

farmer-it-1024 avatar Jan 09 '26 02:01 farmer-it-1024