[Paper Review] Perform wordcount Map-Reduce Job in Single Node Apache Hadoop cluster and compress data using Lempel-Ziv-Oberhumer (LZO) algorithm
This paper demonstrates a wordcount Map-Reduce job on a single-node Apache Hadoop cluster using Lempel-Ziv-Oberhumer (LZO) compression to reduce storage overhead. It integrates LZO compression into the Hadoop pipeline, showing improved space efficiency and I/O performance without sacrificing data integrity or processing speed in a lightweight cluster setup.
Applications like Yahoo, Facebook, Twitter have huge data which has to be stored and retrieved as per client access. This huge data storage requires huge database leading to increase in physical storage and becomes complex for analysis required in business growth. This storage capacity can be reduced and distributed processing of huge data can be done using Apache Hadoop which uses Map-reduce algorithm and combines the repeating data so that entire data is stored in reduced format. The paper describes performing a wordcount Map-Reduce Job in Single Node Apache Hadoop cluster and compress data using Lempel-Ziv-Oberhumer (LZO) algorithm.
Motivation & Objective
- To implement a scalable, efficient wordcount Map-Reduce job in a single-node Hadoop cluster for educational and prototyping purposes.
- To evaluate the effectiveness of Lempel-Ziv-Oberhumer (LZO) compression in reducing data size during Hadoop Map-Reduce processing.
- To demonstrate end-to-end data compression and decompression in Hadoop I/O pipelines using LZO for improved storage and transfer efficiency.
- To provide a practical, reproducible setup for learning Hadoop data processing and compression techniques in a lightweight environment.
Proposed method
- Deployed a single-node Apache Hadoop cluster using Hadoop 1.2.1 to simulate a distributed computing environment.
- Implemented a standard wordcount Map-Reduce job using Hadoop's native Java API to count word frequencies in input text files.
- Integrated LZO compression at the input and output stages of the Map-Reduce pipeline using Hadoop's built-in LZO codec.
- Configured Hadoop to support splittable LZO compression, enabling efficient parallel processing of compressed input files.
- Used LZO's fast compression and decompression algorithms to minimize processing overhead while maximizing storage savings.
- Validated the correctness of the compressed pipeline by comparing output word counts with uncompressed baseline results.
Experimental results
Research questions
- RQ1How does LZO compression affect storage size and I/O performance in a single-node Hadoop Map-Reduce workflow?
- RQ2Can LZO-compressed data be efficiently processed in Hadoop without sacrificing job correctness or performance?
- RQ3What is the impact of LZO compression on the end-to-end execution time of a wordcount job in a single-node cluster?
- RQ4How does the integration of LZO codecs affect the configurability and scalability of Hadoop pipelines in lightweight deployments?
Key findings
- LZO compression significantly reduced the size of input and output data, improving storage efficiency in the Hadoop cluster.
- The wordcount results from the compressed pipeline matched exactly with those from the uncompressed baseline, confirming data integrity.
- LZO's splittable compression format enabled efficient parallel processing of input files, maintaining Hadoop's scalability principles.
- The integration of LZO codecs into the Hadoop pipeline was straightforward and did not require major architectural changes.
- Performance benchmarks showed minimal overhead from compression and decompression, making LZO suitable for production-like single-node testing.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.