Hadoop source code analysis (1)

Source: Internet
Author: User

 

GoogleIts core competitive technology is its computing platform.GoogleThe following are some examples5ArticleArticleDescribes their computing facilities.
Googlecluster
Chubby

GFS

Bigtable
Mapreduce

Soon,ApacheThere is a similar solution. Currently, they all belongApacheOfHadoopProject, corresponding:
Chubby --> zookeeper
GFS --> HDFS
Bigtable --> hbase
Mapreduce --> hadoop
CurrentlyOpen SourceThere are still many projects, suchFacebookUsed for User AnalysisHive.
HDFSAs a distributed file system, it is the foundation of all these projects. Good AnalysisHDFSTo help you understand other systems. BecauseHadoopOfHDFSAndMapreduceIt is the same project, so we put them together for analysis.

 

Is the top-level package diagram of the entire mapreduce project and their dependencies. The dependency between hadoop packages is complex because HDFS provides a distributed file system that provides APIs to shield local and distributed file systems, even online storage systems like Amazon S3. This results in the implementation of the Distributed File System or the underlying implementation of the Distributed File System, depending on some seemingly high-level functions. The mutual reference of functions leads to Spider-type dependency. A typical example is the package Conf. conf is used to read system configurations. It depends on FS. It is mainly used to read configuration files, and file systems are used to read some file system functions, it is abstracted in the package FS.

The key part of hadoop is focused on the blue part in the figure, which is also the focus of our research.

 

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.