[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 <programgeek@163.com>
Signed-off-by: Kent Yao <yao@apache.org>
(cherry picked from commit 2486c5dff3)
Signed-off-by: Kent Yao <yao@apache.org>
This commit is contained in:
parent
9ecf135aa1
commit
e5f9020506
@ -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
|
||||
```
|
||||
Loading…
Reference in New Issue
Block a user