2021 summer study day 25

preface Time: August 13, 2021Content: Composition of HDFS componentsComposition of YARN componentsMapReduce architectureHDFS operation commandFully distributed installation 1 Composition of HDFS components [the external chain picture transfer fails. The source station may have an anti-theft chain mechanism. It is recommended to save the ...

Posted by bad_goose on Sat, 02 Oct 2021 15:08:35 -0700

HDFS operation and command introduction

Common HDFS commands <path>... One or more paths in hdfs, if not specified, default to/user/<currentUser> <localsrc>...one or more paths to the local file system Target Path in <dst> HDFS view help Command: hdfs dfs -help [cmd ...] Parameters: cmd... One or more commands to query Create directory Command: hd ...

Posted by dr.wong on Sat, 02 Oct 2021 09:30:52 -0700

Tianchi competition - Forecast of repurchase of tmall users

Learn big data analysis and machine learning from 0, and simply write down the competition experience. The score is 0.623537, ranking 629 / 5602     1, Competition background Merchants sometimes carry out large-scale promotional activities (such as discounts or cash coupons) on specific dates (such as boxing day sales, "Black Friday& ...

Posted by dch27 on Wed, 29 Sep 2021 13:21:38 -0700

WARN [Consumer clientId=consumer-1, groupId=console-consumer-55928] 1 partitions have leader brokers

I. problem description Colleagues reported that in our three node kafka cluster, when one of the servers goes down, the business is affected and cannot produce and consume messages. Program error: WARN [Consumer clientId=consumer-1, groupId=console-consumer-55928] 1 partitions have leader brokers without a matching listener, including [baidd- ...

Posted by jrtaylor on Tue, 28 Sep 2021 13:55:51 -0700

hadoop+zookeeper to set up a highly available cluster

hadoop to build highly available clusters Question: What are the problems with existing clusters? HDFS clusters, in a single NN scenario, if the NN fails, the entire HDFS cluster will not be available (centralized cluster), the solution is to configure multiple NNs. But the question arises again. Which one of these NN Ns provides service ...

Posted by saf on Tue, 28 Sep 2021 11:07:59 -0700

Soci operation database (soci: database operation Library)

1. Reasons for choosing soci slightly 2. Characteristics of soci ① Enter sql statements in stream mode ② Pass and parse parameters through into and use syntax ③ Support connection pool and thread safety remarks: It can be seen that it is only a lightweight package, so it also has greater flexibility. The back end supports oracl ...

Posted by neuromancer on Mon, 27 Sep 2021 21:08:10 -0700

Python database programming, this article is for mysql, snowball learning Python season 4, Article 13

In the first season of snowball learning python, we have contacted the operation sqlite of Python. This blog introduces the story between python, mysql and nosql. Before formal study, make sure that mysql is installed on your computer. mysql installation blog: Supplementary knowledge: the latest windows installation tutorial of mysql in 2021, ...

Posted by makeITfunctional on Sun, 26 Sep 2021 22:11:08 -0700

Spark series tutorial "Hello World" -- Word Count of big data

Basic summary Spark is a fast, universal and scalable big data analysis engine. It is a big data parallel computing framework based on memory computing. Spark was born in the AMP laboratory at the University of California, Berkeley in 2009. It was open source in 2010 and became the top project of Apache in February 2014. This article is the f ...

Posted by mator on Sat, 25 Sep 2021 11:50:44 -0700

Spark2.4.8 RDD Partitions and Custom Partitions Cases

1. Description Reader: Beginner SparkDevelopment environment: IDEA + spark2.4.8+jdk1.8.0_301Computer Configuration: 4 Core 8 ThreadView CPU methods: In Windows, type "wmic" in the cmd command, then enter "cpu get Name", "cpu get NumberOfCores", "cpu get NumberOfLogicalProcessors" in the ...

Posted by snoopgreen on Sat, 25 Sep 2021 09:13:54 -0700

day1.4--java basic syntax

Comments, identifiers, keywords Note: self help writing is a very good habit Single-Line Comments multiline comment Document comments are not executed New Project create a New Project [the external chain picture transfer fails. The source station may have an anti-theft chain mechanism. It is recommended to save the picture and upload it dir ...

Posted by c815902 on Sat, 25 Sep 2021 03:02:19 -0700