Method and device for determining position of data node

A data node and node technology, applied in the field of communication, can solve problems such as configuration errors and heavy manual configuration workload, and achieve the effects of improving stability, facilitating maintenance, and avoiding configuration errors

Active Publication Date: 2016-05-18
NEW H3C TECH CO LTD
View PDF7 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The workload of manual configuration is relatively large, and problems such as configuration errors are prone to occur

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
  • Method and device for determining position of data node
  • Method and device for determining position of data node
  • Method and device for determining position of data node

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0018] Aiming at the problems existing in the prior art, an embodiment of the present invention proposes a method for determining the location of a data node, which can be applied to a system including a management node, multiple data nodes, and multiple switching devices, such as a Hadoop system. Wherein, the management node can also be called a name node, which is responsible for managing the name space of the Hadoop system and controlling the access of external users. The switching device may be a core switching device (such as a core switch or a core router) or a rack switching device (such as a rack switch).

[0019] by figure 2 It is a schematic diagram of an application scenario of an embodiment of the present invention. The Hadoop system includes a core switching device, a rack switching device 1, a rack switching device 2, a data node 1, a data node 2, a data node 3, a data node 4, and a data node 5. data node6. The rack switching device is connected to each data n...

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 a method and a device for determining a position of a data node. The method comprises the steps that: a management node obtains a first corresponding relation between a MAC address and an IP address of a data node, and obtains a MAC table item learnt from switching equipment, wherein the MAC table item records a second corresponding relation between a port of the switching equipment and the MAC table item learnt from the switching equipment; and the management node determines the rack switching equipment connected with the data node by utilizing the first corresponding relation and the second corresponding relation. By adopting the method and the device provided by the invention, position of the data node is automatically perceived, manual configuration workload is reduced, and configuration errors are avoided.

Description

technical field [0001] The present invention relates to the communication field, in particular to a method and device for determining the position of a data node. Background technique [0002] like figure 1 As shown, it is a network diagram of Hadoop (distributed computing). Hadoop is a distributed system infrastructure, including multiple racks, each rack includes multiple data nodes, and the data nodes and racks in each rack Switches are connected, and each rack switch is connected to the core switch. [0003] For files that need to be stored in data nodes, the files are divided into one or more blocks (blocks), and block backup functions are provided on different data nodes, thereby providing fault tolerance and improving availability. After storing a block in a data node, copy the block and make a backup copy of the block on the data node. In addition, select two data nodes in another rack other than the rack where the data node is located, and back up the block to 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/12H04L29/08
CPCH04L61/103H04L67/1095
Inventor 韩东亮饶云
Owner NEW H3C TECH 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