Use of Zookeeper03's Java API
Articles Catalogue
Use of Zookeeper03's Java API
Java program operation Zookeeper
1. Create java projects and import related jar packages
maven project coordinates
2. Simple use of API
2.1 Configuring Zookeeper objects
Common API operations
Adding Nodes
Judging whether a node exists or not
Getting ...
Posted by Murciano on Thu, 08 Aug 2019 20:24:16 -0700
Linux System: Build ZooKeeper 3.4 Middleware under centos7, Summarize Common Commands
I. Download and Unzip
1. Introduction to Zookeeper
As a distributed service framework, Zookeeper is mainly used to solve the consistency problem of application systems in distributed cluster. It can provide data storage based on directory node tree similar to file system. But Zookeeper is not used to store data exclusively. Its function is main ...
Posted by dhcrusoe on Sat, 03 Aug 2019 06:14:03 -0700
Hbase High Availability Cluster Building
Cluster Resource and Role Planning
node1
node2
node3
node4
node5
zookeeper
zookeeper
zookeeper
nn1
nn2
datanode
datanode
datanode
datanode
datanode
journal
journal
journal
rm1
rm2
nodemanager
nodemanager
nodemanager
nodemanager
nodemanager
HMaster
HMaster
HRegionServe ...
Posted by nikkio3000 on Tue, 30 Jul 2019 14:17:05 -0700
Prepartitioning of HBase
1. Why pre-partition?
* Increase data read-write efficiency
* Load balancing to prevent data skewing
* Convenient cluster disaster relief dispatch region
* Optimize the number of Map s
2. How to pre-partition?
Each region maintains the startRow and endRowKey, and if the data added matches the r ...
Posted by ChrisFlynn on Tue, 30 Jul 2019 10:48:52 -0700
ClickHouse High Availability Cluster
After chatting with some students who use clickhouse, many small and medium-sized companies still use the stand-alone version, which is unexpected; perhaps it is because of the clickhouse's performance in seconds and seconds, coupled with the small amount of data, the cost of data recovery is not high.
...
Posted by djtozz on Mon, 29 Jul 2019 02:39:08 -0700
This article takes you to implement the RPC framework
For more articles, visit my blog- Code is endless.
Nowadays, most Internet companies will adopt micro-service architecture, but there are different ways to implement micro-service architecture. There are two main ways: one is remote call based on Http protocol, the other is RPC-based call. Both approaches have their own representative framewor ...
Posted by Clukey on Wed, 24 Jul 2019 18:14:50 -0700
Hadoop Cluster Build-04 Installation Configuration HDFS
Hadoop cluster build-03 compile and install Hadoop
Hadoop Cluster Build-02 Installation Configuration Zookeeper
Preparations for Hadoop Cluster Building-01
HDFS is a distributed file system used with Hadoop, which is divided into two parts.
namenode: nn1.hadoop nn2.hadoop
datanode: s1.hadoop s2.hadoop s3.hadoop
(If you can't understand th ...
Posted by Chevy on Mon, 22 Jul 2019 03:49:20 -0700
Analysis and Solution of Maven 3-Maven Dependent Version Conflict
Extracted from: https://www.cnblogs.com/aspirant/p/8532962.html
Give an exampleA relies on B and C, while B relies on X and Y, while C relies on X and M. A will introduce X, Y and M dependency packages besides B and C dependency packages. (Generally, Maven can control transfer dependencies by < scope> and so on.)Here's a special note: ...
Posted by xiledweb on Sun, 21 Jul 2019 00:53:52 -0700
ActiveMQ and Zookeeper High Availability Cluster
https://blog.csdn.net/xiaoxsen/article/details/79050842
Note: Close the firewall
Prerequisite:
Prepare three server nodes to install and deploy Zookeeper and ActiveMQ. My three nodes are 192.168.1.130, 192.168.1.163 and 192.168.1.165, respectively.
Inst ...
Posted by jbingman on Fri, 19 Jul 2019 00:07:47 -0700
jmap: Java's own performance monitoring tool
This article continues with the introduction of Java's own performance monitoring tools. This article uses jmap tools to play with them.~
jmap (Java Memory Map) command can generate heap snapshots and object statistics of Java applications, analyze the generated heap snapshots, analyze the memory occupied by objects in the heap, check large ...
Posted by vivekjain on Tue, 16 Jul 2019 16:29:21 -0700