Implementation of zookeeper pseudo clustering

1. Install the stand-alone Zookeeper 1. You need to install jdk first 2. Install zookeeper, download address https://archive.apache.org/dist/zookeeper/ , select the corresponding version, I choose version 3.4.9 here to install, copy the link address of the version you want to download, and use the wget command to download to the virtual machi ...

Posted on Tue, 05 May 2020 23:05:02 -0700 by 3dron

ionic realizes wechat, QQ and microblog sharing

1. First of all, you should prepare the following (1) one android.apk package (2) application signature (generate signature with android apk package name)           http://blog.csdn.net/dan_2017/article/details/79138635 (3) fill in application information and apply for appid through various open platforms QQ: Tencent open platform http://o ...

Posted on Tue, 05 May 2020 10:13:14 -0700 by springo

cdh6.3.2 configure Hive on Spark

Environment: Dell xps15 (32G memory, 1T solid state, Samsung 1T mobile solid state with external lightning 3 interface, 4T external mechanical hard disk of WD Elements) win10 three Centos7 virtual machines are used to test cdh6.3.2 cluster (the highest version of free community version), self compiled Phoenix 5.1.0, flink1.10.0, elasticsearch6. ...

Posted on Tue, 05 May 2020 05:12:05 -0700 by mwichmann4

Common notes

Introducing Commons lang3 dependency Official website The dependency import mode of maven is given <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-lang3</artifactId> <version>3.8.1</version> </dependency> Correspondingly, if you use gradle to manage pr ...

Posted on Tue, 05 May 2020 02:40:32 -0700 by cjbeck71081

34. Integrated Workflow Activity for Spring Cloud 2.x

Workflow is very common in projects, so here are two diagrams: First:Second:Explain the above two pictures: Assume these two diagrams are flowcharts of Chinese brothers'vacations Components of the graph: Characters: Fan Bingbing, Feng Xiaogang, Wang Zhongjun Events (Actions): Leave, Approve, Disapprove Workflow: is the "automation of pa ...

Posted on Tue, 05 May 2020 01:39:58 -0700 by CiPH

Using the wagon Maven plugin plug-in to automatically deploy a project

The maven dependency of this plug-in is: <dependency>       <groupId>org.codehaus.mojo</groupId>       <artifactId>wagon-maven-plugin</artifactId>       <version>1.0</version>   </dependency>   The document address of the plug-in is: http://www.mojohaus.org/wagon-maven-plugin/ ...

Posted on Sun, 03 May 2020 15:55:34 -0700 by Sanoz0r

Java bulk file compression export and download to local

Mainly usedorg.apache.tools.zip . ZipOutputStream this zip stream, here's an example of Execl. The idea is to first write the zip stream into the http response output stream, and then write the excel stream into the zip stream (here, you don't need to generate files and package them, just read and write the execl template and output the data to ...

Posted on Sat, 02 May 2020 22:11:05 -0700 by synchro_irl

Spring boot (10): spring boot uses FastJson

Alibaba FastJson is a Json processing toolkit, including "serialization" and "deserialization". It has the following features: The fastest, tests show that fastjson has extremely fast performance, surpassing any other Java Json parser. Including Jack Johnson, who cl ...

Posted on Sat, 02 May 2020 17:19:11 -0700 by Twysted

maven generates executable jar s and runs them using shell scripts

To create maven project and use maven project to generate executable jar, you need to use maven assembly plugin plug-in to complete. The configuration of pom.xml file is as follows <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/ ...

Posted on Sat, 02 May 2020 10:15:02 -0700 by SuisydeKing

java AES encryption in Android

1 foreword In java development, encryption is still a very common requirement. There are two common encryption methods: symmetric encryption and asymmetric encryption, which use different encryption and decryption keys. The detailed encryption principle will not be discussed here. AES encryption is widely used in Java ...

Posted on Sat, 02 May 2020 07:56:31 -0700 by phpconnect