Debugging MapReduce workflows can be a difficult task: their execution is batch-oriented and, once completed, leaves only the data sets themselves to help in the debugging process. Data provenance, which captures how data elements are processed through the workflow, can aid in debugging by enabling backward tracing: finding the input subsets that contributed to a given output element. For example, erroneous input elements or processing functions may be discovered by backward-tracing suspicious output elements. Provenance and backward tracing also can be useful for drilling-down to learn more about interesting or unusual output elements.
RAMP (Reduce And Map Provenance) is an extension to Hadoop that supports provenance capture and tracing for MapReduce workflows. RAMP captures fine-grained provenance by wrapping the RecordReader, Mapper, Combiner, Reducer, and RecordWriter. This wrapper-based approach is transparent to Hadoop, retaining Hadoop’s parallel execution and fault tolerance. Furthermore, in many cases users need not be aware of provenance capture while writing MapReduce jobs–wrapping is automatic, and RAMP stores provenance separately from the input and output data. Our performance experiments show that RAMP imposes reasonable time and space overhead during provenance capture and enables efficient backward tracing without requiring special indexing of provenance information.
Here are our demonstration proposal, presentation slides, and research paper describing this system.
The source code is available at github.com/hyunjung/hadoop-common and
github.com/hyunjung/pig.
Provenance of the output record (san jose, 1, 7)
B6D197CBA40EB1F8 | 970917000855 | san jose police |
B6D197CBA40EB1F8 | 970917000741 | san jose area crime |
C8BFFBA73DA51C20 | 970916122706 | appliance parts san jose |
C8BFFBA73DA51C20 | 970916122821 | san jose appliance parts |
E3B951514A7D3774 | 970916123453 | san jose california |
E3B951514A7D3774 | 970916123406 | san jose california |
E4867395E2FCEF5F | 970916124513 | san jose, california |
E4867395E2FCEF5F | 970916125122 | san jose, california |
E4867395E2FCEF5F | 970916125102 | san jose, california |
4C67B46D197F9ABE | 970916125731 | san jose, ca |
200CA2F9D2D0504B | 970916123937 | restaurants san jose cupertino |
2262A03003F2C79D | 970916124614 | realtors san jose |
2262A03003F2C79D | 970916124706 | realtors san jose |
2262A03003F2C79D | 970916124845 | realtors san jose |
02693894662434F0 | 970916122205 | security jobs in san jose |
Provenance of the output record (san francisco, 4, 19)
F1600C1B6A71CCBA | 970916004007 | +pediatrics +san +francisco |
F200C3C155317F31 | 970916005335 | san francisco raves |
21D94FF35E6DDBAC | 970916003009 | "air fares" +"san francisco" +"orange county" |
94D4D2B9D4B689B6 | 970916004032 | san francisco chronicle |
F3AE45818561264C | 970916120757 | rental car san francisco |
5FB7059B23CDB8E4 | 970916121345 | san francisco spine center |
212EBB10F894EC3F | 970916122111 | san francisco bay areaa progressive directory |
4A0D4434AD286E86 | 970916124332 | commodore hotel san francisco |
4A0D4434AD286E86 | 970916124408 | commodore hotel san francisco |
4A0D4434AD286E86 | 970916123814 | san francisco hotels |
43469E0FCF916981 | 970916122838 | ymca san francisco embarcadero |
43469E0FCF916981 | 970916123737 | "ymca" + "san francisco" |
43469E0FCF916981 | 970916122655 | ymca san francisco embarcadero |
43469E0FCF916981 | 970916123639 | "ymca" + "san francisco" |
43469E0FCF916981 | 970916123619 | "ymca" + "san francisco" |
43469E0FCF916981 | 970916122808 | ymca san francisco embarcadero |
43469E0FCF916981 | 970916123852 | "ymca" + "san francisco" |
43469E0FCF916981 | 970916123725 | "ymca" + "san francisco" |
0C959555E000D7B4 | 970916124426 | san francisco and museums |
11E239BE903A5BD2 | 970916124501 | san francisco windsurfing |
566A4FB46D2D76B1 | 970916125842 | university of california, san francisco |
46DCEC79B3E38648 | 970916121812 | san francisco alcatras |
46DCEC79B3E38648 | 970916121840 | san francisco alcatras |
46DCEC79B3E38648 | 970916121815 | san francisco alcatras |
45EEC4F331A6128D | 970916121856 | san francisco |
4491550C17DCF8BB | 970916124623 | san francisco 49ers cheerleaders |
5483C9398C19103D | 970916123020 | san francisco oral history project |
6299C610910E0AEF | 970916124549 | san francisco bed & breakfasts |
6299C610910E0AEF | 970916124150 | cartwright san francisco |
78A1B5069C5253CD | 970916121312 | san francisco california bay |
78A1B5069C5253CD | 970916121247 | san francisco california |
78A1B5069C5253CD | 970916121216 | san francisco |
A051C304794ABFA2 | 970916122452 | san francisco rent board |
7FB28AD06BCE58D7 | 970916122319 | san francisco municipal court |
7FB28AD06BCE58D7 | 970916122503 | san francisco municipal court |
C02735CF57E1E9D8 | 970916120922 | the "portman hotel" "san francisco" + rates |
D830578C86FAD501 | 970916124544 | san francisco blues festival |
D830578C86FAD501 | 970916124606 | san francisco blues festival |
DCD929C3599B050F | 970916122752 | movies, san francisco |
DCD929C3599B050F | 970916122551 | san francisco, jobs, television, film |
DCD929C3599B050F | 970916121624 | headhunters, san francisco |
DCD929C3599B050F | 970916122708 | jobs, television, film, san francisco |