Code Monkey home page Code Monkey logo

Comments (7)

aggFTW avatar aggFTW commented on June 5, 2024

This is true for other errors (when Livy returns 502 for example). We need to surface all of them.

from sparkmagic.

msftristew avatar msftristew commented on June 5, 2024

Good point. We already have the machinery in place to catch and display errors when Livy times out so we should leverage the same strategy for these.

from sparkmagic.

aggFTW avatar aggFTW commented on June 5, 2024

Ricky, will you tackle other errors too?

from sparkmagic.

msftristew avatar msftristew commented on June 5, 2024

I haven't seen any other errors. I did a quick test by pointing the magics to an incorrect URL and the error I got for that was sensible.

I don't know how to force Livy to return a 502 to me so I couldn't test that scenario in particular.

from sparkmagic.

aggFTW avatar aggFTW commented on June 5, 2024

Just go to a cluster and shut Livy down. Gateway will return 502.
Or point it to a non-Spark cluster.

Was the error you got surfaced to the user? In the past, I saw it not being surfaced to the user (just displayed in shell) and cell never returned.

from sparkmagic.

msftristew avatar msftristew commented on June 5, 2024

Let me give it a shot

from sparkmagic.

msftristew avatar msftristew commented on June 5, 2024

The kernel doesn't crash when the gateway returns 502. (This makes sense since we only try to connect to Livy after running the first cell.)

I am going to close this issue because I don't think any of us know of any situations where the error still happens.

from sparkmagic.

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.