An Optimized Method of HDFS for Massive Small Files Storage

Weipeng Jing1, 2, Danyu Tong1, GuangSheng Chen1, Chuanyu Zhao2 and LiangKuan Zhu1

  1. College of Information and Computer Engineering, Northeast Forestry University
    Harbin, China
    weipeng.jing@outlook.com, {nefuchensy, kjc_chen}@163.com
  2. Heilongjiang Computing Center

Abstract

The development of the Internet-of-Things (IoT) and the Cyber-Physical System (CPS) has greatly facilitated many aspects of technological applications and development. This may lead to significant data growth, especially for small files. The analysis and processing of a large number of small files has become a crucial part of the development of IoT and CPS. Hadoop Distributed File Systems have become powerful platforms to store a larger amount of big data. However, this method has a number of issues when dealing with small files, such as substantial memory consumption and poor access. In this paper, a Dynamic Queue of Small Files (DQSF) algorithm is proposed to solve these problems. DQSF differentiates small files into different categories using an analytical hierarchal process that examines the performance of small files with different ranges across four indexes and determines the size of the dynamic queue according to the best system performance. Additionally, period classification is applied to preprocess the small files before storage, and the prefetching mechanism of the secondary index is used to process index tables. Experimental results show that this method could effectively reduce memory use and improve the storage efficiency of massive small files, which optimizes system performance.

Key words

WSN, HDFS, massive small files, Dynamic Queue, Analytic Hierarchy Process

Digital Object Identifier (DOI)

https://doi.org/10.2298/CSIS171015021J

Publication information

Volume 15, Issue 3 (October 2018)
Year of Publication: 2018
ISSN: 2406-1018 (Online)
Publisher: ComSIS Consortium

Full text

DownloadAvailable in PDF
Portable Document Format

How to cite

Jing, W., Tong, D., Chen, G., Zhao, C., Zhu, L.: An Optimized Method of HDFS for Massive Small Files Storage. Computer Science and Information Systems, Vol. 15, No. 3, 533–548. (2018), https://doi.org/10.2298/CSIS171015021J