Using Coq in specification and program extraction of Hadoop MapReduce applications

Kosuke Ono, Yoichi Hirai, Yoshinori Tanabe, Natsuko Noda, Masami Hagiya

Research output: Chapter in Book/Report/Conference proceedingConference contribution

22 Citations (Scopus)

Abstract

Hadoop MapReduce is a framework for distributed computation on key-value pairs. The goal of this research is to verify actual running code of MapReduce applications. We first constructed an abstract model of MapReduce computation with the proof assistant Coq. In the model, mappers and reducers in MapReduce computation are modeled as functions in Coq, and a specification of a MapReduce application is expressed in terms of invariants among functions involving its mapper and reducer. The model also provides modular proofs of lemmas that do not depend on applications. To achieve the goal, we investigated the feasibility of two approaches. In one approach, we transformed verified mapper and reducer functions into Haskell programs and executed them under Hadoop Streaming. In the other approach, we verified JML annotations on Java programs of the mapper and reducer using Krakatoa, translated them into Coq axioms, and proved Coq specifications from them. In either approach, we were able to verify correctness of MapReduce applications that actually run on the Hadoop MapReduce framework.

Original languageEnglish
Title of host publicationSoftware Engineering and Formal Methods - 9th International Conference, SEFM 2011, Proceedings
Pages350-365
Number of pages16
DOIs
Publication statusPublished - 2011
Externally publishedYes
Event9th International Conference on Software Engineering and Formal Methods, SEFM 2011 - Montevideo, Uruguay
Duration: 2011 Nov 142011 Nov 18

Publication series

NameLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume7041 LNCS
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

Conference9th International Conference on Software Engineering and Formal Methods, SEFM 2011
Country/TerritoryUruguay
CityMontevideo
Period11/11/1411/11/18

ASJC Scopus subject areas

  • Theoretical Computer Science
  • Computer Science(all)

Fingerprint

Dive into the research topics of 'Using Coq in specification and program extraction of Hadoop MapReduce applications'. Together they form a unique fingerprint.

Cite this