xml file bad instructions do not allow matching

xml file bad instructions do not allow matching Problem description The xml file in Eclipse reported the following error: The processing instruction target matching "[xX][mM][lL]" is not allowed. The error file is empty-configuration.xml in hadoop-common project in Hadoop 2.7.1 source code. The directory of this file in the project is as f ...

Posted by Rayman3.tk on Fri, 03 Jan 2020 21:27:30 -0800

Docker Containers - Mirror Management, Port Mapping, Container Interconnection

Layer of docker image _Each instruction in the Dockerfile creates a new mirror layer;_Mirror layers will be cached and reused;_When the instructions of the Dockerfile are modified, the copied file changes, or the variables specified when the image is built are different, the corresponding mirror layer cache will fail;_When the mirror cache of ...

Posted by nadeemshafi9 on Fri, 03 Jan 2020 20:18:01 -0800

Spring boot iterative release JAR slimming configuration

By default, the plug-in spring boot Maven plugin packages the whole project into a Jar package that can run (the so-called Flat Jar), resulting in a large Jar package (usually dozens of M +). Nowadays, there are many things in iterative publishing. It will waste a lot of time to upload such a huge file every time, and sometimes there will be er ...

Posted by Steve Mellor on Fri, 03 Jan 2020 19:59:28 -0800

Linux work note 027 -- centos7.3 view the port number occupied by tomcat

JAVA technology exchange QQ group: 170933152  Take a look at the figure below. Execute two commands. First find the pid of tomcat, and then find the port according to the pid   It can be seen as follows: 1. Check the process number of tomcat first ps -ef | grep tomcat* The * sign is followed to view multiple tomcat, such ...

Posted by desmortes on Fri, 03 Jan 2020 06:20:29 -0800

Arthas practice - how to quickly troubleshoot online problems

I will not repeat the installation of Arthas here, but I will use it directly Official website address: https://alibaba.github.io/arthas/ 1. View thread information thread View the current thread information and the thread stack Parameter description Parameter name Parameter description id Thread id [n:] ...

Posted by joel danny on Fri, 03 Jan 2020 02:05:41 -0800

Talk about rocketmq's DLedgerRoleChangeHandler

order This article mainly studies the DLedgerRoleChangeHandler of rocketmq. DLedgerRoleChangeHandler rocketmq-all-4.6.0-source-release/broker/src/main/java/org/apache/rocketmq/broker/dledger/DLedgerRoleChangeHandler.java public class DLedgerRoleChangeHandler implements DLedgerLeaderElector.RoleChangeHandler { private static final InternalL ...

Posted by travelbuff on Thu, 02 Jan 2020 00:20:36 -0800

day43: Apache domain name jump, user authentication and access format

1. apapche user authentication: you need to enter a user name and password when you visit the website, and you can access it only after the authentication is passed, which increases the security: for example, manage the access to the background: 1. First, make authentication for the root directory: that is to say, when you visit the website, y ...

Posted by Plex on Wed, 01 Jan 2020 17:33:41 -0800

saltstack deployment and cases

Case 1: rpm deployment and installation of httpd (1) Modify the configuration file and create the base directory [root@server4 salt]# vim /etc/salt/master [root@server4 salt]# cd [root@server4 ~]# ls anaconda-ks.cfg install.log install.log.syslog [root@server4 ~]# mkdir /srv/salt [root@server4 ~]# /etc/init.d/salt-master ...

Posted by eosinophil on Wed, 01 Jan 2020 00:36:10 -0800

Integrating hbase Library in yii2 framework of php

Hbase provides multilingual calls through thrift, a cross language RPC framework. Hbase has two sets of thrift interfaces (thrift1 and thrift2), but they are not compatible. According to the official documents, thrift1 is likely to be abandoned. This article takes thrift2 integration as an example. 1. Visit http://thrift.apache.org/download to ...

Posted by depojones on Tue, 31 Dec 2019 22:15:31 -0800

java uses morphia to access enumeration as value

Source code https://github.com/zhongchengyi/zhongcy.demos/tree/master/mongo-morphia-demo Preface Morphia is a library that java uses orm to operate mongodb. But by default, when using morphia to access enum, it is accessed by name. We need to access enum by value. As shown in the figure: the schoolClassLevel1 field is accessed by enum name ...

Posted by nanny79 on Tue, 31 Dec 2019 06:59:46 -0800