Is it possible to see some error output in Zeppelin paragraphs?

廉价感情. 提交于 2019-12-13 20:09:07

问题


I have a Zeppelin installation and am using the Spark interpreter. However, if I have a syntax or runtime error, I cannot find any details except the "Error" word.

For example, I have this code:

And I only see the "ERROR" word in the top-right corner.

In my own computer, scala would instead print something like:

$ scala example.sc
./example.sc:1: error: recursive value a needs type
val a = this is an error
             ^
.example.sc:1: error: not found: value an
val a = this is an error
                ^
two errors found

I'm using version 0.7.3.


回答1:


You will need to set zeppelin.spark.printREPLOutput to true in the Interpreter tab.

The downfall of this is that it will show everything that REPL shows.



来源:https://stackoverflow.com/questions/52073664/is-it-possible-to-see-some-error-output-in-zeppelin-paragraphs

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!