Automatic Debugging of Design Faults in MapReduce Applications
Open Access
- 26 February 2024
- journal article
- research article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Software Engineering
- Vol. 50 (4) , 956-978
Abstract
Among the current technologies to analyse large data, the MapReduce processing model stands out in Big Data. MapReduce is implemented in frameworks such as Hadoop, Spark or Flink that are able to manage the program executions according to the resources available at runtime. The developer should design the program in order to support all possible non-deterministic executions. However, the program may fail due to a design fault. Debugging these kinds of faults is difficult because the data are executed non-deterministically in parallel and the fault is not caused directly by the code, but by its design. This paper presents a framework called MRDebug which includes two debugging techniques focused on the MapReduce design faults. A spectrum-based fault localization technique locates the root cause of these faults analysing several executions of the test case, and a Delta Debugging technique isolates the data relevant to trigger the failure. An empirical evaluation with 13 programs shows that MRDebug is effective in debugging the faults, especially when the localization is done with the reduced data. In summary, MRDebug automatically provides valuable information to understand MapReduce design faults as it helps locate their root cause and obtains a minimal data that triggers the failure.Keywords
This publication has 65 references indexed in Scilit:
- Sampling in software engineering research: a critical review and guidelinesEmpirical Software Engineering, 2022
- Understanding the Challenges and Assisting Developers with Developing Spark Applications2021
- A debugging approach for live Big Data applicationsScience of Computer Programming, 2020
- Testing MapReduce programs: A systematic mapping studyJournal of Software: Evolution and Process, 2018
- Spectrum-based fault localization in software product linesInformation and Software Technology, 2018
- I8K|DQ-BigData: I8K Architecture Extension for Data Quality in Big DataLecture Notes in Computer Science, 2015
- MRTree: Functional Testing Based on MapReduce's Execution Behaviour2014
- How well does test case prioritization integrate with statistical fault localization?Information and Software Technology, 2012
- CloudBurst: highly sensitive read mapping with MapReduceBioinformatics, 2009
- Combination testing strategies: a surveySoftware Testing, Verification and Reliability, 2005