Research on the Metadata Management of Multi Namenodes Based on HDFS

Author
ZhangBo
Advisor
XiangYanPing
School
University of Electronic Science and Technology
Major
Applied Computer Technology
Classification
TP311.13 Database theory and systems
Degree
Master's thesis
Year
2013
Downloads
47
Citations
0

Request the full text

Abstract

This is an era with the rapid expansion of data. According to the estimate of thetechnology research firm IDC, a great quantity of data is emerging continuously. Theamount increases at the speed of50%every year, in other words, it will double everytwo years. Not only the flood of data is getting broader and broader, but also it putsforth more and more brand new branches. Data shows the characteristics of vast,various, velocity and high value, so it has no way to store, manage data and processtasks using conventional software solutions under tolerable time. How to cope with thedata challenge becomes a burning question. Therefore, more and more colleges,institutes and Internet companies throw themselves into the research of the models andtools of the storage and computing of large-scale data. As a technology set which isappropriate to solve the problem of distributed storage and computing infrastructure, theHadoop project of the Apache Software Foundation attracts tremendous attention sincebirth. As a result, it becomes the hotspot of the research and application of industry.What’s more, it is honoured as "the golden key to open the gate of big data".The main research object of the thesis is the distributed file system HDFS in theproject of Hadoop. As the basis module of Hadoop, HDFS provides data services forseveral upper tools such as MapReduce and HBase. However, it exposes some defectsof the architecture while applying HDFS into large-scale distributed project. Firstly, theHDFS architecture with single Namenode will bring down the availability of the system.Secondly, the single Namenode will be the bottleneck of the whole file system.Aiming at the mentioned defects, the thesis proposes an improved HDFSarchitecture with multi Namenodes. Namenodes form a cluster by expanding thefunctions of Namenode to other nodes in the cluster. The cluster can be divided into tworoles according to the feature: Namenode Leader and Common Namenode(s).Namenode Leader can get the available status and the load information of theNamenodes cluster by means of the heartbeat mechanism. After researching severaldistributed consistency mechanisms, the thesis designs the election mechanism of Namenode Leader based on the Paxos algorithm. Besides, it also designs the processflow of the failure of nodes.For the metadata management problem brought by the distributed Namenodearchitecture, this thesis proposes a novel metadata distribution mechanism based on theHash algorithm and the real-time cluster load conditions. The namespace and metadataservice maintained by the Namenode are distributed based on the metadata structure andthe access characters. Furthermore, the thesis designs the metadata redundancemechanism in the cluster and the metadata consistency guarantee mechanism based onthe classical distributed consistency algorithm Paxos.In the end, several experiments are conducted to prove that the high availabilityand the efficiency of reading and writing of the improved HDFS architecture.

Table of contents

Abstract 5-6 ABSTRACT 6-10 first chapter 10-17 1.1 research status and significance 13 -15 1.1.1 current research 13-14 1.1.2 significance 14-15 1.2 research 15-16 1.3 thesis structure 16-17 The second chapter studies 17-30 2.1 HDFS architecture and workflow 17-25 <br / > 2.1.1 Namenode and Datanode 18-19 2.1.2 metadata and data blocks 19-21 2.1.3 stream 21-24 2.1.4 replica placement policy 24-25 2.2 several distributed file system metadata management solutions 25-28 2.2.1 Lustre 25-26 2.2.2 GlusterFS 26-27 2.2.3 Ceph 27-28 2.3 Comparative summary 28-29 <br / > 2.4 Chapter Summary 29-30 the third chapter based multi Namenode HDFS architecture design 30-54 issues presented and analyzed 3.1 30-38 3.1.1 HDFS architecture extant defects 30-32 3.1.2 high availability definitions and metrics 32-33 3.1.3 related research 33 -38 3.2 overall architecture design 38-42 3.2.1 namespace namespace 39-42 3.2.2 block pools block pool 42 3.3 Namenode cluster heartbeat mechanism 42-44 3.4 Namenode Leader election mechanism ; 3.4.1 consistency strategy nbsp 44-49 44-47 3.4.2 Namenode Leader election mechanism based on Paxos algorithm 47-49 3.5 Namenode load evaluation 49-50 3.6 in case of failure of treatment 50-53 3.6.1 Namenode node failure 51-52 3.6.2 Namenode Leader failure 52-53 3.7 chapter Summary 53 -54 Chapter IV metadata Management 54-67 4.1 metadata structure and access characteristics 54-56 4.1.1 metadata structure 54-55 4.1.2 metadata access Features 55-56 4.2 metadata distribution 56-61 4.2.1 metadata distribution algorithm analysis 56-58 4.2.2 two Namenode metadata distribution strategy 58-61 4.3 metadata redundancy 61-62 4.4 consistency safeguard mechanism metadata 62-66 4.5 Chapter Summary 66-67 Chapter experiments and analysis 67-76 5.1 experimental purposes 67 5.2 experimental environment 67-68 5.3 experiment 68-75 5.3.1 premise work 68- 69 5.3.2 experimental Procedure 69-75 5.4 analysis 75 5.5 Chapter Summary 75-76 sixth chapter summary and Prospect 76-77 6.1 This article summarizes 76 6.2 work prospects 76-77 Thanks 77-78 <br / > References 78-81 pursuing a master's degree research during 81-82

Related dissertations

  1. A Design and Implementation of Large-scale Remote Sensing Data Storage System Based on MongoDB and HDFS
    TianShuai ·Zhejiang University ·2013 ·Master's thesis
  2. Research on High Availability Management Method of Metadata for HDFS File System
    YiLiLin ·South China University of Technology ·2013 ·Master's thesis
  3. The Research of Data Security of the Cloud Storage System Based on Hadoop Distributed File System
  4. Research of Tourism E-commerce Metadata Model of SaaS
    AnChengJun ·Shandong Normal University ·2013 ·Master's thesis
  5. Design and Realization of Daqing Oilfield Downhole Data Collection
  6. Web Information Crawler of Design and Implementation Based on Computing Cluster
    WangWenSheng ·Harbin Institute of Technology ·2012 ·Master's thesis
  7. Research and Design on Key Technologies of the Mobile Internet Service Resource Management
  8. Describe on Metadata of the Value of Archival Web Information
    XiangLiHua ·Xiangtan University ·2013 ·Master's thesis
  9. The Research of Distributed Search Engine Technology Based on Pagerank Algorithm
    GuoXiaoXi ·Dalian Jiaotong University ·2013 ·Master's thesis
  10. Design and Implementation of Music Database System
  11. Replica Consistency Management Stratege of Metadata Cluster for Key-value Stores
  12. Distributed Web Crawler System Design and Implementation
  13. Design and Realization of Meteorological Data Sharing System Based on Metadata
  14. The Design and Implementation of Distributed File System in Crowd Intelligence Sensation Environment
  15. Design and Implementation of Unstructured Multimedia Resource Sharing System Based on Metadata
    ZhangFeiYu ·Nanchang University ·2013 ·Master's thesis
  16. The Research and Application of Information Resource Integration Technology Base on UNIRMS.Net Platform
    DengWen ·Nanchang University ·2013 ·Master's thesis
  17. An Information Service Platform for Professional-town Based on Content Management
  18. Extensible Platform Based on WSO2Stratos and Its Enterprise-class Application Development
    DuanZuo ·South China University of Technology ·2013 ·Master's thesis
  19. Design and Implement of Video Crawler System Based on Hadoop
  20. The Research on Security Policies of Access Control in HDFS-based Cloud Storage
    HuangWei ·Harbin Institute of Technology ·2013 ·Master's thesis