The Comparator principle and source code learning of HBase Filter

**Foreword: * * last article HBase Filter overview This paper briefly introduces the composition and genealogy of HBase Filter. This paper mainly introduces the comparator of HBase Filter, which is also the necessary low-level soul skill for learning HBase Filter. The source code in this article is based on HBase 1.1.2.2.6.5.0-292 HDP version. ...

Posted by Oni on Sat, 25 Apr 2020 06:53:54 -0700

where clause of Oracle

The where clause is used to find records from tables or temporary datasets that meet the specified conditions, and can be used for conditions in select, update, and delete statements. 1, Generate test data Use the following SQL to create the super girl basic information table (t? Girl) and insert some test data. create table T_GIRL ( id ...

Posted by banacan on Thu, 23 Apr 2020 05:19:05 -0700

JavaScript serialization 5-data conversion to Number and String, Number parsing

1, Series 4 3. If null and undefined do not have toString() method, the call will report an error var num1 = undefined; console.log(num1.toString()); ​ var num2 = null; console.log(num2.toString()); 2, String() 1. Regular use Some values do not have the toString() method. You can use the String() method at this time, such ...

Posted by wellscam on Sun, 19 Apr 2020 04:45:09 -0700

HBase operation: Spark read HBase snapshot demo share

**Before * * I shared with you a small demo of Spark reading HBase directly through the interface: HBase-Spark-Read-Demo However, if the amount of data is very large, Spark's direct scanning of HBase table will inevitably cause a lot of pressure on HBase cluster. Based on this, today I'd like to share with you the way spark directly reads HBas ...

Posted by vapokerpro on Fri, 17 Apr 2020 08:28:05 -0700

Key uses of Java serials 109-sychronized and their notes, custom annotations

1. synchronized keywords 1. Let's modify the withdraw method in the last series   //synchronized Keyword added to member method can synchronize memory variables public synchronized void withdraw(double money) { double after = this.balance - money; try { //Here we delayed deliberately and we can see that the balance ...

Posted by michaelphipps on Sun, 12 Apr 2020 09:57:05 -0700

Multivariate statistical analysis R language modeling

Concept: To explore the correlation between one set of variables and another (Canonical Correlation Analysis) is an extension of simple correlation and multivariate correlation Compress parameters into a variable Parameter limit: standardize the transformation so that the covariance is 1 Lagrange expansion Seeking the extreme value ...

Posted by g00fy_m on Sun, 12 Apr 2020 09:20:59 -0700

JavaScript Serial 3-Variable Memory Analysis, Constants, Data Types

1. Inner Coarse Analysis of Variables 1. Default values for variables (1) If the variable is not assigned when it is initialized, then the stored variable is undefined (2) Example var lk; console.log(lk); 2. Declare multiple variables at the same time Two ways var name,age,sex; name = "kdfg"; age = 2; //or var name = "jsoaf",age,sex = ...

Posted by pistolfire99 on Mon, 06 Apr 2020 09:44:52 -0700

The realization principle of window function in spark and hive

Window function is often used in work and often asked in interview. Do you know the implementation principle behind it? Starting from the problems encountered in a business, this paper discusses the data flow principle of window function in hsql, and gives a solution to this problem at the end of the article. ​   1, Business background Fi ...

Posted by moiseszaragoza on Mon, 06 Apr 2020 04:05:56 -0700

Python learning notes (12) Python files and iterations (2)

iteration Basic meaning Iteration is the activity of repeating the feedback process, whose purpose is usually to approach and reach the desired goal or result. Each iteration of the process is called an "iteration", and the result of each iteration will be used as the initial value of the next iteration. In computational science, iter ...

Posted by fael097 on Sat, 04 Apr 2020 17:12:06 -0700

kibana starts reporting an error Elasticsearch cluster did not respond w

kibana start error Elasticsearch cluster did not respond with license information This error reporting environment is an ES cluster composed of four elastic search servers. The versions are all elk7.1.0. There are many online documents for specific installation steps.Use cdh1 as the master, cdh2, cdh3, and cdh4 as the datanode nodes. After the ...

Posted by LAMP on Sat, 04 Apr 2020 02:01:12 -0700