HA high availability + hive+hbase+sqoop+kafka+flume+spark installation and deployment

catalogue preface data HA high availability deployment Hive installation deployment Hbase installation and deployment sqoop installation deployment Unzip the installation package Modify profile environment variable  sqoop-env.sh Copy JDBC Driver Test whether Sqoop can successfully connect to the database kafka installation and depl ...

Posted by anthonyv on Mon, 08 Nov 2021 04:33:27 -0800

Redis learning notes 7: master-slave replication and sentinel

Author: Grey Original address: Redis learning notes 7: master-slave replication and sentinel What are the problems with single machine, single node and single instance Redis? It is easy to cause single point of failure, so how to solve it? Active / standby mode At the same time, read-write separation can be realized Each node here is ...

Posted by Paddy on Mon, 08 Nov 2021 04:21:32 -0800

Java Web Learning - data sharing among multiple servlets

1, Data sharing 1. Overview of data sharing Data sharing is data transfer. For example, how to transfer data to another Servlet class myservletttwo after MyServletOne is completed becomes data sharing 2. Data sharing solution (1) ServletContext interface (2) Cookie class (3) HttpSession interface (4) HttpServletRequest interface 2 ...

Posted by ozzmans on Mon, 08 Nov 2021 04:17:18 -0800

Java foundation - Dynamic Proxy

prefaceIn the source code implementation of Mybatis, the design idea of dynamic agent is used. In order to understand the dynamic agent in Mybatis, this article will study the JDK dynamic agent combined with examples and source code, and finally summarize the differences between JDK dynamic agent and CGLIB dynamic agent, so as to help better un ...

Posted by zone16 on Mon, 08 Nov 2021 04:04:53 -0800

non_max_suppression code analysis

non_max_suppression code analysis NMS was performed simply according to confidence def non_max_suppression(boxes, conf_thres=0.5, nms_thres=0.3): detection = boxes # 1. Find the box in the picture whose score is greater than the threshold function. The number of coincident boxes can be greatly reduced by filtering scores before screen ...

Posted by dloeppky on Mon, 08 Nov 2021 03:17:38 -0800

Oracle Database Oracle collection

1, Definition of Oracle collection Set is a data type in Oracle, which stores a group of data with the same data type. 2, Composition of set Consists of subscripts and values. The types of subscripts include numeric types (integer type, pls_integer and binary_integer) and string types. The types of values are all types in the database (b ...

Posted by shan111 on Mon, 08 Nov 2021 03:06:22 -0800

MHA high availability configuration and failover

catalogue preface 1, MHA       1. Overview       2. Composition of MHA       3. Characteristics of MHA 2, Build MySQL MHA       1. Experimental ideas       2. Experimental environment       3. Experimental steps 3, Fault simulation   &nbs ...

Posted by luke_barnes on Mon, 08 Nov 2021 03:06:22 -0800

Serialization and deserialization technology and local serialization technology of IO stream

1, Overview serialize The objects in the program are stored directly in the form of files according to the sequence of objects in memoryDeserialization Reread the object data from the file into the program Is to read out the previously serialized object from the file and change it into an object againIn 2018, java officials found th ...

Posted by cyberdesi on Mon, 08 Nov 2021 02:57:50 -0800

MIT6.830 lab5 B+ Tree Index test report

1, Experimental overview lab5 is mainly used to realize the B + tree index. It mainly has the functions of query, insertion and deletion. The query is mainly based on the characteristics of B + tree. The splitting of nodes should be considered for insertion (when the node tuples are full), the redistribution of elements in nodes should be cons ...

Posted by knashash on Mon, 08 Nov 2021 02:41:56 -0800

system verilog object oriented programming

Class method A program in a class is also called a method, that is, an internal task or function defined within the scope of the class. The following example defines the display () method for the Transaction class. System Verilog will call the correct display () method according to the type of handle. class Transaction; bit[31:0]addr,crc ...

Posted by slands10 on Mon, 08 Nov 2021 02:38:44 -0800