Design and implementation of Hadoop file synchronization based storage system

Author
LiuWenJuan
Advisor
Zuo
School
University of Electronic Science and Technology
Major
Computer Software and Theory
Classification
TP333 Memory
Degree
Master's thesis
Year
2012
Downloads
579
Citations
1

Request the full text

Abstract

At the Cloud computing times, the technology of data storage and backup hasbeen closely related to the lives of individuals and organizations. They are facing theproblem of the management of massive data. The development of cloud storage and itsrelated technologies have brought an innovation to the field of data storage. Onlinestorage system which uses cloud storage technology can provide a permanent,convenient, inexpensive storage service with scalable storage space. Currently, themature products in china are Jinshan fast disk、 Huawei network disk and so on. Theyprovide stable functions, for example, the functions for data storage, filesynchronization. But they also have some functional problems. Firstly, the filemonitoring function in the client of these system are not perfect; Secondly, the filesynchronization efficiency is relatively low in some cases; moreover, some servicesdon’t provide the functions of secure data transmission and diverse solutions of networktransmission according to different file synchronization events; lastly, datacryptographic storage in client and server-side isn’t given attention. The optimization ofdata storage platform which is based on cloud storage should be considered by theonline data storage service providers, because the platform is the basis of the service formassive amount of data.This article summarizes some problems of the current online file synchronizationand storage service from the point of view of users. In order to solve these problems,this text makes a study of the key technology in realizing the file synchronization andstorage service, designs and realizes the file synchronization and storage system whichare based on Rsync synchronization algorithm and the HDFS distributed file system inHadoop. The main work of this paper include: analysising of the advantages anddisadvantages of domestic and foreign products, finding out the requirements of users,monitoring the changes of files in virtual disk in client by using open source jpathwatchlibrary in real time, implementing the function of different types of synchronous eventstriggers and notification, improving the library functions to monitor files rename andmoving; processing events with different characteristics with different methods; especially for the content of file update event and file resume event, designing asynchronization protocol to reduce data transmission in the course of filesynchronization on the basis of rsync algorithm, improving Synchronization efficiency;designing the best transmission methods for different synchronization events, usingHTTPS protocol to implement the data encryption transmission; build a Hadoop-baseddata storage platform.In this paper, layered modular thinking is used to design and implement thesystem, the functional modules of the system are tested and analyzed and the researchresults and system optimization features are summarized in the last paper chapters, thefurther work are planed in the last.

Table of contents

Summary 4-5 ABSTRACT 5-11 first chapter 11-19 1.1 Background 11-13 1.2 Overview of current research 13-16 1.3 content and objectives organizational structure 16-18 1.4 papers 18-19 <br / > Chapter Two key research technology systems 19-35 2.1 file monitoring library Jpathwatch 19-23 applications and functions 2.1.1 Jpathwatch the advantages and disadvantages of 20-23 2.2 Rsync algorithm 23-29 2.2.1 Rsync algorithm Introduction 24-27 2.2.2 Introduction strength test code 27-29 2.2.3 Rsync file synchronization algorithm used in the storage system 29 2.3 network communication technologies 29-32 2.3.1 HTTPS secure transmission technology 29-31 2.3.2 HTTPS file synchronization application storage system 31-32 2.3.3 multithreading technology 32 2.4 data storage background 32-34 2.4.1 Hadoop About 32-33 2.4.2 HDFS file synchronization application storage system 33-34 2.5 Summary 34-35 Chapter III design nbsp Hadoop file synchronization storage system ; needs 35-64 3.1 system analysis 35-37 3.2 system design principles and architecture 37-41 3.2.1 system design principles 37-40 3.2.1.1 system synchronization 37 3.2.1.2 synchronization algorithm Rsync application decomposition 37-38 3.2.1.3 features 38-40 3.2.2 system the overall architecture 40-41 3.3 client design client structure and function modules 41-55 3.3.1 system 41-44 <br / > 3.3.2 client modules specifically designed 44-55 3.3.2.1 client monitoring module design 44-46 3.3.2.2 file Data processing module 46-50 3.3.2.3 network communication module 50-52 3.3.2.4 file data transfer module 52-54 3.3.2.5 system Control module 54-55 3.3.2.6 system exception handling module 55 3.4 server system designed 55-61 3.4.1 file data processing module 58-59 3.4.2 network communication module 59-60 3.4.3 file data storage module 60 3.4.4 file data transfer module 60 3.4.5 control Module design 60-61 3.4.6 exception handling module 61 3.5 system protocol design 61 -63 3.6 Summary 63-64 Chapter IV achieve Hadoop file synchronization storage system based 64-88 4.1 development environment 64-65 4.1.1 language and platform 64-65 4.1.2 technology infrastructure 65 4.2 clients to achieve real-time monitoring module function 65-69 4.2.1 module functions to achieve the main classes and functions execution flow 66-68 4.2.2 module 68-69 4.3 file data achieve processing module 69-73 4.3.1 main classes and performance function 69-71 execution flow 4.3.2 module 71-73 <br / > 4.4 to achieve network communication module 73-79 4.4.1 HTTPS secure transmission technology to achieve 73-75 4.4.2 module is mainly a function of the classes and functions to achieve 75-77 4.4.3 module features detailed implementation achieve 77-79 4.5 file data storage module 79-87 4.5. a Hadoop -based cloud storage to store the background build 79-85 4.5.1.1 build Hadoop cluster 80-84 4.5.1.2 HDFS mount linux directory 84 -85 4.5.2 module functions to achieve the main classes and functions 85-86 4.5.3 module features detailed implementation 86-87 4.6 chapter Summary 87-88 Chapter V system testing and analysis 88-95 5.1 test environment functional needs test 88 5.2 system directory monitoring module 88-90 5.3 file synchronization needs 90-91 5.4 rename files, sync testing mobile operations 91-92 5.5 file resume synchronized data transmission test 92-93 5.6 HTTP secure transmission test 93 5.7 HDFS system efficiency 93-95 sixth Chapter summary and Outlook main tasks and features 95-98 6.1 papers 95-96 6.2 Next job Outlook 96-98 Thanks 98-99 References 99-102

