基於機器學習的組態測試
Machine Learning Based Configuration Testing
摘要
在複雜的巨量資料平台的環境下,系統工程師提供了資料科學家與資料工程師計算與儲存資源的基礎建設。在這樣的分工下,資料科學家可以專注在領域的分析問題並且設計環境下所需要的智能模組,如:資料整備、演算法選擇、模型訓練與參數調校與模型驗證。這樣的分工狀況造成了一個資料科學團隊與系統工程團隊的落差。系統工程團隊對於應用領域的問題特製往往缺乏相關知識,而另外一方面,資料科學團隊對於系統資源所提供的組態特性(如:運算系統、檔案結構與資料庫的組態)也不甚清楚。然而,應用效能的展現往往與系統的組態是有關連的,這種兩個團隊間的彼此資訊不清楚的狀況對於後續應用分析系統的成果表現是會有很大的影響的。
在本論文當中,我們提出了對於一種對於巨量資料平台的組態測試層,並以Hadoop為例,我們建構了一個組態測試調節器從收集資料、處理資料與找出對於應用分析較好的黃金參數。我們針對不同的應用(如:WordCount、TeraSort、WordCo-occurence、Hive與Pig不同的分析應用)收集的資料建立了預測模型並透過半自動化的方式進行特徵選擇,達到組態測試的目的與幫助分析系統的效能展現。
在本論文當中,我們提出了對於一種對於巨量資料平台的組態測試層,並以Hadoop為例,我們建構了一個組態測試調節器從收集資料、處理資料與找出對於應用分析較好的黃金參數。我們針對不同的應用(如:WordCount、TeraSort、WordCo-occurence、Hive與Pig不同的分析應用)收集的資料建立了預測模型並透過半自動化的方式進行特徵選擇,達到組態測試的目的與幫助分析系統的效能展現。
With complex big data platform architectures, system engineers provide data scientists and data engineers an infrastructure with computational and storage resources. With those supports, data scientists can focus on their domain problems and design the required intelligent modules (e.g., prepare the data; select, train, and tune the machine-learning modules, and validate the results). However, there are still gaps between system engineering and data scientist/engineer teams. System engineers have limited knowledge regarding the application domain and the purpose of an analytic program. Data scientists and engineers are not familiar with the configuration of a computational system, file system, and database. However, the performance of an application is related to system configuration, and the data scientists and engineers have little information and knowledge regarding system properties that would affect the performance of the application.
In this dissertation, we propose a configuration layer for testing with a big data platform, Hadoop, and build a configuration tuner to collect and pre-process data and build golden configurations. Based on the processed data, we use semi-automatic feature engineering to provide more features for data engineers. We will build the performance model using different machine-learning algorithms with the same benchmark, such as WordCount, TeraSort, Word Co-occurrence, and Hive, Pig workloads.
In this dissertation, we propose a configuration layer for testing with a big data platform, Hadoop, and build a configuration tuner to collect and pre-process data and build golden configurations. Based on the processed data, we use semi-automatic feature engineering to provide more features for data engineers. We will build the performance model using different machine-learning algorithms with the same benchmark, such as WordCount, TeraSort, Word Co-occurrence, and Hive, Pig workloads.