Skip to content

Commit e5f9020

Browse files
SteNicholasyaooqinn
authored andcommitted
[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 08189b8 [SteNicholas] [KYUUBI #2089] Add debugging instructions for flink engine Authored-by: SteNicholas <programgeek@163.com> Signed-off-by: Kent Yao <yao@apache.org> (cherry picked from commit 2486c5d) Signed-off-by: Kent Yao <yao@apache.org>
1 parent 9ecf135 commit e5f9020

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

docs/develop_tools/debugging.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,48 @@ In the IDE, you set the corresponding parameters(host&port) in debug configurati
4646

4747
## Debugging Apps
4848

49+
### Spark Engine
50+
4951
- Spark Driver
5052

5153
```bash
5254
spark.driver.extraJavaOptions -agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=5005
5355
```
5456

5557
- Spark Executor
58+
5659
```bash
5760
spark.executor.extraJavaOptions -agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=5005
61+
```
62+
63+
### Flink Engine
64+
65+
- Flink Processes
66+
67+
```bash
68+
env.java.opts -agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=5005
69+
```
70+
71+
- Flink JobManager
72+
73+
```bash
74+
env.java.opts.jobmanager -agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=5005
75+
```
76+
77+
- Flink TaskManager
78+
79+
```bash
80+
env.java.opts.taskmanager -agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=5005
81+
```
82+
83+
- Flink HistoryServer
84+
85+
```bash
86+
env.java.opts.historyserver -agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=5005
87+
```
88+
89+
- Flink Client
90+
91+
```bash
92+
env.java.opts.client -agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=5005
5893
```

0 commit comments

Comments
 (0)