Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What is the essence of Spark Streaming

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)05/31 Report--

This article introduces the knowledge of "what is the essence of Spark Streaming". In the operation of actual cases, many people will encounter such a dilemma. Then let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!

An understanding of Spark Streaming

Spark Streaming is streaming computing, and the current era is an era of streaming processing. All data is invalid if it is not streamed or has nothing to do with streaming.

Streaming is our first impression of big data, not batch processing and data mining. Of course, the strength of Spark is that his streaming processing can directly use the results of machine learning, graph computing, SparkSQL and Spark R online.

Spark Streaming differs from other subframeworks in that Spark Streaming is much like an application based on Spark Core.

two。 How to start? To see the inside story through the observation of the inflow, outflow and processing of Spark Streaming data! Observe the operation of the Batch Interval by making it large enough, such as once a minute, or once every 5 minutes to observe the spark UI. four。 Experiment

1 launch nc-lk 9999, publish the application to run on the Spark cluster, and send the following data in nc

2016-05-01 mahout2016-05-01 scala2016-05-01 hadoo2016-05-01 spark

2 after the application receives the data, it will have the following output

2016-05-01 scala2016-05-01 spark

3 from the history server of Spark, we observe that the following jobs is running

This is the end of "what is the essence of Spark Streaming"? thank you for your reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report