Hadoop Learning Note 01--hadoop Distributed File system

Source: Internet
Author: User

Hadoop has a distributed system called HDFS , all known as Hadoop distributed Filesystem.

HDFs has a block concept, and the default is that the file on 64mb,hdfs is divided into chunks of block size, as separate storage units. The advantage of using blocks is: 1. A file size can be larger than the capacity of any disk in the cluster network, and all blocks of the file do not need to be stored on the same disk; 2. Simplify storage management; 3. Provide data fault tolerance and availability

The HDFs cluster has 2 types of nodes: one namenode(manager) and multiple datanode( workers). Namenode manages the namespace of the filesystem, maintains the file system tree and all files and directories in the entire tree, which are permanently stored on the local disk as two files: the namespace image file and the edit log file. Datanode is the working node of the file system, storing and retrieving the database as needed, and periodically sending the Namenode a list of the blocks they store.

Hadoop Learning Note 01--hadoop Distributed File system

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.