当前位置:网站首页>Spark overview
Spark overview
2022-07-03 09:25:00 【Did Xiao Hu get stronger today】
List of articles
Spark What is it?
Spark It is a memory based fast 、 Universal 、 Scalable big data analysis and calculation engine .
Spark and Hadoop
Hadoop By java language-written , Store massive data on the distributed server cluster and run the distributed server Open source framework for analytical applications .
Spark It's a kind of Scala Fast language development 、 Universal 、 Scalable big data analysis engine . The main function is mainly used for data calculation .
Spark or Hadoop
Hadoop MapReduce Because its original design is not to meet the circular iterative data flow processing , So in many Data reusability scenarios running in parallel ( Such as : machine learning 、 Graph mining algorithm 、 Interactive data mining algorithm ) Zhongcun In many problems such as computational efficiency . therefore Spark emerge as the times require ,Spark It's in the traditional MapReduce Calculation box On the basis of the frame , Using the optimization of its calculation process , Computing based on memory , To reduce the IO The cost of .
Spark and Hadoop The fundamental difference is the problem of data communication between multiple jobs : Spark Data between multiple jobs Communication is based on memory , and Hadoop It's disk based .
Spark Only in shuffle Write data to disk when , and Hadoop More than one of them MR Data interaction between jobs depends on disk interaction ,Spark The caching mechanism is better than HDFS Efficient caching mechanism .
In most data computing scenarios ,Spark It does. MapReduce Have more advantages . however Spark It's memory based , So in the actual production environment , Due to memory limitations , May be Due to insufficient memory resources Job Execution failure , here ,MapReduce It's actually a better choice , therefore Spark It's not a complete replacement for MR.
Spark Core module
- Spark Core Spark Core Provided in Spark The most basic and core functions ,Spark Other functions such as :Spark SQL, Spark Streaming,GraphX, MLlib It's all in Spark Core On the basis of
- Spark SQL Spark SQL yes Spark Components used to manipulate structured data . adopt Spark SQL, Users can use SQL perhaps Apache Hive Version of SQL dialect (HQL) To query data .
- Spark Streaming Spark Streaming yes Spark Platform for real-time data stream computing components , Provides a wealth of processing Streaming API.
- Spark MLlib MLlib yes Spark Provides a library of machine learning algorithms .MLlib Not only does it provide model evaluation 、 Data import, etc Extra features , It also provides some lower level machine learning primitives .
- Spark GraphX GraphX yes Spark The framework and algorithm library provided by graph computing .
边栏推荐
- Go language - IO project
- 【点云处理之论文狂读前沿版8】—— Pointview-GCN: 3D Shape Classification With Multi-View Point Clouds
- 307. Range Sum Query - Mutable
- ERROR: certificate common name “*.” doesn’t match requested ho
- Basic knowledge of network security
- [point cloud processing paper crazy reading frontier version 11] - unsupervised point cloud pre training via occlusion completion
- The less successful implementation and lessons of RESNET
- Navicat, MySQL export Er graph, er graph
- 【点云处理之论文狂读经典版7】—— Dynamic Edge-Conditioned Filters in Convolutional Neural Networks on Graphs
- LeetCode 30. Concatenate substrings of all words
猜你喜欢
We have a common name, XX Gong
Spark 结构化流写入Hudi 实践
Flink学习笔记(十一)Table API 和 SQL
How to check whether the disk is in guid format (GPT) or MBR format? Judge whether UEFI mode starts or legacy mode starts?
LeetCode 57. Insert interval
LeetCode 438. Find all letter ectopic words in the string
AcWing 788. Number of pairs in reverse order
【点云处理之论文狂读经典版11】—— Mining Point Cloud Local Structures by Kernel Correlation and Graph Pooling
Flink学习笔记(八)多流转换
Solve POM in idea Comment top line problem in XML file
随机推荐
[point cloud processing paper crazy reading classic version 14] - dynamic graph CNN for learning on point clouds
The server denied password root remote connection access
【点云处理之论文狂读前沿版11】—— Unsupervised Point Cloud Pre-training via Occlusion Completion
Computing level network notes
State compression DP acwing 91 Shortest Hamilton path
[solution to the new version of Flink without bat startup file]
We have a common name, XX Gong
Django operates Excel files through openpyxl to import data into the database in batches.
Basic knowledge of database design
Spark 结构化流写入Hudi 实践
On February 14, 2022, learn the imitation Niuke project - develop the registration function
Hudi学习笔记(三) 核心概念剖析
LeetCode 57. Insert interval
Explanation of the answers to the three questions
Redis learning (I)
There is no open in default browser option in the right click of the vscade editor
[point cloud processing paper crazy reading frontier version 11] - unsupervised point cloud pre training via occlusion completion
2022-2-14 learning xiangniuke project - generate verification code
Idea uses the MVN command to package and report an error, which is not available
[point cloud processing paper crazy reading classic version 12] - foldingnet: point cloud auto encoder via deep grid deformation