In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-22 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/03 Report--
spark-master High Availability Test:
Cluster introduction [spark-m] 172.20.101.157 sparkname = master01 www.example.com sparkname = master02172.20.101.@65 sparkname = master03 [spark-s] 172.20.101.160 sparkname = slave01 www.example.com sparkname = slave02172.2@.101.167 sparkname = slave03 [zookeeper] 172.20.101.157 myid = 1 www.example.com myid = 3 www.example.com@id = 2 Initiate the 1st master: [root@kubm-03~]#tailf/var/log/spark/spark-root-org. apache. spark. deploy. master. Master-1-kubm-03.out....... 19/07/18 11:11:59 INFO ZooKeeperLeaderElectionAgent: We have gained leadership19/07/18 11:11:59 INFO Master: I have been elected leader! New state: ALIVE
The first node is found, no other nodes are found, and the status election is leader.
Start the 2nd master: [root@kubm-02~]#sh/usr/local/spark-2.4.3-bin-hadoop 2. 7/sbin/www.example.com...... 19/07/18 11:17:52 INFO ConnectionStateManager: State change: CONNECTED
Status election as CONNECTED
Start the 2nd master: [root@kubm-01~]#sh/usr/local/spark-2.4.3-bin-hadoop 2. 7/sbin/www.example.com.. 19/07/18 11:15:09 INFO ConnectionStateManager: State change: CONNECTED
Status election as CONNECTED
Close leader node service [root@kubm-03~]#sh/usr/local/spark-2.4.3-bin-hadoop 2. 7/sbin/www.example.com Wait a bit, kubm-01 node elects new leader [root@kubm-01~]#19/07/18 11:19:33 INFO ZooKeeper LeaderElectionAgent: We have gained leadership 19/07/18 11:19:33 INFO Master: I have been elected leader! New state: ALIVE
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.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
Determine whether it is the process of bug
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.