wangyang0918 commented on a change in pull request #18450:
URL: https://github.com/apache/flink/pull/18450#discussion_r807481237
##########
File path: docs/content.zh/docs/ops/debugging/debugging_classloading.md
##########
@@ -61,22 +61,22 @@ created for an job/application and will contain the
job/application's jar files.
-->
-**Docker / Kubernetes Sessions**
+**Per-Job Mode (Yarn)**
Review comment:
```suggestion
**Per-Job Mode (deprecated) (Yarn)**
```
##########
File path: docs/content/docs/deployment/resource-providers/yarn.md
##########
@@ -253,7 +253,14 @@ The configuration parameter for specifying the REST
endpoint port is [rest.bind-
### User jars & Classpath
-By default Flink will include the user jars into the system classpath when
running a single job. This behavior can be controlled with the
[yarn.per-job-cluster.include-user-jar]({{< ref "docs/deployment/config"
>}}#yarn-per-job-cluster-include-user-jar) parameter.
+**Session Mode**
+
+When deploying Flink with Session Mode on Yarn, only the JAR file specified in
startup command will be recognized as user-jars and included into user
classpath.
+
+**PerJob Mode & Application Mode**
+
+When deploying Flink with PerJob/Application Mode on Yarn, the JAR file
specified in startup command and all JAR files in Flink's `usrlib` folder will
be recognized as user-jars.
+By default Flink will include the user-jars into the system classpath when
running a single job. This behavior can be controlled with the
[yarn.classpath.include-user-jar]({{< ref "docs/deployment/config"
>}}#yarn-classpath-include-user-jar) parameter.
Review comment:
```suggestion
By default Flink will include the user-jars into the system classpath. This
behavior can be controlled with the [yarn.classpath.include-user-jar]({{< ref
"docs/deployment/config" >}}#yarn-classpath-include-user-jar) parameter.
```
##########
File path: docs/content/docs/ops/debugging/debugging_classloading.md
##########
@@ -61,23 +61,22 @@ created for an job/application and will contain the
job/application's jar files.
-->
-**Docker / Kubernetes Sessions**
+**Per-Job Mode (Yarn)**
Review comment:
```suggestion
**Per-Job Mode (deprecated) (Yarn)**
```
##########
File path: docs/content.zh/docs/deployment/resource-providers/yarn.md
##########
@@ -237,7 +237,14 @@ The configuration parameter for specifying the REST
endpoint port is [rest.bind-
### User jars & Classpath
-By default Flink will include the user jars into the system classpath when
running a single job. This behavior can be controlled with the
[yarn.per-job-cluster.include-user-jar]({{< ref "docs/deployment/config"
>}}#yarn-per-job-cluster-include-user-jar) parameter.
+**Session Mode**
+
+When deploying Flink with Session Mode on Yarn, only the JAR file specified in
startup command will be recognized as user-jars and included into user
classpath.
+
+**PerJob Mode & Application Mode**
+
+When deploying Flink with PerJob/Application Mode on Yarn, the JAR file
specified in startup command and all JAR files in Flink's `usrlib` folder will
be recognized as user-jars.
+By default Flink will include the user-jars into the system classpath when
running a single job. This behavior can be controlled with the
[yarn.classpath.include-user-jar]({{< ref "docs/deployment/config"
>}}#yarn-classpath-include-user-jar) parameter.
Review comment:
```suggestion
By default Flink will include the user-jars into the system classpath. This
behavior can be controlled with the [yarn.classpath.include-user-jar]({{< ref
"docs/deployment/config" >}}#yarn-classpath-include-user-jar) parameter.
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]