mirror of
https://github.com/apache/zeppelin
synced 2026-05-24 09:38:26 +00:00
more exception handeling
This commit is contained in:
parent
1e184659f1
commit
200e715d39
3 changed files with 3 additions and 0 deletions
|
|
@ -76,6 +76,7 @@ public class LivyPySparkInterpreter extends Interpreter {
|
|||
"pyspark")
|
||||
);
|
||||
} catch (Exception e) {
|
||||
LOGGER.error("Exception in LivyPySparkInterpreter while interpret ", e);
|
||||
return new InterpreterResult(InterpreterResult.Code.ERROR, e.getMessage());
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -76,6 +76,7 @@ public class LivySparkRInterpreter extends Interpreter {
|
|||
"sparkr")
|
||||
);
|
||||
} catch (Exception e) {
|
||||
LOGGER.error("Exception in LivySparkRInterpreter while interpret ", e);
|
||||
return new InterpreterResult(InterpreterResult.Code.ERROR, e.getMessage());
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -80,6 +80,7 @@ public class LivySparkSQLInterpreter extends Interpreter {
|
|||
);
|
||||
livyHelper.initializeSpark(interpreterContext, userSessionMap);
|
||||
} catch (Exception e) {
|
||||
LOGGER.error("Exception in LivySparkSQLInterpreter while interpret ", e);
|
||||
return new InterpreterResult(InterpreterResult.Code.ERROR, e.getMessage());
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue