Skills: awk tutorial linux command

preface AWK is an interpretive programming language. For text processing, its first name comes from the last names of its three authors: Alfred Aho, Peter Weinberger and Brian Kernighan awk program structureRun awk file scriptawk basic syntaxBuilt in variables commonly used in awk program Pay attention to the official account and exchange wi ...

Added by stickynote427 on Mon, 31 Jan 2022 02:36:35 +0200

What if HDFS is deleted? Record an event of deleting the database without running away

1, Background of the incident One day last month, due to the lack of cluster space, an employee with higher authority in the company executed the manual cleaning command on an online cluster through the springboard machine and frantically executed hadoop fs -rmr -skipTrash /user/hive/warehouse/xxxxx. Suddenly, I didn't know whether it was the ...

Added by Sirus121 on Sun, 30 Jan 2022 20:01:52 +0200

Kafka cluster management -- configuration and tuning

Cluster is a kind of computer system, which is connected by a group of loosely integrated computer software and / or hardware to complete the computing work with high close cooperation. In a sense, they can be regarded as a computer. A single computer in a cluster system is usually called a node and is usually connected through a local area net ...

Added by HostingTrade on Sun, 30 Jan 2022 14:20:09 +0200

Java interview questions, analyzing multithreading behavior from the bottom of Java

Original: enjoy learning classroom lecturer Reprint, please state the source! For example, frameworks that handle large amounts of information, such as Spring batch processing, use threads to manage data. Operating threads or CPU processes at the same time can improve performance, resulting in faster and more efficient programs. W ...

Added by luvburn on Sun, 30 Jan 2022 11:21:14 +0200

The PWM of EtherCAT motion control card is synchronized with analog output and motion speed

Today, the little assistant of positive motion will share with you how the ECI2828 of EtherCAT motion control card uses C# to synchronize PWM output with analog output and motion speed. The application scenarios of this paper include the energy control of laser cutting and laser marking and other applicable scenarios. I. Introduction to ECI282 ...

Added by ScoobyDooobyD00 on Sun, 30 Jan 2022 10:43:10 +0200

Skills: maven's easy tutorial

preface maven is the most popular project construction system. If it is java related development, it can be said to be indispensable. Although another module management tool grade is emerging, maven is still commonly used by most companies Maven and Maven's warehouseMaven command and build lifecyclemaven project POM Detailed explanation of XM ...

Added by aprieto on Sun, 30 Jan 2022 07:12:34 +0200

The 35th day of working hard for a career change programmer - thread, queue

I woke up early today and was a little closer to my goal. The painful conversation time was almost over. All that remained was to finish the work and wait patiently. Although the result was not necessarily the same as I imagined, some changes were also good. I finished a hard question for the first time. Although I spent a lot of time and look ...

Added by jredwilli on Sun, 30 Jan 2022 06:25:30 +0200

Write less if else. Do you know how inefficient it is?

Recommended reading: This set of 40K+star learning notes on Github can help you handle more than 95% of Java interviews It's no exaggeration to say that this SpringBoot study guide can solve 98% of the problems you encounter Give me a break; orz! This set of PDF of SQL becoming God, which is expected by thousands of people, is finally open ...

Added by joel danny on Sun, 30 Jan 2022 04:38:26 +0200

It's so complete! This is the correct posture of Redis distributed lock! Have you mastered it?

preface In Java, we are familiar with locks. The commonly used locks are synchronized and Lock. In Java Concurrent Programming, we use locks to solve the problem of data inconsistency caused by multiple threads competing for the same shared resource or variable. However, JVM locks can only be used for a single application service. With the d ...

Added by mike_revolution on Sun, 30 Jan 2022 03:06:50 +0200

After learning for so long, do you understand Java String?

#1. Characteristics of string ##1.1 invariance We often hear that the key of HashMap suggests using immutable classes, such as String. Immutability here means that once the class value is initialized, it can no longer be changed. If it is modified, it will be a new class. Let's write a demo to demonstrate it. public class test { public sta ...

Added by CrimsonSoul on Sun, 30 Jan 2022 03:00:35 +0200