OpenStack-M Neutron (Network Services)

Neutron Installation I. Database Configuration Creating service credentials and API endpoints Controller Node - Install and Configure Neutron Components Compute Node - Install and Configure Neutron Components V. Verification of Neutron Services I. Database Configuration # mysql -uroot -p123456 MariaDB [(none)]> create ...

Posted by xenophobia on Wed, 23 Jan 2019 20:15:13 -0800

Java code implements basic operations on HBase

overview 1. Importing jar packages 2. Testing 3. Abnormal handling First of all, the HBase Build, then start Zookeeper,Hadoop HBase cluster 1. Importing jar packages Get ready: 1.CentOS7 2.Zookeeper Cluster 3. Hadoop 2.7.3 Cluster 4. HBase 2.0.0 cluster 5.eclipse Build a java project in eclipse where you create a new lib fol ...

Posted by torrentmasta on Wed, 23 Jan 2019 19:27:12 -0800

Sqldf Packet Learning in R

Sqldf Packet Learning in R SQL has powerful functions, not only to achieve data cleaning, statistics, operations, but also to achieve data storage, control, definition and invocation. More and more companies require data analysts not only to master the theoretical methods and programming capabilities of statistical modeling an ...

Posted by jasonla on Wed, 23 Jan 2019 19:21:13 -0800

Read and write operations on MongoDB on SparkSql (Python version)

Read and write operations on MongoDB on SparkSql (Python version) 1.1 Read mongodb data The python approach requires the use of pyspark or spark-submit for submission. Here's how pyspark starts: 1.1.1 Start the command line with pyspark # Locally installed version of spark is 2.3.1, if other versions need to be modified ve ...

Posted by k3Bobos on Wed, 23 Jan 2019 17:57:13 -0800

Using selenium to crawl dynamically rendered pages

Explain For some websites, their pages are not loaded with HTML tags, but rendered with javascript. For such webpages, it is not feasible to parse only by regular expressions and XPath. For such web pages, we can analyze the ajax requests, analyze the ajax parameters to find its rules, and simulate the ajax requests by ourse ...

Posted by slug58 on Wed, 23 Jan 2019 06:18:13 -0800

Raft Understandable Distributed Consensu

Raft Understandable Distributed Consensus So What is Distributed Consensus? Let's start with an example… Consensus unanimity; public opinion; unanimity.LetLettish Leto; allowed, allowed; allowed, allowed.start with... startExamples; Examples; Example; Example; Precedent; As uuuuuuuuuuuu An example; for uuuuuuuuuuuu Set an exa ...

Posted by VenusJ on Wed, 23 Jan 2019 06:06:15 -0800

Ceph osd boot error osd init failed (36) File name too long

1. Problem phenomena: On Ceph's OSD node, the start of the OSD process failed and the following error message was seen in its log: 2017-02-14 16:26:13.558535 7fe3883f58c0 0 filestore(/var/lib/ceph/osd/ceph-1) mount: enabling WRITEAHEAD journal mode: checkpoint is not enabled 2017-02-14 16:26:13.558712 7fe3883f58c0 -1 journal Fi ...

Posted by codeman on Wed, 23 Jan 2019 02:12:13 -0800

Build a High Availability (HA) cluster using the Quorum Journal Manager (QJM)

Manual HA 1. If you are creating a brand new HA cluster, please complete this article first. Blog The first 18 steps. 2,modify core-site.xml <property> <name>fs.defaultFS</name> <value>hdfs://mycluster</value> </property> <property> <name>hadoop.tmp.dir</name> &l ...

Posted by dragongamer on Tue, 22 Jan 2019 19:24:12 -0800

[arc081] F-Flip and Rectangles - Thinking Questions + Monotone Stack

Main idea of the title: Given a 01 rectangle of n * m n times m n * m, one row or one column can be flipped at a time. Find the maximum all-1 sub-rectangle after several flips. Train of thought: First of all, we need to know a conclusion: if a sub-rectangle can be inverted into a full-1 rectangle, then the number of 1 of eac ...

Posted by MiniMonty on Tue, 22 Jan 2019 16:48:13 -0800

Analysis of Spark in Action on Kubernetes-Playground Construction and Architecture

Preface Spark is a very popular big data processing engine. Data scientists use Spark and the related ecological big data suite to complete a large number of rich scene data analysis and mining. Spark has gradually become the industry standard in the field of data processing. However, Spark itself is designed to use static resource management. ...

Posted by stallingjohn on Tue, 22 Jan 2019 08:18:13 -0800