The Cloud File System Based on Erasure Code and HDFS
- Author
- ChenBaoChun
- Advisor
- LiQiang , GuoDong
- School
- Jilin University
- Major
- Software Engineering
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2012
- Downloads
- 190
- Citations
- 1
Abstract
It is a hot topic in the area of cloud computing how to guarantee data reliability in cloudfile systems. The copy backup technology is an important approach to guaranteeing datareliability in the distributed file system. However, there are some disadvantages such as takingup too much disk space and having low saving efficiency. Erasure Code is another technologywith which to guarantee data reliability in the distributed file system. Erasure Code canprovide optimized data redundancy thereby preventing data loss. Applying Erasure Codeproperly can help improve space utilization ratios and acquire satisfactory data protectioneffects.Erasure Code is well-known for its features of having high coding efficiency and savingstorage space. This paper introduces Erasure Code to cloud file systems so that it can entirelyor partially replace the copy backup strategy and improve the performance of cloud filesystems.The system designed in this paper uses HDFS as the platform and integrates with theErasure Code technology by basing itself on its copy backup strategy. Thus the strengths oftwo strategies can be both made use of thereby guaranteeing data reliability. In the meantime,the reliability of various degrees of intensity can be realized by using parameter adjustmentsthus to meet the requirements of multifarious situations.The overall design philosophy is shown as below: apply Erasure Code to the file blockencoding process before uploading the files, then upload the encoded file blocks to the HDFSfile cluster after merging them, and in the meantime, reduce copy parameter replication in theHDFS cluster so as to economize on storage space; during the stored procedure, thefault-tolerant mechanism of HDFS can guarantee data reliability; during the file downloadingprocess, download encoded data blocks from the HDFS cluster and then acquire the sourcefiles by decoding them; when some data blocks of files are corrupted, just download otherdata blocks from the HDFS cluster thus to recover the source files.In order to bring the above-mentioned design philosophy into reality, this paper designsand realizes the cloud file system which is based on Erasure Code and HDFS. This system isdivided into two parts: the client and the HDFS cluster. The client is the key point of theentire system design and realizes some crucial functions such as file partitioning, the encoding and decoding of file data blocks, the merging of encoded file data blocks, file uploading anddownloading, error control, etc. The HDFS cluster is composed of computers with Hadoopsoftware installed in and takes charge of file storage.The features of the system designed in this paper are listed as below:Reliability: Erasure Code can provide optimized data redundancy thereby preventingdata loss. In the meantime, it can adjust the backup parameters of the HDFS file clusteraccording to different applications so that the purpose of dual guarantee for data reliabilitycan be achieved by applying Erasure Code and the copy backup.Flexibility: the primary functional modules of the cloud file system designed in thispaper are mostly realized in the client, the file cluster is built in line with the commonly usedHDFS cluster structuring method. In this way, not only is the complexity of HDFS clusterstructuring brought down, but also its applicability is boosted.Extensibility: Hadoop, the cloud infrastructure software, possesses powerful storageextensibility. It can add in storage nodes anytime as required and extend the scale of theHDFS cluster.Economical efficiency: HDFS is designed especially for cheap hardware and has finecompatibility. Computers of any type and any level can join in file clusters by applying thiskind of software. In addition, users’ idle and cheap computer resources available can be madethe best of thus cutting down on investments in equipment purchases.System testing has indicated that the encoding and decoding speed of the system hasalready met the performance requirements of cloud file systems; this system adopts thestrategy of merging and uploading encoded file blocks so that the system performance isfurther improved.It is our further research target to bring down the computing complexity of Erasure Codethus enhancing the system performance.
Table of contents
Summary 4-6
Abstract 6-10
Chapter 1 Introduction 10-15
1.1 cloud file system 10-11 fault-tolerant management
1.2 cloud file system 11-12
1.3 existing data reliability strategy 12-13
1.4 This work 13-15
Chapter 2 erasure codes and HDFS 15-21
2.1 erasure codes 15-19
2.1.1 erasure codes outlined 15 -17
2.1.2 erasure code with a copy of the backup 17-18
2.1.3 erasure codes used in data storage areas 18
2.1.4 classification erasure codes 18-19
2.2 cloud storage system HDFS 19-21
Chapter 3 based on erasure codes and cloud HDFS file system design 21-28
3.1 overall design 21-24
3.1.1 file upload strategy 21-22
3.1.2 Download strategy 22 -23
3.1.3 HDFS cluster data block recovery overall 23-24
3.2 system Architecture 24-25
3.3 client 25 -27
3.4 HDFS cluster 27
3.5 performance evaluation 27-28
Chapter 4 System implementation 28-38
4.1 achieve client 28-33
4.1.1 file Splitter merger 28-31
4.1.2 Reed Solomon codec 31
4.1 .3 file upload and download is 31-32
4.1.4 central controller installation and Configuration 32-33
4.2 HDFS cluster 33-36 <br / > 4.2.1 System environment and operation mode 33-34
4.2.2 build Hadoop distributed environment 34-36
4.3 system test 36-38
4.3.1 codec test 36-37
4.3.2 upload and download test 37-38
Chapter 5 conclusions 38-40
5.1 Conclusion 38-39
5.2 further work 39-40
References 40-42
Thanks 42
Related dissertations
- The Application Research of Dalian Bank’s Cloud Computing
- Research on Cloud Computing Market Forecast and the Combination of Purchase Strategy for Multi-instances
- The Research on the Present Situation and the Development of Internet Finance
- Research on Construction Mode of Small and Medium Enterprises Accounting Information in Cloud Computing Environment
- Research on Business Model of Cloud Computing for BCC Company
- Study on H Company Business Strategy Development of Cloud Computing
- Value Creation of Cloud Computing:an Empirical Study
- Research on Public Cloud Service Platform in Light Industry Based on Cloud Computation
- Study on the Construction of Baicheng New District System of Smart City
- The Application of Cloud Computing in the Library Information Consulting Services
- Research on Personalized Information Service of Digital Library in the Cloud Computing Environment
- Design and Implementation of Cloud Computing Platforms Monitoring System
- Research and Implementation of Cloud Computing Platform Monitoring System Based on Publish/Subscribe Technology
- Fault Detection Mechanism in the Cloud Environment
- Design and Research of Campus Video Monitoring System Based on the Digital
- Research and Implementation of Cloud Computing Platform Monitoring System Based on Twitter Storm
- The Research on Data Processing Cloud Platform of Large Open Style Wharf Mooring Monitoring System
- Research and implementation of TaaS monitoring system
- Design and implementation of remote fault diagnosis center equipment based on Cloud Computing
- Request Tracing and Anomalies Detecting System in Cloud