Apache Spark - Computerphile

Поділитися
Вставка
  • Опубліковано 27 сер 2024
  • Analysing big data stored on a cluster is not easy. Spark allows you to do so much more than just MapReduce. Rebecca Tickle takes us through some code.
    / computerphile
    / computer_phile
    This video was filmed and edited by Sean Riley.
    Computer Science at the University of Nottingham: bit.ly/nottsco...
    Computerphile is a sister project to Brady Haran's Numberphile. More at www.bradyharan.com

КОМЕНТАРІ • 71

  • @notangryjustdismayed
    @notangryjustdismayed 5 років тому +1104

    note to the editor: please stop cutting away from the code so quickly. we're trying to follow along in the code based on what she's saying. at that moment, we don't need to cut back to the shot of her face. we can still hear her voice in the voiceover.

    • @SilentScream321
      @SilentScream321 5 років тому +48

      I think the time the code was displayed when she went trough each line was quite sufficient. The code is very readable (except for the typo where "words" suddenly became "splitlines") and reading the code while she explains would most likely on distract you from the explanation she is giving IMHO. If you are looking for a more practical solution i would recommend you to just pause the video and read the code before she explains it step by step.

    • @foorack
      @foorack 5 років тому +75

      Fully agree. The quick switching was very annoying when trying to read the code. Also would be helpful if the editor could highlight the active line she is talking about.

    • @trotterdotpoulpe
      @trotterdotpoulpe 5 років тому +2

      Yeah thank you.

  • @Hourai
    @Hourai 5 років тому +86

    The RDD API is outmoded as of Spark 2.0 and in almost every use case you should be using the Dataset API. You lose out on a lot of improvements and optimizations using RDDs instead of Datasets.

  • @Gooberpatrol66
    @Gooberpatrol66 5 років тому +232

    I understood some of those words.

  • @Technomancr
    @Technomancr 5 років тому +111

    Can you do Apache Kafka next? How do they compare?

  • @0xIAMROOT
    @0xIAMROOT 5 років тому +12

    ahh.. so refreshing after taking a week break from dev work and staying away from non dev topics. Lol, I love our field. Like music to my ears

  • @Bolt6265
    @Bolt6265 5 років тому +93

    pretty sure theres a typo in that code. "splitLines" doesnt exist and is probably supposed to be words.map(...) instead

  • @williamwurthmann1573
    @williamwurthmann1573 5 років тому +16

    Thank you for teaching an old man new things.

  • @tablit.
    @tablit. 3 роки тому +4

    Wow congrats on the content. You were able to explain it in a concise, yet logical and detailed way. nice

  • @alexkompos1735
    @alexkompos1735 5 років тому +11

    These data ones are really good! Keep them coming!

  • @recklessroges
    @recklessroges 5 років тому +16

    Is there any meta analysis on the usefulness of bigdata analysis? How often do jobs get run that either produce no meaningful data or don't produce any statistically significant data?

  • @tackline
    @tackline 5 років тому +9

    A great example of how programming languages are a reasonably efficient mechanism to communicate sections of program and how natural language really is not.

  • @m13m
    @m13m 5 років тому +69

    Brady Please make a video on Kubernetes

  • @xakkep9000
    @xakkep9000 5 років тому +5

    It's so clear and easy after the explanation! I will be waiting for more vids about clustering and distributed computing)

  • @KurtSchwind
    @KurtSchwind 5 років тому +14

    She refers to an early example. Did I miss that video? Otherwise, nicely done. Love learning about distributed computing.

    • @king4aday4aday
      @king4aday4aday 5 років тому +10

      Search for MapReduce on Computerphile

  • @MJ-em_jay
    @MJ-em_jay 5 років тому +6

    More of these, please. More big data.

  • @nO_d3N1AL
    @nO_d3N1AL 5 років тому +8

    For anyone interested, although the documentation is awful for Apache Flink and it doesn't support Java versions beyond 8, it at least lets you do setup on each node. Spark does not have any functionality for running one-time setup on each node, which makes it infeasible for many use cases. These distributed processing frameworks are quite opinionated and if you're not doing word count or streaming data from one input stream to another with very simple stateless transformations in between you'll find little in the documentation or functionality. They're not really designed for use cases where you have a parallel program with a fixed size data source known in advance and want to scale it up as you would by adding more threads, but more for continuous data processing.

  • @Mmouse_
    @Mmouse_ 5 років тому +28

    She's damn good at explaining and easy to listen to, any plans of having her host other episodes?
    (sorry for "her" I don't know her name).

  • @Xakriss
    @Xakriss 5 років тому +134

    feels like this video is four years too late ... :-/

  • @PaulSukys
    @PaulSukys 5 років тому +7

    typo in line 32 for using `splitLines` instead of `word`?

  • @michaelebbs6035
    @michaelebbs6035 Рік тому +3

    Computerphile will be excited to learn that tripods exist.

  • @draakisback
    @draakisback 5 років тому +25

    Good old Scala.

  • @Alex55555
    @Alex55555 5 років тому +2

    I wish she also talked a little about Spark's ability to deal with data streams

  • @knowntoache
    @knowntoache 3 місяці тому

    yeah vertical scaling and modular based data handing similar Hadoop ,Hive. framework library.

  • @michael-h95
    @michael-h95 5 років тому +2

    Really interesting video! I have done some MapReduce before, but I haven’t came across Apache Spark

  • @tolgakarahan
    @tolgakarahan 3 роки тому

    Great explanations. Of course there are many things going on behind the scenes, but good overview.

  • @aimanal-fatih386
    @aimanal-fatih386 5 років тому +2

    its bit silly but i cant understand 100% because english isnt my first language , hope someone could add english subs on every this channel videos because i found computerphile videos are easy to understanding because excellent explanation

  • @christernilsson1
    @christernilsson1 5 років тому +2

    Please give time measurements comparing single node with multi node execution. What is the overhead?

  • @adriansrealm
    @adriansrealm 5 років тому +5

    Where are the extra bits?

  • @sameerakhatoon9508
    @sameerakhatoon9508 3 місяці тому

    can anyone please suggest books to learn about distributed systems?

  • @jimmycheong7970
    @jimmycheong7970 5 років тому +2

    Thank you so much. This was an incredible explanation

  • @ZachBora
    @ZachBora 5 років тому +1

    woohooo rebecca is back

  • @RonaldSVM
    @RonaldSVM 5 років тому

    Sorry for redundancy, just verifying my understanding. Do I understand it correctly that (when running this example in a cluster) collect runs the 'reduceByKey' against the results on each node, and then reduces to a final result. Say on Node 1 I have count of word 'something' = 5 , on Node 2 I have count of word 'something' = 3, then collect combines from those two nodes into a count of 'something' = 8, And so on...?

  • @Kadderin
    @Kadderin 5 років тому +1

    Was so excited to see this posted :) I'm a Cassandra professional.

  • @DroisKargva
    @DroisKargva Рік тому

    "RDD is basically an array distributed across the cluster" - genius

  • @p.z.8355
    @p.z.8355 3 роки тому

    What is the architectural difference between spark and map reduce ?

  • @MisterPotatoHands
    @MisterPotatoHands 5 років тому +1

    What programming language is she using??

  • @Jlr297
    @Jlr297 5 років тому

    Thank you for the great summary.

  • @WaqasAliAbbasi10
    @WaqasAliAbbasi10 3 роки тому

    This was very helpful

  • @zugletsmith5082
    @zugletsmith5082 5 років тому

    really good summary thankyou!

  • @billoddy5637
    @billoddy5637 5 років тому +2

    Do a video explaining AES!

  • @BeCurieUs
    @BeCurieUs 5 років тому +32

    Ohhh, she is using VSCode! I love VS Code :D

  • @mathematicalninja2756
    @mathematicalninja2756 5 років тому

    Great video

  • @M3t4lstorm
    @M3t4lstorm 5 років тому +3

    Would have liked it to be a bit more in-depth and technical, was too high level.

  • @jameslawson1
    @jameslawson1 5 років тому +2

    The first time I learned about Apache Spark, I was looking up documentation for another framework named Spark.

  • @mohamedthi0une198
    @mohamedthi0une198 5 років тому

    I really love your videos I would like to know if it is possible to watch them in French or at least with subtitles so that we can follow

  • @fluffyfloof9267
    @fluffyfloof9267 5 років тому +11

    1:19 Floppy drives? xD LOL

  • @Jarza
    @Jarza 5 років тому

    Interesting video!

  • @LucasZawacki
    @LucasZawacki 5 років тому +3

    Good video :)

  • @BigDataLogin
    @BigDataLogin 2 роки тому

    thanks

  • @sillybuttons925
    @sillybuttons925 5 років тому

    More like this!!!!!!

  • @hanelyp1
    @hanelyp1 5 років тому

    Looks like you could do a search engine in that.

  • @gajiodea
    @gajiodea 5 років тому

    Apache Flink next please

  • @lztverygood
    @lztverygood 3 роки тому +1

    content is nice, well explained.
    BUT
    the camera and editor are so bad.
    We are not here for a documentary, the computer shot from her shoulder is completely useless and distracting, if you want to use your cuts, use something like the picture in picture but please let us focus on the code!!

  • @oldbootz
    @oldbootz 5 років тому

    Thanks, nice vid.

  • @christernilsson1
    @christernilsson1 5 років тому

    Please show some drawings or animations of data going back and forth between the noded.

  • @LeJalapenos
    @LeJalapenos 5 років тому +1

    Hi friends!

  • @DmitryShultz
    @DmitryShultz 5 років тому +1

    @3:16 line 12 is wrong. Great review 👍 otherwise!

  • @SlackWi
    @SlackWi 5 років тому

    I study bioinformatics handling txt files many gigabytes in size and this could be so handy

  • @christianlamprecht9860
    @christianlamprecht9860 5 років тому +4

    First? Does this matter? No. Go build a cluster and be happier!

  • @vijeenroshponmaniwalson490
    @vijeenroshponmaniwalson490 Рік тому

    What useless video : - slow down, explain slow , assume audience know not much

  • @gegdim9307
    @gegdim9307 5 років тому +1

    00000001

  • @benjaminmellingen5340
    @benjaminmellingen5340 5 років тому

    totally lost me 3 min into this video.

  • @CJWest08
    @CJWest08 5 років тому

    She's mumbling in the beginning... can't really hear her (American-born English speaker)

  • @veggiet2009
    @veggiet2009 5 років тому

    First? sorry, I've never watched a video when it said it was posted "25 seconds" ago, and so it would be weird if I were actually first.
    Good Video, I feel like I stink at data analysis, but I'm more experienced than most in my organization so...

  • @UKFbass
    @UKFbass 5 років тому

    21st!!!

  • @undifini
    @undifini 5 років тому

    first!

  • @oussemamhiri9713
    @oussemamhiri9713 5 років тому

    First 😂