Skip to main content

Hadoop Massive Small File Merging Technology Based on Visiting Hot-Spot and Associated File Optimization

  • Conference paper
  • First Online:
Advances in Brain Inspired Cognitive Systems (BICS 2018)

Part of the book series: Lecture Notes in Computer Science ((LNAI,volume 10989))

Included in the following conference series:

Abstract

Hadoop Distributed File System (HDFS) is designed to reliably storage and manage large-scale files. All the files in HDFS are managed by a single server, the NameNode. The NameNode stores metadata, in its main memory, for each file stored into HDFS. HDFS suffers the penalty of performance with increased number of small files. It imposes a heavy burden to the NameNode to store and manage a mass of small files. The number of files that can be stored into HDFS is constrained by the size of NameNode’s main memory. In order to improve the efficiency of storing and accessing the small files on HDFS, we propose Small Hadoop Distributed File System (SHDFS), which bases on original HDFS. Compared to original HDFS, we add two novel modules in the proposed SHDFS: merging module and caching module. In merging module, the correlated files model is proposed, which is used to find out the correlated files by user-based collaborative filtering and then merge correlated files into a single large file to reduce the total number of files. In caching module, we use Log - linear model to dig out some hot-spot data that user frequently access to, and then design a special memory subsystem to cache these hot-spot data. Caching mechanism speeds up access to hot-spot data.

The experimental results indicate that SHDFS is able to reduce the metadata footprint on NameNode’s main memory and also improve the efficiency of storing and accessing large number of small files.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 84.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Taunk, A., Parmar, A., et al.: The Hadoop distributed file system. Int. J. Comput. 8(1), 8–15 (2013)

    Google Scholar 

  2. Dean, J., Ghemawat, S., et al.: MapReduce:a flexible data processing tool. Commun. ACM 53(1), 72–77 (2010)

    Article  Google Scholar 

  3. Ghemawat, S., Gobioff, H., Leung, S.: The Google file system. ACM 37(5), 29–43 (2003)

    Google Scholar 

  4. Zhou, Y., Zeng, F., Zhao, H., et al.: Hierarchical visual perception and two-dimensional compressive sensing for effective content-based color image retrieval. Cognit. Comput. 8(5), 877–889 (2016)

    Article  Google Scholar 

  5. White, T.: Hadoop: The Definitive Guide. O’Reilly Media, Inc., Newton

    Google Scholar 

  6. Cloudera Engineer Blog: http://www.cloudera.com. Accessed 21 Mar 2018

  7. Herlocker, J., Konstan, J., Riedl, J.: An empirical analysis of design choices in neighborhood-based collaborative filtering algorithms. Inf. Retrieval 5(4), 287–310 (2002)

    Article  Google Scholar 

  8. Szabo, G., Huberman, B.A.: Predicting the popularity of online content. Commun. ACM 53(8), 80–88 (2010)

    Article  Google Scholar 

  9. Zhao, H., Ren J., Zhan, J., et al.: Compressive sensing based secret signals recovery for effective image Steganalysis in secure communications. Multimed. Tools Appl. 1–14 (2018)

    Google Scholar 

  10. Yan, Y., Ren, J., Sun, G., et al.: Unsupervised image saliency detection with Gestalt-laws guided optimization and visual attention based refinement. Pattern Recogn. 79(7), 65–78 (2018)

    Article  Google Scholar 

  11. Zhao, H., Dai, Q., Ren, J.C., et al.: Robust information hiding in low-resolution videos with quantization index modulation in DCT-CS domain. Multimed. Tools Appl. 1, 1–21 (2017)

    Google Scholar 

  12. Zhao, H., Ren, J.: Cognitive computation of compressed sensing for watermark signal measurement. Cognit. Comput. 8(2), 246–260 (2016)

    Article  MathSciNet  Google Scholar 

Download references

Acknowledgements

This work was supported in part by the Science and Technology Project of Guangdong Province (2015B010131017, 2017B030306016) and Guangzhou City (201802020019, 201806040010).

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Wen-guo Wei .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2018 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Peng, Jf. et al. (2018). Hadoop Massive Small File Merging Technology Based on Visiting Hot-Spot and Associated File Optimization. In: Ren, J., et al. Advances in Brain Inspired Cognitive Systems. BICS 2018. Lecture Notes in Computer Science(), vol 10989. Springer, Cham. https://doi.org/10.1007/978-3-030-00563-4_50

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-00563-4_50

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-00562-7

  • Online ISBN: 978-3-030-00563-4

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics