Name node switching method, block chain system, electronic equipment and readable medium

A name node and electronic device technology, applied in the field of big data, can solve the problem of Hadoop cluster unavailability and achieve the effect of ensuring accuracy

Pending Publication Date: 2022-02-01
CHINA UNITED NETWORK COMM GRP CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] For this reason, the present invention provides a method for switching name nodes based on a distributed system, a block chain system, electronic equipment, and a computer-readable medium, so as to solve the problem of the entire Hadoop caused by NameNode downtime or crash after switching in the prior art. The problem of cluster unavailability

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Name node switching method, block chain system, electronic equipment and readable medium
  • Name node switching method, block chain system, electronic equipment and readable medium
  • Name node switching method, block chain system, electronic equipment and readable medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] Specific embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings. It should be understood that the specific embodiments described here are only used to illustrate and explain the present invention, and are not intended to limit the present invention.

[0038] As used in the present invention, the term "and / or" includes any and all combinations of one or more related listed items.

[0039] The terms used in the present invention are for describing specific embodiments only, and are not intended to limit the present invention. As used herein, the singular forms "a" and "the" are intended to include the plural unless the context clearly dictates otherwise.

[0040] When the terms "comprising" and / or "consisting of" are used in the present invention, it specifies the presence of said features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more oth...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a name node switching method based on a distributed system, and aims to solve the problem that the whole distributed system cluster is unavailable due to crash or collapse of name nodes after switching in the prior art, and the name node switching method based on the distributed system is used for a block chain system. The block chain system comprises a main name node and a plurality of standby name nodes, the main name node is a name node for providing data service for a distributed system, and the method comprises the following steps: synchronizing metadata of the main name node to the plurality of standby name nodes; and under the condition that the main name node stops providing the data service, selecting one standby name node from a plurality of standby name nodes to provide the data service for the distributed system. The invention further discloses the block chain system, electronic equipment and a computer readable medium.

Description

technical field [0001] The present invention relates to the field of big data technology, in particular to a name node switching method based on a distributed system, a block chain system, electronic equipment, and a computer-readable medium. Background technique [0002] With the rapid development of information technology, the scale of enterprise data shows an explosive growth trend. Due to its high reliability, scalability, on-demand service and many other advantages, cloud computing is used by many enterprises to store and process enterprise data. [0003] Hadoop is widely used as one of cloud computing solutions. As a distributed system, Hadoop includes three main core components: HDFS (Hadoop Distributed File System, distributed file storage), MAPREDUCE (distributed computing), YARN (resource scheduling). NameNode (name node) is a very important component in HDFS, and its downtime or crash will cause the entire Hadoop cluster to be unavailable. [0004] In some rela...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/20G06F16/178G06F16/182
CPCG06F11/2033G06F16/178G06F16/182
Inventor 崔羽飞刘颖慧赵慧蔡一欣李堃
Owner CHINA UNITED NETWORK COMM GRP CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products