InfoSphere/Apache Kyuubi 1.3.1-incubating/ 返回书籍
Develop Tools

5. Debugging Kyuubi

qianmoQqianmoQ· 更新于 2026-09-20· 阅读 2 分钟· 0 次阅读

登录后可跨设备保存划线和私人笔记登录

Debugging Kyuubi

You can use the Java Debug Wire Protocol to debug Kyuubi
with your favorite IDE tool, e.g. Intellij IDEA.

Debugging Server

We can configure the JDWP agent in KYUUBI_JAVA_OPTS for debugging.

For example,

KYUUBI_JAVA_OPTS=-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=5005 \
bin/kyuubi start

In the IDE, you set the corresponding parameters(host&port) in debug configurations, for example,

Debugging Apps

  • Spark Driver
spark.driver.extraJavaOptions   -agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=5005
  • Spark Executor
spark.executor.extraJavaOptions   -agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=5005

评论

登录后参与评论

正在加载评论…