[Improvement] Can't get zookeeper server list in the monitor web page.#5659
[Improvement] Can't get zookeeper server list in the monitor web page.#5659echohlne wants to merge 1 commit intoapache:devfrom echohlne:zookeeper_monitor_empty
Conversation
provide the ablitity to get zookeeper serverlist
|
@CalvinKirs , do you have any idea about this pr? I'm not sure whether it's the best way to solve the problem. |
Some of the information obtained in the api belongs to the unique information of zk. I am not sure whether there is a good abstraction method. This is related to whether the specific plug-in is provided. Yes, at present, we query two kinds of data from zookeeper in api. |
|
SonarCloud Quality Gate failed. |
This will require each plugin to be able to provide such metrics information. |
|
@CalvinKirs Thanks for your reply. |
I'm considering whether I need to remove the monitoring of the registry, which in my opinion is not something that DS needs to manage. WDYT? |
+1, zookeeper's own information can be treated as zookeeper registry's own metrics, there should be a better way to do the monitoring work. |
|
Thanks for your contribution, we discussed related issues in the email (https://lists.apache.org/thread.html/r7d92584ad737293835cf4f2023a8a9eea32d7dd5b5c379e4297e66d4%40%3Cdev.dolphinscheduler.apache.org%3E), |

Purpose of the pull request
Make sure the server info of zookeeper can be sent to the front.
git clone the latest branch of dev try to run the entire project in windows os, the rest api would always returns null:
Request URL: http://localhost:8888/dolphinscheduler/monitor/zookeeper/list?_t=0.6361127216024349
Response: {"code":0,"msg":"success","data":null}
Brief change log
an enancement to the pr #5562, try to add an Unmodified Map to store the
registry.properties inRegistryCenterto make sure we can get registry.servers inRegistryMonitor.Verify this pull request
Manually verified the change by testing locally