How to configure multiple JDK environment variables under Linux(CentOS7)
I. Linux version
2. Copy and paste multiple jdks, as follows
cp -R jdk1.7.0_80/ jdk1.7.0_80-2
cp -R jdk1.7.0_80/ jdk1.7.0_80-3
3. Configure multiple JDK environment variables
Add the following after the / etc/profile file
# JDK1 environment configuration
export JAVA_HOME=/usr/local/program/jdk1.7.0_80
export JRE_HOME=$JAVA_HOME/jre
export ...
Posted by lasse48 on Fri, 06 Dec 2019 02:21:17 -0800
Talk about rocketmq's register producer and unregister producer
order
This paper mainly studies register producer and unregister producer of rocketmq
MQClientInstance
rocketmq-client-4.5.2-sources.jar!/org/apache/rocketmq/client/impl/factory/MQClientInstance.java
public class MQClientInstance {
private final static long LOCK_TIMEOUT_MILLIS = 3000;
private final InternalLogger log = ClientLogger.getL ...
Posted by maexus on Thu, 05 Dec 2019 14:47:01 -0800
Integrating spring cloud cloud service architecture - commonservice Eureka project construction process
For the eureka project of HongHu cloud, we do the following construction. The whole construction process is very simple. I will record every step of the construction process, hoping to help you:
1. Create a maven project named particle common Eureka and inherit the particle common service. The specific pom.xml configuration file is as follows: ...
Posted by jandrews on Thu, 05 Dec 2019 11:00:35 -0800
Big data tutorial (8.2) wordcount program principle and code implementation / operation
Last blog shared mapreduce's programming ideas. In this section, the blogger will take his friends to understand the principle of wordcount program and the details of code implementation / operation. Through this section, we can have a general understanding of map reduce program. In fact, map and reduce programs in hadoop are only two of them. ...
Posted by jek on Thu, 05 Dec 2019 09:47:53 -0800
Building the Mesos cluster environment of "advanced" docker (24)
>Original article, welcome to reprint. Reprint please indicate: reprint from IT people's story meeting Thank you!>Original link address: Building the Mesos cluster environment of "advanced" docker (24)
This time, I will start to operate. First, I will install the MES. How to install the MES. Source code: https://github.com/lim ...
Posted by jacksonmj on Wed, 04 Dec 2019 22:13:26 -0800
Learning back-end fast food for all - accessing database with MyBatis
Learning back-end fast food for all (3) - accessing database with MyBatis
In the last section, we learned the JdbcTemplate to access the database, which is much more convenient than using the original JDBC. At least you don't have to deal with a lot of exceptions.But we can still use some frameworks to make the work less. The main choice is MyB ...
Posted by mattison on Wed, 04 Dec 2019 07:19:46 -0800
Multiple domain name binding of the same Tomcat
Requirement: the same Tomcat
Objectives:
1. Access the project under the webapp of Tomcat through the localhost / project name
2. Through www.aaa.com and www.bbb.com, visit the virtual hosts with different domain names under Tomcat
I. modify the port number under the server.xml file
II. Project location
3. Multi domain configu ...
Posted by genics on Wed, 04 Dec 2019 07:05:45 -0800
Hive Installation, Configuration, and Use
Overview of Hive
Hive is a Hadoop-based data warehouse tool that maps structured data files to a table and provides SQL-like query capabilities.
Hive is essentially a MapReduce program that converts HQL.
Data processed by Hive is stored in HDFS, and the underlying implementation of analytic data can be MapReduce, tes, or Spark, with its executo ...
Posted by Wayniac on Tue, 03 Dec 2019 17:47:05 -0800
Hive-2.3.4 installation (upgrade from Hive-1.2.2)
Download Hive installation package from website
Modify hive-site.xml (version 2.3.4 does not have this file to create directly)
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
<configuration>
<property>
<name>javax.jdo.option. ...
Posted by ryadex on Tue, 03 Dec 2019 14:14:21 -0800
About the use of FeignClient
A simple example of using FeignClient is as follows:
1. Add maven dependency
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-openfeign</artifactId>
<version>2.0.2.RELEASE</version>
</dependency>
<dependency>
<groupId& ...
Posted by andrewgauger on Tue, 03 Dec 2019 08:50:19 -0800