让你的记忆正确:大规模数据处理的脆资源分配助手
Get Your Memory Right: The Crispy Resource Allocation Assistant for Large-Scale Data Processing
摘要:
像Apache Spark和Apache Hadoop这样的分布式数据流系统可以在集群上对大型数据集进行数据并行处理。然而,选择适当的计算资源用于低成本作业-既不会导致瓶颈也不会导致低资源利用率-通常具有挑战性,即使对于数据工程师等专家用户也是如此。此外,现有的资源选择自动化方法依赖于这样的假设,即作业是重复的,以从先前的运行中学习,或者保证完整测试运行的成本来学习。然而,这种假设往往不成立,因为许多工作都太独特了。因此,我们提出了脆,一种方法,用于优化数据处理集群配置的基础上,作业分析运行的小样本的数据集上只有一台机器。Crispy尝试推断完整数据集的内存使用情况,然后选择具有足够总内存的集群配置。在我们对包含1031个Spark和Hadoop作业的数据集进行的评估中,我们看到与基线相比,作业执行成本降低了56%,而在消费级笔记本电脑上,每个作业的分析运行时间平均不到10分钟。
英文摘要:
Distributed dataflow systems like Apache Spark and Apache Hadoop enable data-parallel processing of large datasets on clusters. Yet, selecting appropriate computational resources for dataflow jobs -- that neither lead to bottlenecks nor to low resource utilization -- is often challenging, even for expert users such as data engineers. Further, existing automated approaches to resource selection rely on the assumption that a job is recurring to learn from previous runs or to warrant the cost of full test runs to learn from. However, this assumption often does not hold since many jobs are too unique. Therefore, we present Crispy, a method for optimizing data processing cluster configurations based on job profiling runs with small samples of the dataset on just a single machine. Crispy attempts to extrapolate the memory usage for the full dataset to then choose a cluster configuration with enough total memory. In our evaluation on a dataset with 1031 Spark and Hadoop jobs, we see a reduction of job execution costs by 56% compared to the baseline, while on average spending less than ten minutes on profiling runs per job on a consumer-grade laptop.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。