Detailed description of HDFS balance source program
Recently, cluster storage has been skewed, with individual node storage exceeding 85%. After balancer is started, the effect is obvious, but sometimes balancer startup can not solve the problem. From the operation and maintenance stage, we know that there is such a balancer. Today, we finally hold our breath to see what happened to the balance ...
Posted by ntjang on Sat, 06 Jul 2019 01:33:08 +0200
Maven typed in local and remote libraries, used in ecpliseidea
Other blogger posts: http://blog.csdn.net/dhmpgt/article/details/9998321
Maven
Tools for managing project jar packages automatically download the corresponding jar packages from the server library to the project based on the configuration file.
Prepare the file:
install
1) Unzip repository to D:/maven/repositoryserver as Maven loca ...
Posted by lostcarpark on Wed, 03 Jul 2019 18:29:10 +0200
ActiveMQ Tutorial (2) - Cluster
order
Infrastructure
zookeeper
Program Coordination Service Framework for automatic scheduling of multiple activemqs. After an activemq service goes down, zookeeper automatically schedules one of the normal activemq services in the cluster to become the master host to continue serving.
activemq
Message queuing framework, we will deploy ...
Posted by Accurax on Sun, 30 Jun 2019 21:27:32 +0200
Jumping mode of struts 2
There are four jump modes in struts 21. dispatcher. Request forwarding (default), only jumping to jsp page
2. redirect to jsp
3. redirectAction
4. chain forward to actionBefore that, let's talk about the concept of request forwarding and redirection. If you already know about Forwarding and redirection, you can skip it and look directly at t ...
Posted by mrausch on Sat, 29 Jun 2019 23:09:19 +0200
HBase Phoenix Helps Real-time Analysis of Massive Data
Preface
Phoenix is a project that I haven't had much contact with. When a company I met last year used Phoenix to analyze tens of billions of records and delay in returning them at the second level, I slowly explored the inside of some phoenix. Last week, I talked with a Phoenix PMC & Committer about the location and future development of P ...
Posted by akreation on Sat, 29 Jun 2019 22:59:41 +0200
[java] javamail+freemarker generates mail template and sends mail
I. Preface
In the last blog, a small editor introduced you. Send mail with attachments It's also good to practice. This blog paves the way for the next blog, because a push function is needed in the project to display the push information flexibly to an inherent template. So in order to achieve this goal, freemarker is introduced into the edi ...
Posted by ilight on Thu, 27 Jun 2019 00:20:59 +0200
The process of kafka noun interpretation and principle analysis
A Noun Interpretation of Kafka
1.topic
Topic is equivalent to a queue in the MQ of a traditional messaging system. The message sent by the producer side must specify which topic to send to. In a large application system, different topics can be distinguished according to their functions (topic of order, topic of login, topic of amount, e ...
Posted by dudeddy on Wed, 26 Jun 2019 18:45:47 +0200
Mac Installs zookeeper Pseudo Cluster
Original address: http://blog.csdn.net/u013673245/article/details/49331607
Catalogue
I. Configuration
2. Start all servers of zookeeper pseudocluster
3. Access Client
IV. Writing startup scripts
I. Configuration
zookeeper Download Address: http://mirrors.cnnic.cn/apache/zookeeper/zookeeper-3.4.6/
Deploy three servers on a m ...
Posted by wcl99 on Mon, 24 Jun 2019 01:15:20 +0200
JDBC DAO Layer SQL Statement Operation
JDBC DAO Layer SQL Statement Operation
I. PrepareStatment(pstmt)
The precompiled mode of pstmt can only write the SQL statement for the first time when SQL needs to perform the same operation many times but the parameters change.
And distinguish it by pstmt.addBatch();
For example:
//I want to change the age of people with different names ...
Posted by asgsoft on Sun, 23 Jun 2019 23:56:20 +0200
Analysis of MyBatis Plug-in Mechanism
The videos of the following open lessons have been recorded, and students who need them can leave messages.
MyBatis is a framework with strong flexibility. MyBatis operates on the persistence layer by providing a simple and easy-to-use plug-in extension mechanism with the help of four components (Executor, Statement Handler, Para ...
Posted by e33basketball on Sun, 23 Jun 2019 21:42:51 +0200