In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-14 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces how to use zkconfigutil and eclipse zookeeper plug-in configuration script, has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let Xiaobian take you to understand.
First of all, we have a configuration item named "F1", which is as follows:
From this screenshot, we can clearly see the zookeeper plug-in for eclipse. We chose the Text window, that is, the string, and the content is F321. Then we will directly use the eclipse zookeeper plug-in to modify the value of F1 field, change it to the content of a file, or directly above:
As you can see from this screenshot, I use the eclipse zookeeper plug-in to select the File window (here you can directly import file, or export file), directly import an awk script, ok,ctrl+s save, see that the value of F1 field directly becomes the content of the file.
Through the above brief introduction, I do not know if you have a feeling, if we have a distributed service, each machine needs to have a configuration file, modify it N times, in this way, we get rid of the configuration file, but also achieve a change that affects all the effects.
Note: zookeeper is not a database and should not be updated frequently. Then zookeeper itself has a limit on the size of node. The default is 1m? If your file is too large, you need to modify this configuration, or you will report an error!
Thank you for reading this article carefully. I hope the article "how to use zkconfigutil and eclipse zookeeper plug-ins to configure scripts" shared by the editor will be helpful to you. At the same time, I also hope you will support us and follow the industry information channel. More related knowledge is waiting for you to learn!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.