LEVERAGING PYSPARK FOR HIGH-PERFORMANCE ANALYTICS IN HIVE: STRATEGIES AND BENCHMARKS

Authors

  • Vishnu Vardhan Reddy Chilukoori Amazon.com Services LLC, USA Author
  • Srikanth Gangarapu AT&T Services INC, USA Author

Keywords:

PySpark, Real-Time Analytics, SQL-On-Hadoop, Data Partitioning, Hive Integration

Abstract

This article investigates the integration of PySpark with Hive data warehouses to enable high-performance real-time analytics. We explore the synergies between PySpark's distributed computing capabilities and Hive's data storage infrastructure, focusing on performance optimization techniques for large-scale data processing

The article presents a comprehensive framework for leveraging PySpark in Hive environments, including best practices for code optimization, Spark configuration tuning, and effective data partitioning strategies. Through a series of benchmarks and case studies, we demonstrate significant performance improvements in complex analytical tasks and machine learning applications compared to traditional Hive queries. Our findings reveal that PySpark can accelerate data processing by up to 10x in certain scenarios, while enabling more sophisticated real-time analytics. The article also addresses challenges in scaling PySpark solutions and provides insights into emerging trends in big data analytics. This article contributes to the growing body of knowledge on modernizing data warehouses and offers practical guidance for data engineers and analysts seeking to enhance their Hive-based analytics capabilities using PySpark.

References

A. Thusoo et al., "Hive - A Warehousing Solution Over a Map-Reduce Framework," Proc. VLDB Endow., vol. 2, no. 2, pp. 1626–1629, Aug. 2009. [Online]. Available: https://doi.org/10.14778/1687553.1687609

M. Zaharia et al., "Apache Spark: A Unified Engine for Big Data Processing," Commun. ACM, vol. 59, no. 11, pp. 56–65, Oct. 2016. [Online]. Available: https://doi.org/10.1145/2934664

D. Borthakur et al., "Apache Hadoop Goes Realtime at Facebook," in Proceedings of the 2011 ACM SIGMOD International Conference on Management of Data, 2011, pp. 1071–1080. [Online]. Available: https://doi.org/10.1145/1989323.1989438

M. Armbrust et al., "Spark SQL: Relational Data Processing in Spark," in Proceedings of the 2015 ACM SIGMOD International Conference on Management of Data, 2015, pp. 1383–1394. [Online]. Available: https://doi.org/10.1145/2723372.2742797

M. Zaharia et al., "Discretized Streams: Fault-Tolerant Streaming Computation at Scale," in Proceedings of the Twenty-Fourth ACM Symposium on Operating Systems Principles, 2013, pp. 423–438. [Online]. Available: https://doi.org/10.1145/2517349.2522737

X. Meng et al., "MLlib: Machine Learning in Apache Spark," Journal of Machine Learning Research, vol. 17, no. 34, pp. 1–7, 2016. [Online]. Available: http://jmlr.org/papers/v17/15-237.html

K. Ousterhout et al., "Making Sense of Performance in Data Analytics Frameworks," in 12th USENIX Symposium on Networked Systems Design and Implementation (NSDI 15), 2015, pp. 293-307. [Online]. Available: https://www.usenix.org/conference/nsdi15/technical-sessions/presentation/ousterhout

J. Shi et al., "Clash of the Titans: MapReduce vs. Spark for Large Scale Data Analytics," Proc. VLDB Endow., vol. 8, no.

, pp. 2110–2121, Sep. 2015. [Online]. Available: https://doi.org/10.14778/2831360.2831365

J. Karimov et al., "Benchmarking Distributed Stream Data Processing Systems," in 2018 IEEE 34th International Conference on Data Engineering (ICDE), 2018, pp. 1507-1518. [Online]. Available: https://doi.org/10.1109/ICDE.2018.00169

S. Venkataraman et al., "SparkR: Scaling R Programs with Spark," in Proceedings of the 2016 International Conference on Management of Data (SIGMOD '16), 2016, pp. 1099-1104. [Online]. Available: https://doi.org/10.1145/2882903.2903740

Downloads

Published

2024-09-05

How to Cite

Vishnu Vardhan Reddy Chilukoori, & Srikanth Gangarapu. (2024). LEVERAGING PYSPARK FOR HIGH-PERFORMANCE ANALYTICS IN HIVE: STRATEGIES AND BENCHMARKS. INTERNATIONAL JOURNAL OF ENGINEERING AND TECHNOLOGY RESEARCH (IJETR), 9(2), 108-118. https://lib-index.com/index.php/IJETR/article/view/IJETR_09_02_010