Hydrospheredata / mist

Serverless proxy for Spark cluster
http://hydrosphere.io/mist/
Apache License 2.0
326 stars 68 forks source link

Job invocation - handle java.lang.Error #501

Closed dos65 closed 6 years ago

dos65 commented 6 years ago

Currently, a job is run on a separated thread and its result is wrapped into Future. If any of java.lang.Error happens, mist loses information about it because of Promise behavior (it handle them and converts into BoxedError without any other additional information). For example - conflict in classpath leads to java.lang.LinkageError and it would be useful to see these errors.