首页 | 本学科首页   官方微博 | 高级检索  
     

基于EHDFS的海量小文件存储与检索方法
引用本文:李文武,张建锋,王景林.基于EHDFS的海量小文件存储与检索方法[J].计算机工程与设计,2022,43(2):376-383.
作者姓名:李文武  张建锋  王景林
作者单位:西北农林科技大学 信息工程学院,陕西 杨凌 712100
基金项目:陕西省重点项目研发计划基金项目(2019 NY-164)。
摘    要:为有效解决HDFS面对多类型的海量小文件存在存储效率与检索速率低下的问题,构建一种基于EHDFS架构的存取方案。存储阶段,引入最优化策略,建立新的合并存储模型,使小文件最大化填满且均匀分布于Block,提高DataNode空间利用,降低NameNode内存开销。检索阶段,改进MapFile映射关系结构、索引存储位置与组成元素以建立新的文件索引模型,避免跨跃式文件搜索,实现小文件的集中检索。实验结果表明,对比多种大数据存储模型,在不同数据量的分组压力测试下,该方案有效提高了HDFS的存取效率。

关 键 词:海量小文件  EHDFS架构  最优化合并存储模型  MapFile映射关系结构  文件索引模型

Storage and retrieval method of massive small files based on EHDFS
LI Wen-wu,ZHANG Jian-feng,WANG Jing-lin.Storage and retrieval method of massive small files based on EHDFS[J].Computer Engineering and Design,2022,43(2):376-383.
Authors:LI Wen-wu  ZHANG Jian-feng  WANG Jing-lin
Affiliation:(School of Information Engineering,Northwest A&F University,Yangling 712100,China)
Abstract:To effectively solve the problems of low storage efficiency and retrieval speed of HDFS in the face of multi-type massive small files,an improved access scheme based on EHDFS architecture was constructed.In the storage stage,a merge storage model based on the optimization strategy was established to maximize the file filling that even distributed on the block,the DataNode space utilization was improved,and the NameNode memory consumption was reduced.In the retrieval stage,by improving the MapFile mapping structure,index storage location and components,a file index model was established to avoid skipping file searches and realize centralized retrieval of small files.Experimental results show that the scheme effectively improves the access efficiency of HDFS under the pressure of grouping test with different data volumes,compared with various big data storage models.
Keywords:massive small files  EHDFS architecture  optimization merge storage model  MapFile mapping structure  file index model
本文献已被 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号