Related dissertations

  1. The Research and Realization of Internet/Intranet File Synchronization System
  2. Design and Implementation of Remote File Synchronization Based on Rsync Algorithm
  3. Design and Implementation of Cloud Computing Platforms Monitoring System
    ZhangRenFeng ·Northeastern University ·2011 ·Master's thesis
  4. Fault Detection Mechanism in the Cloud Environment
    LiLiang ·Central South University ·2012 ·Master's thesis
  5. The Research and Design of Security Monitoring System Based on Embedded and Cloud Storage
    ChenYunLong ·Wuhan University of Technology ·2013 ·Master's thesis
  6. The Research on Data Processing Cloud Platform of Large Open Style Wharf Mooring Monitoring System
    SunLei ·Dalian Jiaotong University ·2013 ·Master's thesis
  7. Design and implementation of remote fault diagnosis center equipment based on Cloud Computing
  8. Research and Design of Smart Home System Based on Cloud Services
  9. Research of Distributed Support Vector Machine (SVM) Based on Hadoop Cloud Platform
    NiuKe ·Shanxi Normal University ·2014 ·Master's thesis
  10. Web Information Crawler of Design and Implementation Based on Computing Cluster
    WangWenSheng ·Harbin Institute of Technology ·2012 ·Master's thesis
  11. MicroBlog User Ranking Research Based on Hadoop
  12. Research of Safety Monitoring Technology of Cloud Computing Platform Oriented Hadoop
    HeZuo ·Harbin Engineering University ·2013 ·Master's thesis
  13. Research on Key Technology of Hadoop-based Network Security Log Audit System
    ZhangMeng ·Harbin Engineering University ·2013 ·Master's thesis
  14. The Research of Data Stream Mining Based on Intrusion Detection
    ZhouZeXun ·Northwest Normal University ·2013 ·Master's thesis
  15. The Rearch on High Availability of Master-slave Cloud Platforms
    DengPeng ·Xiangtan University ·2013 ·Master's thesis
  16. Key Technologies and Application of Network Management System Based on Hadoop
    ZhangBaoShan ·Lanzhou University ·2013 ·Master's thesis
  17. Credibility-based Resource Scheduling Strategy under Cloud Platform
    JiaMeng ·Shandong Normal University ·2014 ·Master's thesis
  18. Design and Implementation of Distributed Index and Search System Based on Cloud Platform
    YangJianDan ·Northeastern University ·2011 ·Master's thesis
  19. Design and Implementation of the Sohu News Search Engine Based on Crawler
    LinWeiYe ·Sun Yat-sen University ·2012 ·Master's thesis
  20. Research and Design of Distributed Vertical Search Engine Based on Hadoop
    JieYaoWei ·Hebei University of Technology ·2012 ·Master's thesis