Meituan distributed ID generator (Leaf), which can't be missed, is an easy-to-use batch

Leaf Leaf is a distributed ID generation service launched by meituan. Its name is taken from the words of German philosopher and mathematician Leibniz: "there are no two identity leaves in the world." ("there are no two same leaves in the world"), taking a name has such moral meaning, meituan programmer Niu break! Advantag ...

Posted by Chris_Evans on Wed, 25 May 2022 07:06:18 +0300

Construction of Zookeeper in windows

download [external chain picture transfer failed. The source station may have anti-theft chain mechanism. It is recommended to save the picture and upload it directly Download address: https://mirrors.cnnic.cn/apache/zookeeper/ PS: zookeeper package with bin ID from version 3.5.5 or later, otherwise an error will be reported when starting: &q ...

Posted by mouse02 on Wed, 25 May 2022 04:12:15 +0300

JAVA wheel making - zookeeper node operation tool class

ZooKeeper is a distributed, open-source distributed application coordination service. It is an open-source implementation of Chubby of Google and an important component of Hadoop and Hbase. It is a software that provides consistency services for distributed applications. Its functions include configuration maintenance, domain name service, dist ...

Posted by wscreate on Tue, 24 May 2022 06:07:13 +0300

ZooKeeper configuration under Hadoop cluster

Install zookeeper environment zookeeper installation package: https://pan.baidu.com/s/1fpdBs8kbjPj5rlrwusv1iw Extraction code: h1wv jdk environment to be prepared: Reference: https://blog.csdn.net/weixin_44147632/article/details/107796624 Decompression: tar -zxf zookeeper-3.4.5-cdh5 14.2. tar. gz -C /opt/bigdata/hadoop/ Renamed: MV zookeeper- ...

Posted by madmindz on Sun, 22 May 2022 16:24:13 +0300

Alibaba cloud server deployment zookeeper+dubbo

Today, I learned that zookeeper has been deployed on both windows and Alibaba cloud ecs servers. I think it's OK. Let me tell you something to avoid stepping on the pit. To see how windows is deployed, see Link: https://blog.csdn.net/Fekerkk/article/details/108004177. Here's how Alibaba cloud deploys: First, create a path on the server (the thr ...

Posted by Scropion on Sun, 22 May 2022 16:22:57 +0300

Zookeeper listener principle and election mechanism

Composition of Stat structure: (1)czxid-Create transaction for node zxid Each modification ZooKeeper Status will receive a zxid Form of timestamp, that is ZooKeeper affair ID. affair ID yes ZooKeeper The general order of all modifications in the. Each modification has a unique zxid,If zxid1 less than zxid2,that zxid1 stay zxid2 It happene ...

Posted by Eclectic on Sun, 22 May 2022 07:15:09 +0300

docker builds hadoop cluster (distributed and fully distributed)

Chapter 1 is written in front and must be read 1.1 brief description of Hadoop ecology Note: hadoop is just a platform for storing data. mapreduce is a computing framework, which requires programmers to write programs to process data. Then hadoop is an ecosystem, that is, it also runs HBase database, sqoop, shark and other tools, so as to make ...

Posted by dvt85 on Fri, 20 May 2022 17:54:54 +0300

Docker builds ActiveMQ cluster based on zookeeper and LevelDB

1. Preparation ① A built zookeeper cluster is required ② Pull activemq image docker pull webcenter/activemq ③ Explain hostZookeeper cluster portAMQ cluster bind portAMQ message tcp portManagement console port192.168.16.1062181tcp://0.0.0.0:63631616168161192.168.16.1062182tcp://0.0.0.0:63632616178162192.168.16.1062183tcp://0.0.0.0:636336161 ...

Posted by mattwal on Wed, 18 May 2022 04:08:28 +0300

SpringBoot integrates Dubbo and zookeeper

Springboot integrates Dubbo and Zookeeper The source address of this article: https://gitee.com/liuhuanhuan963019/zookeeper_dubbo.git 1. Test environment setup Apache Dubbo |ˈdʌbəʊ| is a high-performance, lightweight open-source Java RPC framework that provides three core capabilities: interface-oriented remote method invocation, intelligent ...

Posted by batterdmooie on Wed, 18 May 2022 01:48:12 +0300

Zookeeper common commands

1, Start / connect / exit / close / status 1. Start Zookeeper SERVER background   ./zkServer.sh start 2. Connect client   ./zkCli.sh 3. Exit client   quit 4. Close Zookeeper background service   ./zkServer.sh stop 5. View the status of Zookeeper background service   ./ zkServer.sh status (I don't have a cluster here, so the displa ...

Posted by lbraine on Fri, 13 May 2022 17:03:21 +0300