Computer Science ›› 2026, Vol. 53 ›› Issue (11A): 250900170-783.doi: 10.11896/jsjkx.250900170

• Big Data & Data Science • Previous Articles     Next Articles

DBD:Investigation on Classification and Distribution for Deadlocks in Big Data Systems

YU Zhen, XIANG Chengguan, ZUO Xin   

  1. School of Mathematics and Big Data,Guizhou Education University,Guiyang 550018,China
  • Online:2026-11-16 Published:2026-11-16
  • About author:YU Zhen,born in 1986,Ph.D,associate professor.His main research interests include program analysis,concurrency bug detection,avoidance and repair.
  • Supported by:
    This work was supported by the Youth Program of the Education Foundation of Guizhou Province(QianJiaoHeKYZi[2021]248) and Guizhou Provincial Science and Technology Program(QianKeHeRenCaiKJZY[2025]044).

Abstract: Big data systems often run in high concurrency and parallelism,making them susceptible to concurrency bugs such as deadlocks.Existing researches have focused on triggering conditions and repair strategies for these deadlocks but have not investigated their type classification and distribution.This paper collects 102 defects labeled as “deadlock” or “dead lock” from six representative big data systems and randomly selects 34 of them for in-depth analysis.Based on the general definition of deadlocks,it tries to understand their occurrence processes and identifies their breeding scopes and constituent elements.On this basis,it proposes six refined deadlock types specific to big data systems,namely local resource deadlock,local communication deadlock,local hybrid deadlock,distributed resource deadlock,distributed communication deadlock and distributed hybrid deadlock,along with typical examples for each type.After excluding four bugs that did not meet the deadlock definition,it analyzes the distribution and proportion of the remaining 30 deadlock bugs over the six refined deadlock types.The results are as follows:local resource deadlock 16/53.34%,local communication deadlock 6/20.00%,local hybrid deadlock 6/20.00%,distributed resource deadlock 0/0.00%,distributed communication deadlock 1/3.33% and distributed hybrid deadlock 1/3.33%.Overall,local deadlocks and distributed deadlocks respectively account for 28/93.34% and 2/6.66%.Based on these 30 deadlock bugs,their detailed descriptions about how they happen and their classification results,a public database called DBD namely "Deadlocks in Big Data systems" has been constructed to promote understanding,testing,detecting and repairing deadlock bugs in big data systems.

Key words: Local deadlocks, Distributed deadlocks, Local concurrency bugs, Distributed concurrency bugs, Bug investigation, Bug comprehension, Distributed systems, Big data systems

CLC Number: 

  • TP311
