HDFS Client Operations (win10)
1. Building Development Environment
1) copy the compiled hadoop jar package to the non Chinese path.
2) Configure HADOOP_HOME environment variables
3) Configuring Path environment variables
4) Create a Maven Project HDFSClientDemo
5) Import the corresponding dependent coordinates + log additions ...
Posted by becoolufull on Sun, 06 Oct 2019 10:42:44 -0700
Generator SqlMapCustom (mybatis reverse engineering)
Generator SqlMapCustom can be used as a tool to automatically load POJO, mapper interface and corresponding xml. First, paste the source link.
Click here: GitHub Source Link
Look at the source code annotations for usage. The contents of the project are as follows:
GeneratorSqlmap.java
import ja ...
Posted by Kondie on Sat, 05 Oct 2019 07:55:21 -0700
scope of configuring bean s
siye@r480:~/svlution/workspace/springcore4322$ tree src/
src/
├── main
│ ├── java
│ │ ├── log4j.properties
│ │ └── ocn
│ │ └── site
│ │ └── springioc
│ │ └── domain
│ │ └── User.java
│ └── resources
└── test
├── java
│ └── ocn ...
Posted by ebm on Fri, 04 Oct 2019 03:48:44 -0700
Handwritten RPC Framework Chapter 2 netty Communications
Case introduction
When we implement the rpc framework, we need to choose the communication mode of socket. And we know that in general, socket communication is similar to qq chat, sending messages in the past, and when to reply. But our rpc framework communication, which feels like an http call, needs t ...
Posted by fer0an on Thu, 03 Oct 2019 14:38:23 -0700
Analysis of MyBatis Log Module
Label (Space Separation): Uncategorized
The package where the log function code resides
org.apache.ibatis.logging
Loading order of log module
mybatis does not have its own log module. It uses third-party logs (and jdk has its own logs)
Log loading order slf4J_commonsLoging_Log4J2_Log4J_JdkLog
Related code
Declare the loading order in the stati ...
Posted by TecTao on Wed, 02 Oct 2019 13:50:26 -0700
Mybatis dynamic SQL statements -- if, where, choose, when, otherwise, foreach
Mybatis Chinese development document download
I. if, where
Step 1: Encapsulate the mapping of database tables to User.java
package cn.lemon.domain;
import java.io.Serializable;
import java.util.Date;
public class User implements Serializable {
private Integer id;
private String username;
...
Posted by moonshaden on Tue, 01 Oct 2019 16:34:40 -0700
Detailed description of common logback.xml configuration files
Reasons for choosing logback
A simple comparison between logback and log4j:
1. First, logback is faster to use for the same code path.
2.logback implements the api of log4j natively, and a transformation layer is needed in the middle of log4j.
3. R ...
Posted by shortj75 on Tue, 10 Sep 2019 05:20:06 -0700
Skeleton's Initial Knowledge of Spring Boot
Understanding Spring Boot
Spring Boot official website
SpringBoot makes it easy to create independent, production-level Spring-based applications that you can "run only".
We have a unique view of the Spring platform and third-party libra ...
Posted by juschillinnow on Fri, 06 Sep 2019 00:54:10 -0700
Big data - - Flume
Flume Log Collection System
Summary
operating mechanism
Architecture of Flume Acquisition System
Flume installation deployment
A Simple Case of Flume
Flume custom MySQL Source
Custom Source Description
Custom MySQL Source Composition
Customize My ...
Posted by Magestic on Fri, 16 Aug 2019 06:53:44 -0700
Is log checking difficult? Distributed Log Link Tracking to Help You
Background
The most commonly used method to develop and sort out system problems is to view system logs. In distributed environment, ELK is generally used to collect logs in a unified way. However, it is more troublesome to use log location in concurrent large time. Because a large number of logs of other users/threads are output and run togeth ...
Posted by Cong on Thu, 15 Aug 2019 02:26:39 -0700