An experimental and comparative benchmark study examining resource utilization in managed Hadoop context

Uluer Emre Özdil, Serkan AyvazClust. Comput 2021

TL;DR

This paper benchmarks three managed Hadoop-on-PaaS cloud services (GCP Dataproc, Azure HDInsight, and Alibaba e-MapReduce) to understand their resource utilization patterns. The study reveals that identical configurations across cloud providers don't guarantee similar performance, highlighting the significant impact of underlying architectures and default settings on efficiency.

What Problem Does This Paper Address?

Migrating big data workloads to cloud-based Hadoop services, particularly those offered as Platform-as-a-Service (PaaS), promises cost savings through pay-as-you-go models. However, these managed services often act as "black boxes," obscuring their internal workings and making it difficult for users to understand their performance characteristics and resource utilization. This lack of transparency hinders informed decision-making and optimization. This paper aims to shed light on this by experimentally evaluating and comparing the resource utilization of different managed Hadoop offerings.

Methods

The researchers conducted a benchmark study using the HiBench Benchmark Suite, a comprehensive and representative tool for evaluating Hadoop performance. They deployed three managed Hadoop services (GCP Dataproc, Azure HDInsight, and Alibaba e-MapReduce) in an experimental environment, configuring them with identical geographical locations and similar CPU/memory specifications. The study focused on "out-of-the-box" configurations without any performance tweaks. System resource utilization data (CPU, memory, I/O) was collected from worker nodes during benchmark execution using a low-footprint bash script. The collected data was then visualized using spider plots (for average utilization) and line charts (for time-series analysis). Performance metrics like duration and throughput were also recorded, and slowdown estimates were calculated to compare relative performance.

Datasets

The study utilized the HiBench Benchmark Suite (version 7.1), which includes a variety of Hadoop-related workloads categorized into Micro, SQL, ML, and Websearch. Specific workloads executed included Sort, Terasort, Wordcount, Dfsioe, Scan, Join, Aggregation, Bayes, Kmeans, and Pagerank. The benchmarks were run with predefined data scales ranging from Tiny (KB) to Gigantic (GB), and in some cases, up to 300 GB for Sort.

Key Insights and Ideas

  • "Same Specs, Different Behavior": Even with identical hardware specifications and geographical locations, managed Hadoop services exhibit distinct resource utilization patterns and performance outcomes. This underscores that cloud provider configurations and underlying architectures are not interchangeable.
  • The "Black Box" Challenge: The study confirms that managed services, while convenient, obscure internal dynamics. Understanding these dynamics is crucial for optimizing performance, as default configurations may not be optimal.
  • Architectural Impact: Similar architectures (like GCP Dataproc and Alibaba e-MapReduce) tend to show similar utilization patterns, while different architectural approaches (like Azure HDInsight) can lead to different performance and utilization behaviors.
  • Bottlenecks in Defaults: The research suggests that default pre-configuration settings might not fully utilize available resources, potentially leading to performance limitations.
  • Workload-Specific Behavior: The resource utilization and performance vary significantly depending on the workload (e.g., I/O-bound vs. CPU-bound) and the data scale.

Key Results

  • Performance Variability: The study found that the same property specifications across cloud services do not guarantee similar performance outputs or consistent results.
  • Azure HDInsight's Dynamic Improvement: Azure HDInsight showed significant improvement in its slowdown estimates as data scales increased, suggesting its architecture might adapt better to larger datasets in certain workloads.
  • Structural Bottleneck Identified: A "DiskErrorException" occurred during the Terasort benchmark on Azure HDInsight due to insufficient local disk space for intermediate results, highlighting a potential structural bottleneck in its default configuration for large-scale I/O-intensive tasks.
  • Mapper/Reducer Slot Allocation Matters: A strong relation was observed between sufficiently allocated map slots and cluster utilization/performance, indicating that default configurations might not be optimally tuned.
  • Alibaba e-MapReduce Configuration Hiccups: The study encountered issues with Alibaba e-MapReduce's Hive engine, requiring workarounds to enable SQL benchmarks, suggesting potential complexities in its integration with standard tools.

Limitations and Future Work

Limitations: * The study used only one execution per benchmark, deviating from the typical practice of averaging multiple runs. This was a deliberate choice to observe utilization in a non-performative boundary, but it limits direct performance comparisons. * Minor differences in Hadoop versions across providers were unavoidable. * The experimental cluster was small (3 worker nodes), leading to the exclusion of network activity analysis.

Future Work: * The authors plan to extend this research to include more managed Hadoop offerings and explore other cloud vendors. * Future work will also investigate other managed services, such as Apache Spark, and delve deeper into the architectural nuances of these systems. * The study suggests that end-users should investigate the architecture of managed systems and implement performance-increasing operations.

Summary updated

BibTeX
@misc{ozdil2021experimental,
  author = {Uluer Emre Özdil and Serkan Ayvaz},
  title = {{An experimental and comparative benchmark study examining resource utilization in managed Hadoop context}},
  year = {2021},
  url = {https://openreview.net/forum?id=RthZsYnfYn},
}
Figure