[1] SARASWAT J K,CHOUDHARI S.Integrating big data andcloud computing into the existing system and performance impact:a case study in manufacturing[J].Technological Forecasting and Social Change,2025,210:123883.
[2] CHEN Y,MA F,ZHOU Y,et al.Chronos:finding timeout bugs in practical distributed systems by deep-priority fuzzing with transient delay[C]//2024 IEEE Symposium on Security and Privacy.IEEE Computer Society,2024:1939-1955.
[3] GULCAN E B,NETO J,OZKAN B K.Generalized concurrency testing tool for distributed systems[C]//33rd ACM SIGSOFT International Symposium on Software Testing and Analysis.ACM,2024:1861-1865.
[4] WU H,PAN J,HUANG P.Efficient exposure of partial failure bugs in distributed systems with inferred abstract states[C]//21st USENIX Symposium on Networked Systems Design and Implementation.USENIX,2024:1267-1283.
[5] LI J,ZHANG Y,LU S,et al.Performance bug analysis and detection for distributed storage and computing systems[J].ACM Transactions on Storage,2023,19(3):1-33.
[6] QIAN S,FAN W,TAN L,et al.Vicious cycles in distributedsoftware systems[C]//38th International Conference on Automated Software Engineering.IEEE,2023:91-103.
[7] LU J,LI F,LIU C,et al.CloudRaid:detecting distributed concurrency bugs via log mining and enhancement[J].IEEE Transactions on Software Engineering,2020,48(2):662-677.
[8] HE J,DAI T,GU X,et al.HangFix:automatically fixing software hang bugs for production cloud systems[C]//11th ACM Symposium on Cloud Computing.ACM,2020:344-357.
[9] LU J,CHEN L,LI L,et al.Understanding node change bugs for distributed systems[C]//26th International Conference on Software Analysis,Evolution and Reengineering.IEEE,2019:399-410.
[10] LI G,LIU H,CHEN X,et al.DFix:automatically fixing timing bugs in distributed systems[C]//40th ACM SIGPLAN Conference on Programming Language Design and Implementation.ACM,2019:994-1009.
[11] LU J,LIU C,LI L,et al.CrashTuner:detecting crash-recovery bugs in cloud systems via meta-info analysis[C]//27th ACM Symposium on Operating Systems Principles.ACM,2019:114-130.
[12] LI J,CHEN Y,LIU H,et al.PCatch:automatically detecting performance cascading bugs in cloud systems[C]//13th European Conference on Computer Systems.ACM,2018:1-14.
[13] LIU H,WANG X,LI G,et al.FCatch:automatically detecting time-of-fault bugs in cloud systems[J].ACM SIGPLAN Notices,2018,53(2):419-431.
[14] LIU H,LI G,LUKMAN J F,et al.DCatch:automatically detecting distributed concurrency bugs in cloud systems[J].ACM SIGARCH Computer Architecture News,2017,45(1):677-691.
[15] SUMINTO R O,LAKSONO A,SATRIA A D,et al.Towards pre-deployment detection of performance failures in cloud distributed systems[C]//7th USENIX Workshop on Hot Topics in Cloud Computing.USENIX,2015:1-7.
[16] CHEN H,DOU W,JIANG Y,et al.Understanding exception-related bugs in large-scale cloud systems[C]//34th International Conference on Automated Software Engineering.IEEE,2019:339-351.
[17] GAO Y,DOU W,QIN F,et al.An empirical study on crash recovery bugs in large-scale distributed systems[C]//26th ACM Joint Meeting on European Software Engineering Conference and Symposium on the Foundations of Software Engineering.ACM,2018:539-550.
[18] ASADOLLAH A S,SUNDMARK D,ELDH S,et al.Concurrency bugs in open source software:a case study[J].Journal of Internet Services and Applications,2017,8:1-15.
[19] LEESATAPORNWONGSA T,LUKMAN J F,LU S,et al.TaxDC:a taxonomy of non-deterministic concurrency bugs in datacenter distributed systems[C]//21st ACM International Conference on Architectural Support for Programming Languages and Operating Systems.ACM,2016:517-530.
[20] GUNAWI H S,HAO M,LEESATAPORNWONGSA T,et al.What bugs live in the cloud? a study of 3000+ issues in cloud systems[C]//5th ACM Symposium on Cloud Computing.ACM,2014:1-14.
[21] YUAN D,LUO Y,ZHUANG X,et al.Simple testing can prevent most critical failures:an analysis of production failures in distributed data-intensive systems[C]//11th USENIX Symposium on Operating Systems Design and Implementation.USENIX,2014:249-265.
[22] SU X H,YU Z,WANG T T,et al.A survey on exposing,detecting and avoiding concurrency bugs[J].Chinese Journal of Computers,2015,38(11):2215-2233.
[23] LU S,PARK S,SEO E,et al.Learning from mistakes:a comprehensive study on real world concurrency bug characteristicsd[C]//13th International Conference on Architectural Support for Programming Languages and Operating Systems.ACM,2008:329-339.
[24] LI G,LU S,MUSUVATHI M,et al.Efficient and scalablethread-safety violation detection:finding thousands of concurrency bugs during testing[C]//27th ACM Symposium on Operating Systems Principles.ACM,2019:162-180.
[25] CHEN Y,WANG S,LU S,et al.Applying transactional memory for concurrency-bug failure recovery in production runs[J].IEEE Transactions on Parallel and Distributed Systems,2018,30(5):990-1006.
[26] DENG D D,JIN G L,KRUIJF M,et al.Fixing,preventing and recovering from concurrency bugs[J].Science China Information Science,2015,58(5):1-18.
[27] Cassandra[EB/OL].(2009-01-01)[2025-06-01].https://cas-sandra.apache.org/.
[28] Flume[EB/OL].(2009-01-01)[2025-06-01].https://flume.apache.org/.
[29] HBase[EB/OL].(2007-01-01)[2025-06-01].https://hbase.apache.org/.
[30] HDFS[EB/OL].(2014-10-09)[2025-06-01].https://hadoop.apache.org/docs/current/hadoop-project-dist/hadoop-hdfs/HdfsDesign.html.
[31] Hadoop MapReduce[EB/OL].(2006-01-01)[2025-06-01].ht-tps://hadoop.apache.org/.
[32] ZooKeeper[EB/OL].(2010-01-01)[2025-06-01].https://zookeeper.apache.org/.
[33] Apache JIRA[EB/OL].(2009-01-01)[2025-06-01].https://issues.apache.org/jira/issues/?jql=.
[34] Threads.shutdown[EB/OL].(2007-01-01)[2025-06-01].ht-tps://hbase.apache.org/devapidocs/src-html/org/apache/hadoop/hbase/util/Threads.html#line-93.
[35] ZooKeeper Recipes and Solutions[EB/OL].(2022-05-06)[2025-06-01].https://zookeeper.apache.org/doc/r3.1.2/recipes.html.
[36] Distributed Locks with Redis[EB/OL].(2009-01-01)[2025-06-01].https://redis.io/docs/latest/develop/clients/patterns/distributed-locks/.
[1] XU Guang-xia,CHEN Shu-yu. Improvement of Hierarchical Failure Detection Algorithm in Distributed Systems [J]. Computer Science, 2011, 38(10): 72-74.
[2] GUAN Shang-yuan,WU Wei-guo,DONG Xiao-she, MEI Yi-duo. Survey of Trust Management in Open Distributed Environments [J]. Computer Science, 2010, 37(3): 22-28.
[3] ZHANG Jun, YAO Qian (College of Information, Capital University of Economics and Business,Beijing 100026, China). [J]. Computer Science, 2008, 35(9): 187-191.
[4] LIAO Jian-Wei ,YU Jian-Qiao (College of Computer and Information Science, Southwest University, Chongqing 400715). [J]. Computer Science, 2007, 34(11): 74-78.
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!