Python notes: draw several beautiful polylines with the pyecharts Library
I believe that many people with a certain Python foundation should have found that the visual graphics drawn with the matplotlib library are slightly ugly (default) except for the area map! However, the visual graphics created by pyecharts library have strong visual impact!
The following is a group of broken lines that my colleagues dislike th ...
Added by johndale on Thu, 23 Apr 2020 18:28:23 +0300
Optimized points (window functions) of sparksql over hivesql
Sometimes, a select statement contains multiple window functions whose window definitions (OVER clauses) may be the same or different.
For the same windows, there is no need to partition and sort them again. We can merge them into a Window operator.
such as The realization principle of window function in spark and hive Case in:
select i ...
Added by serverman on Tue, 07 Apr 2020 17:52:21 +0300
hadoop 8-day course -- the fifth day, the HA mechanism of hadoop
The mechanism of hadoop is only available in hadoop 2.x. the implementation of this function depends on a distributed component: zookeeper.
Brief introduction to zookeeper
zookeeper mainly provides distributed coordination services. Main functions: 1. Provide storage and management of a small amount of data. 2. Provide monitoring function for d ...
Added by THEMADGEEK on Mon, 06 Apr 2020 12:21:44 +0300
Python source code analysis - String objects in Python
1. Preface
We have [integer object in Python] The fixed length objects are explained in detail in the chapter. Next, we will introduce variable length objects, and string type is a typical representative of such objects.
A concept must be introduced here:
There are two types of variable length objects in Python:
Variable length variable objec ...
Added by baccarak on Sat, 28 Mar 2020 13:01:40 +0200
Multithreaded notes - master worker
The multithreaded master worker is also understandable literally
Master is equivalent to a leader. One is enough. If there are more than one, it's a big problem to listen to whom. Master is responsible for assigning tasks to workers. Then summarize the completion of each person
Worker is the person who works, completes the task assigned by the ...
Added by Pudgemeister on Wed, 26 Feb 2020 15:47:12 +0200
Xiaohao algorithm let you learn how to use code to judge "24" points
"24 o'clock" is a kind of mathematical game, just like chess and go, it is a kind of entertainment that people like to see. It can't be traced back to when it started, but it is gradually accepted by more and more people with its unique mathematical charm and rich connotation. Today, I'd like to share an algorithm topic about "24 ...
Added by abcd1234 on Wed, 26 Feb 2020 05:12:30 +0200
Hbase data backup case explanation
Data backup of HBase
1.1 backup the table based on the class provided by HBase
Use the class provided by HBase to export the data of a table in HBase to HDFS, and then to the test HBase table.
(1) = = export from hbase table to HDFS==
[hadoop@node01 shells]$ hbase org.apache.hadoop.hbase.mapreduce.Export myuser /hbase_data/myuser_bak
(2 ...
Added by ShashidharNP on Mon, 24 Feb 2020 13:26:23 +0200
Understanding Impala query profile step by step
In the third part of this series, I used an example to detail the Impala query profile.In this section, I will use an Impala Profile file from a real production system to explain the steps I take to read the Profile file when I encounter a problem and gradually find the real cause of the problem.If you missed the first three parts of my article ...
Added by ioop on Wed, 05 Feb 2020 18:25:54 +0200
USACO4.3.2--Violent Solution to Prime Matrix
USACO4.3.2--Violent Solution to Prime Matrix
Topic link: Here;
After reading the questions, it is not difficult to find that this is a completed number of questions. First, say the filling method. Most people must think of one line at the beginning, one column at the beginning, and then judge as a w ...
Added by dingus on Tue, 21 Jan 2020 05:54:29 +0200
USING CURRENT LOGFILE has been deprecated
1, Oracle 19c alarm log
2020-01-19 20:40:26.193000 +08:00
Warning: ALTER DATABASE RECOVER MANAGED STANDBY DATABASE USING CURRENT LOGFILE has been deprecated.
Warning: ALTER DATABASE RECOVER MANAGED STANDBY DATABASE USING CURRENT LOGFILE has been deprecated.
alter database recover managed standby database using current logfile disconnect from s ...
Added by noclist on Mon, 20 Jan 2020 20:09:06 +0200