Spark Application | Setup IntelliJ IDE with SBT - Spark with Scala | Session -1 | LearntoSpark

Поделиться
HTML-код
  • Опубликовано: 2 фев 2025

Комментарии • 47

  • @HarshSharma-cq9um
    @HarshSharma-cq9um 4 года назад +2

    Best video ..it works ..Most of the setup has issue with version mismatch: the way it showed maven spark repository guidance was amazing .. thanks a lot

  • @sivaagarwal4799
    @sivaagarwal4799 4 года назад

    The only tutorial which actually worked for me in MAC...Thanks a lot...

  • @salmansayyad4522
    @salmansayyad4522 4 года назад

    Thanks a lot bro, that heap size error was going to kill me! saved lots of time.

  • @prakashshinde7529
    @prakashshinde7529 3 года назад

    very good tutorial for setup spark in intellij

  • @ryas8360
    @ryas8360 3 года назад

    Hey Azar, Good tutorial, this is exact what i am looking for. Thanks.

  • @ranvijaymehta
    @ranvijaymehta Год назад +1

    Thank you so much Sir.. Great help sir ... Garib aadmi ka bhala ho gaya

  • @bikashkaran3534
    @bikashkaran3534 3 года назад +1

    For me the "Run" is not coming . Stuck here at this point .

  • @elbezz
    @elbezz 4 года назад +1

    thank you very much, that was very helpful....well explained

  • @shruthiv463
    @shruthiv463 4 года назад

    Thanks a lot Sir! You explained it the best way possible!!!

  • @VijayKumar-mc2wo
    @VijayKumar-mc2wo 2 года назад

    Such a neat explanation, Thanks sir

  • @micahwendorf8808
    @micahwendorf8808 2 года назад

    You are amazing. This video helped me so much.

  • @techieKundan
    @techieKundan 2 года назад

    How to write template for main method
    Is there any shortcut key or do we have to define anywhere?

  • @hasnainmotagamwala2608
    @hasnainmotagamwala2608 4 года назад +2

    Great tutorial.....
    I would really like a tutorial to make one jar in intellij with sbt and run it in cluster mode on VM machines.
    I tried many forums and channels but making it with sbt is quite tricky specially with 1.3.10.
    If you can make a video on that, it would be a big help.
    Thanks in advance!!!

  • @saifeddinebouazizi5654
    @saifeddinebouazizi5654 3 года назад +1

    i didn't find a problem setting a sparcontext on intellij idea ide , but i have a problem setting a sparsession and SQLspark ...
    can u help please ?

    • @AzarudeenShahul
      @AzarudeenShahul  3 года назад

      Hope u followed the same steps in video.. can you send me the error message and how u try to achieve.. will try to help you.

    • @saifeddinebouazizi5654
      @saifeddinebouazizi5654 3 года назад

      @@AzarudeenShahul the Error is "value read is not a member of org.apache.spark.SparkContext''
      and i made sure to put in build.sbt these dependencies :
      libraryDependencies += "org.apache.spark" %% "spark-core" % "2.4.8"
      libraryDependencies += "org.apache.spark" %% "spark-sql" % "2.4.8"
      the scala Version is "2.11.12" ....
      Thanks in advance

    • @AzarudeenShahul
      @AzarudeenShahul  3 года назад

      Please provide the code on how u initiating spark session

  • @chalapathikoneni
    @chalapathikoneni 3 года назад

    Hi,
    Do you have videos for creating a jar file and deploy on to spark cluster?

  • @premak3237
    @premak3237 2 года назад

    Hi I am getting exception in thread main could not parse local

  • @sonalgundecha9481
    @sonalgundecha9481 2 года назад

    Could you please share one with maven?

  • @ramanaswamy9845
    @ramanaswamy9845 4 года назад +1

    Could you pls create a spark scala series to get started with for beginners. TIA.

    • @AzarudeenShahul
      @AzarudeenShahul  4 года назад +1

      Sure, in this session, we will try to cover all spark scala topic with demo..
      Please do share with yours friends :)

    • @ramanaswamy9845
      @ramanaswamy9845 4 года назад +1

      @@AzarudeenShahul one more thing, also pls arrange the videos as a playlist with respect to the topic. That makes things easy.

    • @shubhamrokade4964
      @shubhamrokade4964 4 года назад

      @Azarudeen Shahul
      Sir ur Tutorial is really helpful.. It's help How to deal with Complex Scenrio..
      I Enjoy ur Tutorial..Wait for more..!

  • @timwilliamson7704
    @timwilliamson7704 3 года назад

    Worked great.. thank you!

  • @aagamasjain5173
    @aagamasjain5173 8 месяцев назад

    How can I resolve this error : Error: Could not find or load main class Dsbt.gigahorse=false

  • @palanivel4026
    @palanivel4026 4 года назад

    am getting below error while running the firstdemo project
    org.apache.spark.SparkContext.type does not take parameters
    val sc=SparkContext(conf)

    • @daffdaff4592
      @daffdaff4592 2 года назад

      I hope you figured it out if not you should try *val sc = new SparkContext(conf)*

  • @madhusmitasahoo4481
    @madhusmitasahoo4481 4 года назад +1

    I am getting unknown articraft error while adding dependencies. Can anyone please help me with this?

    • @AzarudeenShahul
      @AzarudeenShahul  4 года назад

      Can you please share the screenshot of error message along with build.sbt to my mail.

  • @sumantaghosh9299
    @sumantaghosh9299 3 года назад

    Hi azar .... could u pls make a video ...on SBT connection ..how to create a spark nd run it on cluster

  • @yeementhvirutkar6990
    @yeementhvirutkar6990 2 года назад

    Unrecognized VM option 'CMSClassUnloadingEnabled'
    Error: Could not create the Java Virtual Machine.
    Error: A fatal exception has occurred. Program will exit.

  • @nehachopade1742
    @nehachopade1742 4 года назад

    Can anyone help me to sort the below error-
    Could not locate executable null\bin\winutils.exe in the Hadoop binaries.

    • @AzarudeenShahul
      @AzarudeenShahul  4 года назад +1

      Are you trying to setup Spark in intelliji IDE ??

    • @nehachopade1742
      @nehachopade1742 4 года назад +2

      @@AzarudeenShahul yes...After installing, when I am trying to execute the Spark Program in intellj, It's showing me the above errors!
      I have tried setting the environment variables also but unable to fix it!!

    • @AzarudeenShahul
      @AzarudeenShahul  4 года назад

      unable to locate Hadoop binaries , pls try the below step
      --> Download winutils.exe from public-repo-1.hortonworks.com/hdp-win-alpha/winutils.exe.
      --> SetUp your HADOOP_HOME environment variable on the OS level or programmatically: using below command
      System.setProperty("hadoop.home.dir", "full path to the folder with winutils");
      let me know if it works or not

  • @RanjeetKumar-tk6yx
    @RanjeetKumar-tk6yx 2 года назад

    I am getting Sync failed error..

  • @dinakarreddy897
    @dinakarreddy897 3 года назад

    Thank you so much bro❤️

  • @jaikishank
    @jaikishank 3 года назад

    Thanks a lot. That was a great video and guidance.After a long search could locate this source for my first IntelliJ IDE scala programme.
    I encountered error on Spark context and changed the programme a bit (as below) and got the result after downgrading to SPARK 2.4.7 ,SBT -1.4.1 ,SCALA 2.11.12 on IntelliJ 2021.1 x64
    Code:
    import org.apache.spark.{SparkConf,SparkContext}
    import org.apache.spark.rdd.RDD
    object firstdemo {
    def main(args :Array[String]):Unit ={
    //val conf = new SparkConf().setMaster("local[*]").setAppName("FirstDemo")
    //val sc = SparkContext(conf)
    val sc = new SparkContext("local[*]",appName = "FirstDemo")
    val rdd =sc.parallelize(Array(5,10,30))
    rdd.reduce(_+_)
    println(rdd.reduce(_+_))
    }
    }

  • @namanjoshi6383
    @namanjoshi6383 3 года назад

    Please help here, I did exactly same as mentioned in video, but getting error
    Error:(2, 8) ScalaDe is already defined as object ScalaDe
    object ScalaDe {
    Code:-
    import org.apache.spark.{SparkConf,SparkContext}
    object ScalaDe {
    def main(args: Array[String]): Unit = {
    val conf = new SparkConf().setMaster("local[*]").setAppName("scalade")
    val sc = new SparkContext(conf)
    val rdd = sc.parallelize(Array(10,20,30))
    println(rdd.reduce(_+_))
    }
    }

  • @ranvijaymehta
    @ranvijaymehta Год назад

    Today I have subscribed