{"id":{"repo_id":"toronto-retro","oai_identifier":"oai:utoronto.scholaris.ca:1807/104953"},"canonical_url":"https://search.ndltd.org/etd/toronto-retro/oai:utoronto.scholaris.ca:1807/104953","repository":{"repo_id":"toronto-retro","name":"University of Toronto","base_url":"https://utoronto.scholaris.ca/server/oai/request"},"display":{"title":"Automatic Failure Diagnosis for Distributed Systems","abstract":"Distributed software systems have become the backbone of Internet services. Failures in pro-duction distributed systems have severe consequences. A 63-minute outage of Amazon in 2018 caused a 100-million loss in revenue. Therefore, diagnosing such failures in distributed systems is particularly critical because it can reduce the service downtime and associated cost. However, failure diagnosis at data center scale is notoriously difficult because these systems are complex: there are numerous threads, processes, and nodes communicating concurrently. Despite decades of efforts dedicated to automated failure diagnosis, existing diagnosis techniques are either intrusive and incur non-negligible performance overhead in a production environment, or face scalability challenges when applied to complex software systems. This dissertation aims to automate human diagnosis procedure for distributed system failures. It makes two main contributions towards improving automated failure diagnosis techniques. The first contribution of this dissertation is a technique that can automatically locate the root cause in a failed distributed system execution. Identifying the root cause in a failed execution of a distributed system with billions of executed instructions is like finding a needle in a haystack. This dissertation designs and evaluates a tool, called Kairux, capable of pinpointing the root cause of a failure in a distributed system, in a fully automated way. The second contribution is a technique that can automatically reproduce failure from production distributed systems. Given a failure report, the first step of developers’ diagnosis is typically to reproduce the failure. To automate this step, this dissertation designs and evaluates a technique, called Pensieve, that mimics developers’ analysis of a chain of causally dependent events that lead to the failure using log analysis and program analysis. This dissertation provides the implementation of a practical tool capable of reconstructing near-minimal failure reproduction steps from log files and system bytecode, without human involvement. By evaluating on some of the most complex, real-world failures from widely-deployed dis-tributed systems such as HBase, HDFS, and ZooKeeper, this dissertation shows that Pensieve is capable of formulating a minimal set of operations necessary to reproduce the failure, and Kairux can further pinpoint each failure’s respective root cause.","abstract_html":"Distributed software systems have become the backbone of Internet services. Failures in pro-duction distributed systems have severe consequences. A 63-minute outage of Amazon in 2018 caused a 100-million loss in revenue. Therefore, diagnosing such failures in distributed systems is particularly critical because it can reduce the service downtime and associated cost. However, failure diagnosis at data center scale is notoriously difficult because these systems are complex: there are numerous threads, processes, and nodes communicating concurrently. Despite decades of efforts dedicated to automated failure diagnosis, existing diagnosis techniques are either intrusive and incur non-negligible performance overhead in a production environment, or face scalability challenges when applied to complex software systems. This dissertation aims to automate human diagnosis procedure for distributed system failures. It makes two main contributions towards improving automated failure diagnosis techniques. The first contribution of this dissertation is a technique that can automatically locate the root cause in a failed distributed system execution. Identifying the root cause in a failed execution of a distributed system with billions of executed instructions is like finding a needle in a haystack. This dissertation designs and evaluates a tool, called Kairux, capable of pinpointing the root cause of a failure in a distributed system, in a fully automated way. The second contribution is a technique that can automatically reproduce failure from production distributed systems. Given a failure report, the first step of developers’ diagnosis is typically to reproduce the failure. To automate this step, this dissertation designs and evaluates a technique, called Pensieve, that mimics developers’ analysis of a chain of causally dependent events that lead to the failure using log analysis and program analysis. This dissertation provides the implementation of a practical tool capable of reconstructing near-minimal failure reproduction steps from log files and system bytecode, without human involvement. By evaluating on some of the most complex, real-world failures from widely-deployed dis-tributed systems such as HBase, HDFS, and ZooKeeper, this dissertation shows that Pensieve is capable of formulating a minimal set of operations necessary to reproduce the failure, and Kairux can further pinpoint each failure’s respective root cause.","abstract_has_math":false,"creators":["Zhang, Yongle"],"institution":null,"degree_name":null,"degree_level":null,"degree_discipline":null,"degree_department":"Electrical and Computer Engineering","school":null,"contributors":[],"advisors":["Yuan, Ding D.Y."],"committee_chairs":[],"committee_members":[],"year":2021,"date_issued":"2021-03","date_published":"2021-03","updated_at":"2026-11-19T09:35:36Z","subjects":["debugging","diagnosis","distributed systems","failure reproduction","root cause"],"languages":[],"rights":["Attribution 4.0 International"],"rights_urls":["http://creativecommons.org/licenses/by/4.0/"],"identifier_entries":[],"person_identifier_entries":[]},"links":{"outbound_url":"https://hdl.handle.net/1807/104953","outbound_label":"Handle","outbound_source":"dc:identifier.uri","record_url":"https://hdl.handle.net/1807/104953","record_label":"Repository record","record_kind":"handle","record_source":"dc:identifier.uri","access_status":null,"embargo_until":null,"access_note":null},"oai_pmh_record":{"url":"https://union.ndltd.org/oai-pmh/?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai%3Aunion.ndltd.org%3Arepo%3Atoronto-retro%3Aoai%3Autoronto.scholaris.ca%3A1807%2F104953","prefix":"oai_dc"},"source_record":{"url":"https://utoronto.scholaris.ca/server/oai/request?verb=GetRecord&metadataPrefix=dim&identifier=oai%3Autoronto.scholaris.ca%3A1807%2F104953","prefix":"dim"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.advisor","label":"Advisor","values":["Yuan, Ding D.Y."]},{"key":"dc:contributor.department","label":"Department","values":["Electrical and Computer Engineering"]},{"key":"dc:creator","label":"Author","values":["Zhang, Yongle"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date","label":"Dc Date","values":["2021-03"]},{"key":"dc:date.accepted","label":"Dc Date Accepted","values":["2021-03"]},{"key":"dc:date.accessioned","label":"Dc Date Accessioned","values":["2021-03-15T14:32:41Z"]},{"key":"dc:date.available","label":"Dc Date Available","values":["2021-03-15T14:32:41Z"]},{"key":"dc:date.issued","label":"Date","values":["2021-03"]},{"key":"dc:type","label":"Dc Type","values":["Thesis"]},{"key":"thesis:degree_date","label":"Thesis Degree Date","values":["2021-03"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["debugging","diagnosis","distributed systems","failure reproduction","root cause"]},{"key":"dc:subject.classification","label":"Dc Subject Classification","values":["0464"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:rights","label":"Dc Rights","values":["Attribution 4.0 International"]},{"key":"dc:rights.uri","label":"Rights URI","values":["http://creativecommons.org/licenses/by/4.0/"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.uri","label":"Identifier URI","values":["http://hdl.handle.net/1807/104953"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["Distributed software systems have become the backbone of Internet services. Failures in pro-duction distributed systems have severe consequences. A 63-minute outage of Amazon in 2018 caused a 100-million loss in revenue. Therefore, diagnosing such failures in distributed systems is particularly critical because it can reduce the service downtime and associated cost. However, failure diagnosis at data center scale is notoriously difficult because these systems are complex: there are numerous threads, processes, and nodes communicating concurrently. Despite decades of efforts dedicated to automated failure diagnosis, existing diagnosis techniques are either intrusive and incur non-negligible performance overhead in a production environment, or face scalability challenges when applied to complex software systems. This dissertation aims to automate human diagnosis procedure for distributed system failures. It makes two main contributions towards improving automated failure diagnosis techniques. The first contribution of this dissertation is a technique that can automatically locate the root cause in a failed distributed system execution. Identifying the root cause in a failed execution of a distributed system with billions of executed instructions is like finding a needle in a haystack. This dissertation designs and evaluates a tool, called Kairux, capable of pinpointing the root cause of a failure in a distributed system, in a fully automated way. The second contribution is a technique that can automatically reproduce failure from production distributed systems. Given a failure report, the first step of developers’ diagnosis is typically to reproduce the failure. To automate this step, this dissertation designs and evaluates a technique, called Pensieve, that mimics developers’ analysis of a chain of causally dependent events that lead to the failure using log analysis and program analysis. This dissertation provides the implementation of a practical tool capable of reconstructing near-minimal failure reproduction steps from log files and system bytecode, without human involvement. By evaluating on some of the most complex, real-world failures from widely-deployed dis-tributed systems such as HBase, HDFS, and ZooKeeper, this dissertation shows that Pensieve is capable of formulating a minimal set of operations necessary to reproduce the failure, and Kairux can further pinpoint each failure’s respective root cause."]},{"key":"dc:description.degree","label":"Dc Description Degree","values":["Ph.D."]},{"key":"dc:title","label":"Title","values":["Automatic Failure Diagnosis for Distributed Systems"]},{"key":"others:access_status","label":"Others Access Status","values":["open.access"]}]}],"canonical_facts":{"dc:contributor.advisor":["Yuan, Ding D.Y."],"dc:contributor.department":["Electrical and Computer Engineering"],"dc:creator":["Zhang, Yongle"],"dc:date":["2021-03"],"dc:date.accepted":["2021-03"],"dc:date.accessioned":["2021-03-15T14:32:41Z"],"dc:date.available":["2021-03-15T14:32:41Z"],"dc:date.issued":["2021-03"],"dc:description.abstract":["Distributed software systems have become the backbone of Internet services. Failures in pro-duction distributed systems have severe consequences. A 63-minute outage of Amazon in 2018 caused a 100-million loss in revenue. Therefore, diagnosing such failures in distributed systems is particularly critical because it can reduce the service downtime and associated cost. However, failure diagnosis at data center scale is notoriously difficult because these systems are complex: there are numerous threads, processes, and nodes communicating concurrently. Despite decades of efforts dedicated to automated failure diagnosis, existing diagnosis techniques are either intrusive and incur non-negligible performance overhead in a production environment, or face scalability challenges when applied to complex software systems. This dissertation aims to automate human diagnosis procedure for distributed system failures. It makes two main contributions towards improving automated failure diagnosis techniques. The first contribution of this dissertation is a technique that can automatically locate the root cause in a failed distributed system execution. Identifying the root cause in a failed execution of a distributed system with billions of executed instructions is like finding a needle in a haystack. This dissertation designs and evaluates a tool, called Kairux, capable of pinpointing the root cause of a failure in a distributed system, in a fully automated way. The second contribution is a technique that can automatically reproduce failure from production distributed systems. Given a failure report, the first step of developers’ diagnosis is typically to reproduce the failure. To automate this step, this dissertation designs and evaluates a technique, called Pensieve, that mimics developers’ analysis of a chain of causally dependent events that lead to the failure using log analysis and program analysis. This dissertation provides the implementation of a practical tool capable of reconstructing near-minimal failure reproduction steps from log files and system bytecode, without human involvement. By evaluating on some of the most complex, real-world failures from widely-deployed dis-tributed systems such as HBase, HDFS, and ZooKeeper, this dissertation shows that Pensieve is capable of formulating a minimal set of operations necessary to reproduce the failure, and Kairux can further pinpoint each failure’s respective root cause."],"dc:description.degree":["Ph.D."],"dc:identifier.uri":["http://hdl.handle.net/1807/104953"],"dc:rights":["Attribution 4.0 International"],"dc:rights.uri":["http://creativecommons.org/licenses/by/4.0/"],"dc:subject":["debugging","diagnosis","distributed systems","failure reproduction","root cause"],"dc:subject.classification":["0464"],"dc:title":["Automatic Failure Diagnosis for Distributed Systems"],"dc:type":["Thesis"],"others:access_status":["open.access"],"thesis:degree_date":["2021-03"]},"updated_at":"2026-11-19T09:35:36Z"}