Inferring software behavioral models with MapReduce

被引:8
|
作者
Luo, Chen [1 ,2 ,4 ]
He, Fei [1 ]
Ghezzi, Carlo [3 ]
机构
[1] Tsinghua Univ, Tsinghua Natl Lab Informat Sci & Technol TNList, Key Lab Informat Syst Secur, Minist Educ,Sch Software, Beijing 100084, Peoples R China
[2] Univ Calif Irvine, Irvine, CA USA
[3] Politecn Milan, Milan, Italy
[4] Tsinghua Univ, Beijing, Peoples R China
关键词
Model inference; Parametric trace; Log analysis; MapReduce;
D O I
10.1016/j.scico.2017.04.004
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
In the real world practice, software systems are often built without developing any explicit upfront model. This can cause serious problems that may hinder: the almost inevitable future evolution, since at best the only documentation about the software is in the form of source code comments. To address this problem, research has been focusing on automatic inference of models by applying machine learning algorithms to execution logs. However, the logs generated by a real software system may be very large and the inference algorithm can exceed the processing capacity of,a single computer. This paper proposes a scalable, general approach to the inference of behavior models that can handle large execution logs via parallel and distributed algorithms implemented using the MapReduce programming model and executed on a cluster-of interconnected execution nodes. The approach consists of two distributed phases that perform trace slicing and model synthesis. For each phase, a distributed algorithm using MapReduce is developed. With the parallel data processing capacity of MapReduce, the problem of inferring behavior models from large logs can be efficiently solved. The technique is implemented on top of Hadoop. Experiments on Amazon clusters show efficiency and scalability of our approach. (C) 2017 Elsevier B.V. All rights reserved.
引用
收藏
页码:13 / 36
页数:24
相关论文
共 50 条
  • [1] Inferring Software Behavioral Models with MapReduce
    Luo, Chen
    He, Fei
    Ghezzi, Carlo
    DEPENDABLE SOFTWARE ENGINEERING: THEORIES, TOOLS, AND APPLICATIONS, SETTA 2015, 2015, 9409 : 135 - 149
  • [2] Automatic Generation of Software Behavioral Models
    Lorenzoli, Davide
    Mariani, Leonardo
    Pezze, Mauro
    ICSE'08 PROCEEDINGS OF THE THIRTIETH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, 2008, : 501 - 510
  • [3] Behavioral Simulations in MapReduce
    Wang, Guozhang
    Salles, Marcos Vaz
    Sowell, Benjamin
    Wang, Xun
    Cao, Tuan
    Demers, Alan
    Gehrke, Johannes
    White, Walker
    PROCEEDINGS OF THE VLDB ENDOWMENT, 2010, 3 (01): : 952 - 963
  • [4] Inferring extended finite state machine models from software executions
    Walkinshaw, Neil
    Taylor, Ramsay
    Derrick, John
    EMPIRICAL SOFTWARE ENGINEERING, 2016, 21 (03) : 811 - 853
  • [5] SOFTWARE GENERATES ANALOG BEHAVIORAL-MODELS
    DONLIN, M
    COMPUTER DESIGN, 1992, 31 (06): : 123 - 123
  • [6] Inferring Extended Finite State Machine Models from Software Executions
    Walkinshaw, Neil
    Taylor, Ramsay
    Derrick, John
    2013 20TH WORKING CONFERENCE ON REVERSE ENGINEERING (WCRE), 2013, : 301 - 310
  • [7] Inferring extended finite state machine models from software executions
    Neil Walkinshaw
    Ramsay Taylor
    John Derrick
    Empirical Software Engineering, 2016, 21 : 811 - 853
  • [8] Log2model: Inferring Behavioral Models from Log Data
    Luckow, Kasper S.
    Pasareanu, Corina S.
    2016 IEEE INTERNATIONAL HIGH LEVEL DESIGN VALIDATION AND TEST WORKSHOP (HLDVT), 2016, : 25 - 29
  • [9] Discovery and Quality Evaluation of Software Component Behavioral Models
    Liu, Cong
    IEEE TRANSACTIONS ON AUTOMATION SCIENCE AND ENGINEERING, 2021, 18 (04) : 1538 - 1549
  • [10] Basic behavioral models for software product lines: Revisited
    Varshosaz, Mahsa
    Beohar, Harsh
    Mousavi, Mohammad Reza
    SCIENCE OF COMPUTER PROGRAMMING, 2018, 168 : 171 - 185