Git Product home page Git Product logo

Comments (4)

lresende avatar lresende commented on May 15, 2024 1

I have a possible workaround to force sparkContext creation with proper configuration from inside Toree just when in Yarn cluster mode. Will cleanup code and provide a Toree PR tomorrow.

from enterprise_gateway.

LK-Tmac1 avatar LK-Tmac1 commented on May 15, 2024

Met a similar issue with the Toree Launcher when running Toree Magic with Spark SQL from tutorial:

Name: org.apache.spark.SparkException
Message: Job aborted due to stage failure: Task 0 in stage 1.0 failed 4 times, most recent failure: 
Lost task 0.3 in stage 1.0 (TID 7, nier4.fyre.ibm.com, executor 1): 
java.lang.ClassCastException: cannot assign instance of scala.collection.immutable.List$SerializationProxy 
to field org.apache.spark.rdd.RDD.org$apache$spark$rdd$RDD$$dependencies_ 
of type scala.collection.Seq in instance of org.apache.spark.rdd.MapPartitionsRDD

from enterprise_gateway.

lresende avatar lresende commented on May 15, 2024

Jars deployed in our internal repositories. Waiting for PR to be merged on Toree master.

from enterprise_gateway.

LK-Tmac1 avatar LK-Tmac1 commented on May 15, 2024

Tried the same codes inside Spark-shell on my HDP cluster (spark version 2.1.1.2.6.1.0-129), everything is fine.

Don't know if this is relevant, but someone already asked this on JIRA two years ago. And one possible reason might be the default Spark version toree needs for build is 2.0.0 but on our cluster (at least in my case) the spark version is 2.1.1.

Link of comment and JIRA: https://issues.apache.org/jira/browse/SPARK-9219?focusedCommentId=14635088&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14635088

from enterprise_gateway.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.