【问题标题】:Is it possible to see some error output in Zeppelin paragraphs?是否可以在 Zeppelin 段落中看到一些错误输出?
【发布时间】:2019-02-04 00:28:14
【问题描述】:

我安装了 Zeppelin,并且正在使用 Spark 解释器。但是,如果我有语法或运行时错误,除了“错误”字样之外,我找不到任何详细信息。

例如,我有这样的代码:

而且我只在右上角看到“错误”字样。

在我自己的电脑上,scala 会打印类似的东西:

$ 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

我使用的是 0.7.3 版。

【问题讨论】:

    标签: apache-spark apache-zeppelin


    【解决方案1】:

    您需要在Interpreter 选项卡中将zeppelin.spark.printREPLOutput 设置为true

    这样做的缺点是它会显示 REPL 显示的所有内容。

    【讨论】:

      猜你喜欢
      • 2019-06-12
      • 1970-01-01
      • 1970-01-01
      • 2020-04-20
      • 1970-01-01
      • 2021-12-20
      • 1970-01-01
      • 1970-01-01
      • 2020-09-07
      相关资源
      最近更新 更多