Elastic distributed dataset RDD (Resilient Distributed Datasets)
Abstract
In recent years, the amount of data to be processed has become larger and larger, and it is difficult for a single processor to handle data, so we need to work hard to develop the expansion mode of cluster mode. Mapreduce, Storm, etc. are a solution for clusters to process data. However, we still have parallel processing, user resource sharing and other issues to be addressed. RDD data model is the key to solve these problems. In this paper, RDD is applied to Spark for detailed expansion, and project experiments are carried out to study the RDD data model. The programming language used in this article is python. The advantage of studying distributed iterative computing is that during the calculation process, the task calculation fails and can be recovered. The default is to allow four failures recoverable. If the stage fails, one can recover, and if the partition fails, one can also recover. Multiple partitions can improve parallelism and efficiency. After a shuffle, a partition failed because the many-to-one relationship needs to be recalculated.
References
- Meng X, Bradley J, Yavuz B, et al. MLlib: machine learning in apache spark[J]. Journal of Machine Learning Research, 2015, 17(1):1235-1241.
- Beijing University of Aeronautics and Astronautics,Design and Implementation of Distributed Microblog Data Processing System Based on Spark,2014
- 3.Armbrust M, Xin R S, Lian C, et al. Spark SQL: Relational Data Processing in Spark[C]// ACM SIGMOD International Conference on Management of Data. ACM, 2015:1383-1394.
- Zaharia M, Chowdhury M, Franklin M J, et al. Spark: cluster computing with working sets[C]// Usenix Conference on Hot Topics in Cloud Computing. USENIX Association, 2010:10-10.
- Zhu Peipei. Research on big data analysis and optimization technology based on cloud computing [J]. Modern information technology, 2019 (14): 69
- Guo ming,MapReduce source code analysis and performance improvement,2015
- Guo ming,MapReduce source code analysis and performance improvement,2015
- Beijing University of Aeronautics and Astronautics,Design and Implementation of Distributed Microblog Data Processing System Based on Spark,2014
- Yang Zhiwei Tutor: Zheng Zheng Master's Thesis, University of Science and Technology of China, May 6th, 2015