Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Automatic slave node service recovering method of hadoop system

An automatic recovery and node startup technology, applied in transmission systems, electrical components, etc., can solve the problems of human operation errors, heavy troubleshooting and changes, and inability to restore the services of slave nodes, so as to achieve flexible access, reduce risks and labor costs. investment, avoiding finding and changing jobs

Inactive Publication Date: 2013-09-25
北京汉柏科技有限公司
View PDF3 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In practical applications, the server of the slave node is restarted due to abnormal conditions such as power outages. After restarting, the stored namespace ID and the namespace ID of the master node often appear inconsistent, resulting in the node not being able to join the hadoop system, thus failing to restore the slave node The service is often restored by the administrator to find all abnormal nodes and manually change the namespaceID of the slave node to be consistent with the master node. Since Hadoop application scenarios are mostly large-scale data centers, troubleshooting and modification are heavy tasks , and introduces the risk of human error

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
  • Automatic slave node service recovering method of hadoop system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0017] The invention provides a method for automatically recovering slave node services in a hadoop system. Nodes in the invention refer to physical servers, and node clusters are server clusters. Select a master (i.e. master) to start the hadoop system in all nodes ) services, this is the master node, and other nodes start the slave (slave) service of the hadoop system, called slave nodes, thus forming a node cluster of hadoop services. Such as figure 1 The process steps of the method shown are:

[0018] S1. Deploy the Gluster distributed file storage system in the node cluster to provide storage space;

[0019] The Gluster distributed file storage system is the Gluster system. Three nodes in the cluster are randomly selected, and the Gluster server (Gluster server) service is started on each node. This service provides some disks on the node where it is located, and the three nodes provide The disks are combined to form the storage space (volume) of the Gluster system;

...

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 provides an automatic slave node service recovering method of a hadoop system. The automatic slave node service recovering method of the hadoop system comprises the following steps that a Gluster distributed file storage system is deployed in the middle of a node cluster, and a storage space is provided; the storage space is mounted on a main-controlling node, the main-controlling node is configured, and the establishment of the hadoop system is finished. The configuration comprises that the data of the main-controlling node is stored in the storage space. The slave node recovering service comprises the steps that the storage space in which the main-controlling node is stored is mounted to a local slave node, whether namespaceID of the local slave node is the same with the namespaceID of the storage space is checked, if the namespacceID of the local slave node is different with the namespaceID of the storage space, the namespaceID of the local slave node is revised as the namespaceID of the storage space, and the slave node starts the service. According to the automatic slave node service recovering method of the hadoop system, automatic recovering of service of the slave node after faults is accomplished, the work of manual searching and replacement is avoided, the risk of the mistaken manual operation is reduced, and investment of human cost is reduced.

Description

technical field [0001] The invention relates to the field of computer distributed computing, in particular to a method for automatically recovering slave node services in a Hadoop system. Background technique [0002] Hadoop is a distributed computing platform that can be easily set up and used by users. Hadoop Distributed File System (HDFS) is designed as a distributed file system suitable for running on general-purpose hardware, with high efficiency, high scalability, and high fault tolerance. , Portability and other advantages. Therefore hadoop is the best choice for setting up large data centers. Hadoop has a unique master control node (also known as namenode) and multiple slave nodes. The master control node is responsible for managing the file system namespace and controlling the access of external clients, and assigning tasks to the slave nodes for execution. The erection and startup process of the traditional Hadoop distributed cluster: 1. First, start a node as th...

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): H04L29/08
Inventor 井淑明
Owner 北京汉柏科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products