Hadoop Programming Tour I
Configure the programming environment on Hadoop and test sample run
Pre-preparation:
Hadoop runs successfully"Hadoop" Installation of the Sixth Bullet from Zero - Brief Bookhttp://www.jianshu.com/p/96ed8b7886d2
Install the Linux version of eclipseeclipse-jee-mars-2-linux-gtk-x86_64.tar.gzUse tar command to decompress under Linux, ...
Posted by haynest on Sun, 09 Jun 2019 18:28:54 -0700
Recording the process of troubleshooting on-line
Background: After the completion of the new function development test, we are ready to launch. When the third machine is released, the monitoring shows that CPU of one machine suddenly soars to 300%, the number of active threads of Dubbo directly soars to 1000+, so we have to stop publishing, immediately roll back the problem machine, and retur ...
Posted by meigwil on Thu, 06 Jun 2019 13:30:25 -0700
Source code and asynchronous log of slf4j and log4j
In our projects, we usually use slf4j to log in this way:org.slf4j.Logger logger = org.slf4j.LoggerFactory.getLogger(Test.class);Start with this log Logger creation to see the source code:org.slf4j.LoggerFactory.getLogger(String name){
ILoggerFactory iLoggerFactory = getILoggerFactory(); //1 places
return iLoggerFactory.getLogger(name); ...
Posted by Evanthes on Fri, 31 May 2019 15:44:01 -0700
log4j collation in production environment
log4j collation in production environment
There are many improvements in the log of the company's java underlying code. This article mainly records the difficulties encountered in the process of improvement and records them in order to avoid forgetting (here I use log4j.propertes, not log4j.xml).
How to configure log paths in non-web projec ...
Posted by TF@TheMoon on Mon, 27 May 2019 13:26:55 -0700
Zoo Keeper Quick Start
Link to the original text: http://www.dubby.cn/detail.html?id=9024
This brief introduction
This article is intended for beginners of ZooKeeper, introducing simple installation, configuration, and commands to try to run ZooKeeper. Also mentioned are some slightly responsible installations - replicated deployments, log optimization. Of course, ...
Posted by Dan39 on Fri, 24 May 2019 16:29:02 -0700
Spark Cluster Installation
spark version 1.6.0, Scala version 2.12, jdk version 1.8. spark has been used recently and is recorded here.
One master and three workers, together with Hadoop-2.7.7 cluster, namdenode on master and two datanode s on worker 1 and worker 2.
List-1
192.168.33.30 worker1 master
192.168.33.31 worker2
192.168.33.32 worker3
Modify the h ...
Posted by gidiag on Wed, 15 May 2019 19:09:29 -0700
Form submission details
Common application scenarios for form duplicate submission1. When the network is delayed, the user clicks the submit button several times, which leads to the delay.2. After submitting the form, the user clicks the refresh button to cause the form to be submitted repeatedly.3. After submitting the user's form, click the browser Back button to re ...
Posted by seularts on Sun, 12 May 2019 04:03:03 -0700
Elastic search 5.2.2 plug-in development (1)
Address of this article http://blog.csdn.net/makefriend7/article/details/60323717
First put the official address https://www.elastic.co/guide/en/elasticsearch/plugins/5.2/index.html
1. Introduction to Plug-ins
Plug-in, as you know by name, is to insert something on ES to enhance ES's ability.
Here's a brief introduction to th ...
Posted by sweetmaster on Sat, 11 May 2019 13:26:08 -0700
Spring Boot 2 Dynamic Modification Log Level
This paper is based on: Spring Boot 2.1.3, which supports all versions of Spring Boot 2.x theoretically.
As a programmed ape, positioning is our daily work, and log is a very important basis for positioning. When locating problems in traditional ways, the following steps are often taken:
Set the log level low, such as DEBUG;
Restart the appl ...
Posted by dstockto on Mon, 06 May 2019 15:05:39 -0700
Log4j2 + Spring MVC5 configuration
Article directory
demand
Trial process
pom.xml file
Configuration of log4j2 in web.xml
log4j2 file path
Test whether the log4j2.xml modification takes effect during project operation
Solve the problem
Successful retest
demand
Want to use Log4j2's dynamic loading configuration file feature, build a spring MVC project ca ...
Posted by morleypotter on Mon, 22 Apr 2019 18:51:35 -0700