4 Spark streaming converts streaming data into DStreams which one of the given statements about DStreams is True

0 votes
4)Spark streaming converts streaming data into DStreams. which one of the given statements about DStreams is True?

a.Each mini batch in a dstream is represented

b.Streamingcontext cannot be created from sparkcontext

c.dstream is a sequence of mini batches of streamed content

d.spark streaming context doesn't give acess to methods for creating dstreams from various input sources
Nov 23, 2020 in Apache Spark by ritu
• 960 points
2,768 views

1 answer to this question.

0 votes

Hi@ritu,

Spark DStream (Discretized Stream) is the basic abstraction of Spark Streaming. It can also be a data stream generated by transforming the input stream. At its core, DStream is a continuous stream of RDD (Spark abstraction). Every RDD in DStream contains data from a certain interval. So you can go with the C option.

answered Nov 23, 2020 by MD
• 95,460 points

Related Questions In Apache Spark

0 votes
1 answer

7)From Schema RDD, data can be cache by which one of the given choices?

Hi, @Ritu, According to the official documentation of Spark 1.2, ...READ MORE

answered Nov 23, 2020 in Apache Spark by Gitika
• 65,770 points
1,961 views
0 votes
1 answer
0 votes
2 answers

5)Using which one of the given choices will you create an RDD with specific partitioning?

Hi, @Ritu, option b for you, as Hash Partitioning ...READ MORE

answered Nov 23, 2020 in Apache Spark by Gitika
• 65,770 points
4,311 views
0 votes
1 answer
0 votes
1 answer

which one of the following commands is used to see the structure of the Dataframe?

Hi @Ritu If you want to see the ...READ MORE

answered Nov 25, 2020 in Apache Spark by Gitika
• 65,770 points
2,406 views
0 votes
1 answer

12)Which one of the given flows correctly describe the Spark Streaming Architecture?

Hi@ritu, You need to learn the Architecture of ...READ MORE

answered Nov 23, 2020 in Apache Spark by MD
• 95,460 points
3,704 views
0 votes
1 answer

Which one of the following commands is used to start python-spark?

Hi@ritu, To start your python spark shell, you ...READ MORE

answered Nov 26, 2020 in Apache Spark by MD
• 95,460 points
1,409 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP