The installation and use of nginx under Windows
The original application ran with a single node, and the user always complained that the service response was very slow. In order to improve the user experience, we thought of trying to alleviate the multi-node load balancing
Because of the pressure of the server, we found the window version of nginx. According to the introduction of the para ...
Posted by onlinegamesnz on Sat, 02 May 2020 07:18:40 -0700
SPARQL basic mode query
The last one is a brief introduction to SPARQL. This article introduces the basic schema query of SPARQL
Still use the example from the previous article:
<rdf:RDF
xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#'
xmlns:vCard='http://www.w3.org/2001/vcard-rdf/3.0#'
>
<rdf:Description rdf:about="http://somew ...
Posted by Levan on Fri, 01 May 2020 22:27:02 -0700
Struts 2 notes -- File Download
Struts 2 provides the stream result type, which is specifically used to support the file download function. The following four properties are required to configure the result of stream type.
contentType: Specifies the file type of the downloaded file
inputName: Specifies the entry input stream of the downloaded file
contentDispositio ...
Posted by greeneel on Fri, 01 May 2020 21:03:00 -0700
Java learning note 43 (brief introduction to print stream and IO stream tool classes)
Print stream:
There are two classes: PrintStream and PrintWriter. The methods of the two classes are the same. The difference lies in the constructor
PrintStream: construction method: receive File type, receive string File name, receive byte output stream
PringWriter: construction method: receive File type, receive string File name, receive byt ...
Posted by strangermaster on Thu, 30 Apr 2020 05:20:32 -0700
Hbase API create table error record for Docker container deployment cluster
Hbase API create table error record
Demo method:
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.hbase.HBaseConfiguration;
import org.apache.hadoop.hbase.HColumnDescriptor;
import org.apache.hadoop.hbase.HTableDescriptor;
import org.apache.hadoop.hbase.TableName;
import org.apache.hadoop.hbase.client.Admin;
import org.apa ...
Posted by fusionxn1 on Thu, 30 Apr 2020 02:57:56 -0700
Spring boot log Foundation
Springboot configuration log configuration file location
logging.config: classpath:logging/logback.yml
Spring boot log classification
log4j: an open source log component implemented by apache
logback: it is also designed by the author of log4j. It has better features. It is a log framework used to replace log4j and is the native implementation ...
Posted by aris1234 on Tue, 28 Apr 2020 19:41:38 -0700
Lesson 02: Flink starter WordCount and SQL implementation
In this lesson, we mainly introduce the entry program of Flink and the implementation of SQL form.
In the last lesson, we have explained Flink's common application scenarios and architecture model design. In this lesson, we will start from a simple WordCount case and implement it in SQL mode at the same time, laying a solid foundation for the l ...
Posted by scoppc on Tue, 28 Apr 2020 03:13:19 -0700
Spark DataFrame is not a real DataFrame
The article was originally written in Mars team column , welcome to follow.
From this article, we start a new series of reading paper.
Today's paper is Towards Scalable Dataframe Systems , is still a preprint. By Devin Petersohn from Riselab , formerly known as APMLab, the lab has produced a series of famous open source projects, such as Apache ...
Posted by daniel_grant on Sun, 26 Apr 2020 00:52:37 -0700
Log4j output log to separate log file
Log4j output log to separate log file
09:01:03, January 31, 2018
Number of readings: 1065
Under normal circumstances, the info log of log4j will be printed to a unified log file. When you need to view the execution of a specific function, print a specific function to a specific ...
Posted by rajah on Sat, 25 Apr 2020 07:31:37 -0700
Apache Kafka Study Notes
quick get start
install
Docker installation single Kafka
docker pull wurstmeister/zookeeper
docker pull wurstmeister/kafka
docker run -d --name zookeeper -p 2181:2181 wurstmeister/zookeeper
docker run -d --name kafka -p 9092:9092 -e KAFKA_BROKER_ID=0 -e KAFKA_ZOOKEEPER_CONNECT=Host computer IP:2181 -e KAFKA_ADVERTISED_LISTENERS=PLAINTEXT://127 ...
Posted by ghost007 on Fri, 24 Apr 2020 00:00:49 -0700