Marcin Mejran created ZEPPELIN-4150:
---------------------------------------
Summary: Livy interpreter session auto restart doesn't work with
livy 0.6.0
Key: ZEPPELIN-4150
URL: https://issues.apache.org/jira/browse/ZEPPELIN-4150
Project: Zeppelin
Issue Type: Bug
Affects Versions: 0.8.1, 0.8.0
Reporter: Marcin Mejran
Livy 0.6.0 changed the error messages from being text strings to being json.
Specifically the error for a missing session went from `"Session '7' not
found."` to `\{"msg":"Session '7' not found."}`. There is a hard coded regex
match in the BaseLivyInterpreter class that now fails to match. As a result
instead of a session auto restarting the following error message is displayed:
"No rest api found for
http://spark-livy.spark-analytics.svc.cluster.local:8080/sessions/7/statements,
404."
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)