Hadoop Network topology Analysis: Networktopology and Dnstoswitchmapping

Source: Internet
Author: User

The Hadoop network topology plays an important role in the whole system, it affects the start (registration) of Datanode, the allocation of maptask, and so on. Understanding the network topology can be a great help in understanding the operation of the entire Hadoop.

The following two graphs are the first to understand the classes related to network topology.

networktopology is used to represent the network topology of a Hadoop cluster. Hadoop organizes the entire network topology into a tree structure (refer to this article https://issues.apache.org/jira/secure/attachment/12345251/Rack_aware_HDFS_ Proposal.pdf), where the node interface represents the node of a tree, either as an internal node (such as data center,rack) or as a leaf node (or host), and Nodebase implements node The networktopology.innernode represents the internal node of the tree. When the Datanode is launched in the form of Datanoderegistration, to namenode to register the information of this node, so that namenode through the network topology to determine the location of the Datanode in the network topology.

The dnstoswitchmapping is used to convert node in the cluster into a corresponding network location.

Hadoop Network topology Analysis: Networktopology and Dnstoswitchmapping

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.