This is an automated email from the ASF dual-hosted git repository.
yao pushed a commit to branch branch-1.5
in repository https://gitbox.apache.org/repos/asf/incubator-kyuubi.git
The following commit(s) were added to refs/heads/branch-1.5 by this push:
new e5f9020 [KYUUBI #2089] Add debugging instructions for Flink engine
e5f9020 is described below
commit e5f90205061162dd81263520bab944b4a17497eb
Author: SteNicholas <[email protected]>
AuthorDate: Fri Mar 11 10:21:20 2022 +0800
[KYUUBI #2089] Add debugging instructions for Flink engine
### _Why are the changes needed?_
Add debugging instructions for Flink engine.
### _How was this patch tested?_
- [ ] Add some test cases that check the changes thoroughly including
negative and positive cases if possible
- [ ] Add screenshots for manual tests if appropriate
- [x] [Run
test](https://kyuubi.apache.org/docs/latest/develop_tools/testing.html#running-tests)
locally before make a pull request
Closes #2098 from SteNicholas/KYUUBI-2089.
Closes #2089
08189b85 [SteNicholas] [KYUUBI #2089] Add debugging instructions for flink
engine
Authored-by: SteNicholas <[email protected]>
Signed-off-by: Kent Yao <[email protected]>
(cherry picked from commit 2486c5dff37f9c1c09d48fa1b5fd038cf4e423c3)
Signed-off-by: Kent Yao <[email protected]>
---
docs/develop_tools/debugging.md | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
diff --git a/docs/develop_tools/debugging.md b/docs/develop_tools/debugging.md
index b6b316e..8e681f4 100644
--- a/docs/develop_tools/debugging.md
+++ b/docs/develop_tools/debugging.md
@@ -46,6 +46,8 @@ In the IDE, you set the corresponding parameters(host&port)
in debug configurati
## Debugging Apps
+### Spark Engine
+
- Spark Driver
```bash
@@ -53,6 +55,39 @@ spark.driver.extraJavaOptions
-agentlib:jdwp=transport=dt_socket,server=y,susp
```
- Spark Executor
+
```bash
spark.executor.extraJavaOptions
-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=5005
+```
+
+### Flink Engine
+
+- Flink Processes
+
+```bash
+env.java.opts
-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=5005
+```
+
+- Flink JobManager
+
+```bash
+env.java.opts.jobmanager
-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=5005
+```
+
+- Flink TaskManager
+
+```bash
+env.java.opts.taskmanager
-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=5005
+```
+
+- Flink HistoryServer
+
+```bash
+env.java.opts.historyserver
-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=5005
+```
+
+- Flink Client
+
+```bash
+env.java.opts.client
-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=5005
```
\ No newline at end of file