[Paper Review] Evaluation of Codes with Inherent Double Replication for Hadoop
This paper evaluates two coding schemes—pentagon code and heptagon-local code—that inherently provide double replication in Hadoop, reducing storage overhead while maintaining reliability close to triple replication. Despite data locality challenges due to stripe blocks being co-located on the same node, performance nears double replication when using more processors per node, with significant improvements possible through code-aware task scheduling.
In this paper, we evaluate the efficacy, in a Hadoop setting, of two coding schemes, both possessing an inherent double replication of data. The two coding schemes belong to the class of regenerating and locally regenerating codes respectively, and these two classes are representative of recent advances made in designing codes for the efficient storage of data in a distributed setting. In comparison with triple replication, double replication permits a significant reduction in storage overhead, while delivering good MapReduce performance under moderate work loads. The two coding solutions under evaluation here, add only moderately to the storage overhead of double replication, while simultaneously offering reliability levels similar to that of triple replication. One might expect from the property of inherent data duplication that the performance of these codes in executing a MapReduce job would be comparable to that of double replication. However, a second feature of this class of code comes into play here, namely that under both coding schemes analyzed here, multiple blocks from the same coded stripe are required to be stored on the same node. This concentration of data belonging to a single stripe negatively impacts MapReduce execution times. However, much of this effect can be undone by simply adding a larger number of processors per node. Further improvements are possible if one tailors the Map task scheduler to the codes under consideration. We present both experimental and simulation results that validate these observations.
Motivation & Objective
- To evaluate coding schemes with inherent double replication in Hadoop to reduce storage overhead while maintaining reliability.
- To assess the impact of co-located coded blocks on MapReduce performance and data locality.
- To investigate whether increased processor cores per node can mitigate performance degradation from reduced data locality.
- To explore the potential of code-aware map task scheduling to improve performance over default delay scheduling.
- To compare storage efficiency, reliability, and MapReduce performance across triple replication, double replication, and coded schemes.
Proposed method
- The pentagon code encodes 9 data blocks into 20 coded blocks using XOR parity and stores them across 5 nodes, with each node holding 4 blocks corresponding to incident edges in a 5-node fully connected graph.
- The heptagon-local code is a locally repairable code designed to enable efficient local recovery with minimal repair bandwidth, suitable for distributed storage.
- Experiments were conducted using two Hadoop setups: one with 25 dual-core nodes (2 map slots) and another with 9 server-class nodes (4 map slots), both using 128MB and 512MB block sizes respectively.
- MapReduce performance was evaluated using the Terasort benchmark under varying workloads (25% to 100%) across triple replication, double replication, and the two coded schemes.
- Data locality, job execution time, and network traffic were measured and compared, with Hadoop’s default delay scheduler used initially and a modified peeling algorithm simulated for potential improvement.
- Simulations and real experiments were used to validate data locality trends and performance trade-offs under different configurations.
Experimental results
Research questions
- RQ1Can coding schemes with inherent double replication achieve storage efficiency comparable to double replication while matching the reliability of triple replication?
- RQ2How does the co-location of multiple blocks from the same coded stripe on the same node affect MapReduce data locality and execution time?
- RQ3To what extent can increasing the number of processors per node compensate for reduced data locality in coded Hadoop systems?
- RQ4Can a code-aware map task scheduler significantly improve performance over Hadoop’s default delay scheduler in coded environments?
- RQ5How do the proposed codes compare to triple replication in terms of network traffic and job execution time under moderate workloads?
Key findings
- At moderate workloads (up to 75%), the pentagon code achieved MapReduce performance very close to that of double replication, especially when using 4 map slots per node.
- The performance degradation observed with 2 processor cores per node was largely due to reduced data locality caused by co-located coded blocks from the same stripe.
- Network traffic for the pentagon and heptagon codes exceeded that of double replication primarily due to loss in data locality, not due to coding overhead.
- With 4 processor cores per node, the pentagon code’s job execution time and data locality approached those of double replication, even at 75% load.
- Simulations confirmed that data locality trends observed in experiments matched theoretical expectations, validating the model’s accuracy.
- The study suggests that future enhancements, such as implementing a modified peeling algorithm for task scheduling, could further close the performance gap with double replication.
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.