The Ohio State University
Mitigating Distributed Configuration Errors in Cloud Systems
Abstract
dc:descriptionWhile many techniques have been proposed to find software configuration errors in software systems, most of them focus on finding misconfiguration occurring on a single node. Unfortunately, the nature of distributed systems brings up a more complex problem: some failures may only occur when a system is configured inappropriately on multiple nodes, whereas the configuration of each node is considered correct individually. To distinguish these configuration errors from local configuration errors which have been widely studied, we call these errors as distributed configuration errors. In this dissertation, we combat distributed configuration errors in two ways: 1) we re-design the system to reduce the chance that the administrator may introduce an inappropriate distributed configuration; 2) we use the traditional software testing approach to test what distributed configurations are unsafe.In the first direction, we focus on timeout, an important parameter that is hard to configure right. We propose SafeTimer, a mechanism to enhance existing timeout failure detection protocols to tolerate long delays in the OS and the application: at the heartbeat receiver, SafeTimer checks whether there are any pending heartbeats before reporting a failure; at the heartbeat sender, SafeTimer blocks the sender if it cannot send out heartbeats in time. As a result, as long as networking delays are bounded, SafeTimer can guarantee the correctness of failure detection. We applied SafeTimer to HDFS and Ceph with little modification, and found the performance overhead is small.In the second direction, we propose ZebraConf, a testing framework that reuses existing unit tests and integration tests to test whether a parameter can be configured in a heterogeneous manner. To address the challenge of assigning different configurations to different nodes in unit tests, ZebraConf incorporates several heuristics to accurately map configuration objects to nodes. To reduce the massive test number, ZebraConf profiles unit test suites to only generate effective tests and groups multiple tests into a single one. We applied ZebraConf to five cloud systems and found 47 heterogeneous-unsafe configuration parameters.
Degree
thesis:*- Name thesis:degree_name
- Doctor of Philosophy
- Level thesis:degree_level
- doctoral
- Discipline thesis:degree_discipline
- Computer Science and Engineering
- Grantor dc:publisher
- The Ohio State University
- Year dc:date
- 2022
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Ma, Sixiang
- Advisor dc:contributor.advisor
-
- Wang, Yang
Subjects
dc:subject × 4Rights
dc:rights- Statement dc:rights
-
- unrestricted
- This thesis or dissertation is protected by copyright: all rights reserved. It may not be copied or redistributed beyond the terms of applicable copyright laws.
- Language dc:language
- English
Identifiers
dc:identifier.*- Repository record dc:identifier
- http://rave.ohiolink.edu/etdc/view?acc_num=osu164912259816919