You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2020/09/24 06:45:15 UTC
[GitHub] [flink] SteNicholas opened a new pull request #13471: [FLINK-19124][datastream] Some JobClient methods are not ergonomic, require ClassLoader argument
SteNicholas opened a new pull request #13471:
URL: https://github.com/apache/flink/pull/13471
## What is the purpose of the change
*Both `getAccumulators()` and `getJobExecutionResult()` result require the user to give a `ClassLoader`. `JobClient` created in a context could get the user-code `ClassLoader` by `PipelineExecutor`. `ClassLoader` parameter should be removed from those methods and require that users could give the user-code class loader when constructing a `JobClient` themselves for an already running job.*
## Brief change log
- *`getAccumulators()` and `getJobExecutionResult()` of `JobClient` remove the user-code `ClassLoader` parameter.*
- *Constructor of `ClusterClientJobClientAdapter`, `EmbeddedJobClient`, `PerJobMiniClusterJobClient` and `WebSubmissionJobClient` for`JobClient` implementations add `ClassLoader` parameter.*
- *Caller of `getAccumulators()` and `getJobExecutionResult()` removes the user-code `ClassLoader` adapt to the modified API of `JobClient`.*
## Verifying this change
- *Test cases related to `getAccumulators()` and `getJobExecutionResult()` of `JobClient` could verify the case that removes the user-code `ClassLoader` parameter.*
## Does this pull request potentially affect one of the following parts:
- Dependencies (does it add or upgrade a dependency): (yes / **no**)
- The public API, i.e., is any changed class annotated with `@Public(Evolving)`: (**yes** / no)
- The serializers: (yes / **no** / don't know)
- The runtime per-record code paths (performance sensitive): (yes / **no** / don't know)
- Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn/Mesos, ZooKeeper: (yes / **no** / don't know)
- The S3 file system connector: (yes / **no** / don't know)
## Documentation
- Does this pull request introduce a new feature? (yes / **no**)
- If yes, how is the feature documented? (**not applicable** / docs / JavaDocs / not documented)
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] aljoscha commented on pull request #13471: [FLINK-19124][datastream] Some JobClient methods are not ergonomic, require ClassLoader argument
Posted by GitBox <gi...@apache.org>.
aljoscha commented on pull request #13471:
URL: https://github.com/apache/flink/pull/13471#issuecomment-698895423
Good work! I merged this. 👍
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] flinkbot edited a comment on pull request #13471: [FLINK-19124][datastream] Some JobClient methods are not ergonomic, require ClassLoader argument
Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #13471:
URL: https://github.com/apache/flink/pull/13471#issuecomment-698161948
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "1ec1d08fef3193159eaddf239a5b0d0302226d02",
"status" : "DELETED",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=6889",
"triggerID" : "1ec1d08fef3193159eaddf239a5b0d0302226d02",
"triggerType" : "PUSH"
}, {
"hash" : "c7a539b5582c927dce191b8f937db1912abcb449",
"status" : "SUCCESS",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=6910",
"triggerID" : "c7a539b5582c927dce191b8f937db1912abcb449",
"triggerType" : "PUSH"
}, {
"hash" : "56ba62dd0ca89a5037144d5401d9aee23a7caed2",
"status" : "PENDING",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=6929",
"triggerID" : "56ba62dd0ca89a5037144d5401d9aee23a7caed2",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* c7a539b5582c927dce191b8f937db1912abcb449 Azure: [SUCCESS](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=6910)
* 56ba62dd0ca89a5037144d5401d9aee23a7caed2 Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=6929)
<details>
<summary>Bot commands</summary>
The @flinkbot bot supports the following commands:
- `@flinkbot run travis` re-run the last Travis build
- `@flinkbot run azure` re-run the last Azure build
</details>
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] SteNicholas commented on a change in pull request #13471: [FLINK-19124][datastream] Some JobClient methods are not ergonomic, require ClassLoader argument
Posted by GitBox <gi...@apache.org>.
SteNicholas commented on a change in pull request #13471:
URL: https://github.com/apache/flink/pull/13471#discussion_r494681681
##########
File path: flink-clients/src/main/java/org/apache/flink/client/deployment/application/WebSubmissionJobClient.java
##########
@@ -43,7 +43,7 @@
private final JobID jobId;
- public WebSubmissionJobClient(final JobID jobId) {
+ public WebSubmissionJobClient(final JobID jobId, final ClassLoader userCodeClassloader) {
Review comment:
@aljoscha Yes, I would like to remove this unused `userCodeClassloader `.
##########
File path: flink-clients/src/main/java/org/apache/flink/client/deployment/application/executors/EmbeddedExecutorFactory.java
##########
@@ -79,9 +79,9 @@ public PipelineExecutor getExecutor(final Configuration configuration) {
return new EmbeddedExecutor(
submittedJobIds,
dispatcherGateway,
- jobId -> {
+ (jobId, userCodeClassloader) -> {
Review comment:
@aljoscha Sorry for this indentation missing, I have already updated this indentation.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] SteNicholas commented on pull request #13471: [FLINK-19124][datastream] Some JobClient methods are not ergonomic, require ClassLoader argument
Posted by GitBox <gi...@apache.org>.
SteNicholas commented on pull request #13471:
URL: https://github.com/apache/flink/pull/13471#issuecomment-698150390
@aljoscha I have already removed the user-code `ClassLoader` from `getAccumulators()` and `getJobExecutionResult()`, which `ClassLoader` could configure when `PipelineExecutor` executes. Could you please review this pull request?
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] SteNicholas removed a comment on pull request #13471: [FLINK-19124][datastream] Some JobClient methods are not ergonomic, require ClassLoader argument
Posted by GitBox <gi...@apache.org>.
SteNicholas removed a comment on pull request #13471:
URL: https://github.com/apache/flink/pull/13471#issuecomment-698150390
@aljoscha I have already removed the user-code `ClassLoader` from `getAccumulators()` and `getJobExecutionResult()`, which `ClassLoader` could configure when `PipelineExecutor` executes. Could you please review this pull request?
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] SteNicholas commented on pull request #13471: [FLINK-19124][datastream] Some JobClient methods are not ergonomic, require ClassLoader argument
Posted by GitBox <gi...@apache.org>.
SteNicholas commented on pull request #13471:
URL: https://github.com/apache/flink/pull/13471#issuecomment-698150390
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] flinkbot edited a comment on pull request #13471: [FLINK-19124][datastream] Some JobClient methods are not ergonomic, require ClassLoader argument
Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #13471:
URL: https://github.com/apache/flink/pull/13471#issuecomment-698161948
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "1ec1d08fef3193159eaddf239a5b0d0302226d02",
"status" : "PENDING",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=6889",
"triggerID" : "1ec1d08fef3193159eaddf239a5b0d0302226d02",
"triggerType" : "PUSH"
}, {
"hash" : "c7a539b5582c927dce191b8f937db1912abcb449",
"status" : "UNKNOWN",
"url" : "TBD",
"triggerID" : "c7a539b5582c927dce191b8f937db1912abcb449",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* 1ec1d08fef3193159eaddf239a5b0d0302226d02 Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=6889)
* c7a539b5582c927dce191b8f937db1912abcb449 UNKNOWN
<details>
<summary>Bot commands</summary>
The @flinkbot bot supports the following commands:
- `@flinkbot run travis` re-run the last Travis build
- `@flinkbot run azure` re-run the last Azure build
</details>
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] aljoscha closed pull request #13471: [FLINK-19124][datastream] Some JobClient methods are not ergonomic, require ClassLoader argument
Posted by GitBox <gi...@apache.org>.
aljoscha closed pull request #13471:
URL: https://github.com/apache/flink/pull/13471
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] flinkbot commented on pull request #13471: [FLINK-19124][datastream] Some JobClient methods are not ergonomic, require ClassLoader argument
Posted by GitBox <gi...@apache.org>.
flinkbot commented on pull request #13471:
URL: https://github.com/apache/flink/pull/13471#issuecomment-698150143
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] SteNicholas commented on a change in pull request #13471: [FLINK-19124][datastream] Some JobClient methods are not ergonomic, require ClassLoader argument
Posted by GitBox <gi...@apache.org>.
SteNicholas commented on a change in pull request #13471:
URL: https://github.com/apache/flink/pull/13471#discussion_r494681681
##########
File path: flink-clients/src/main/java/org/apache/flink/client/deployment/application/WebSubmissionJobClient.java
##########
@@ -43,7 +43,7 @@
private final JobID jobId;
- public WebSubmissionJobClient(final JobID jobId) {
+ public WebSubmissionJobClient(final JobID jobId, final ClassLoader userCodeClassloader) {
Review comment:
@aljoscha Yes, I would like to remove this unused `userCodeClassloader `.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] aljoscha commented on a change in pull request #13471: [FLINK-19124][datastream] Some JobClient methods are not ergonomic, require ClassLoader argument
Posted by GitBox <gi...@apache.org>.
aljoscha commented on a change in pull request #13471:
URL: https://github.com/apache/flink/pull/13471#discussion_r494385888
##########
File path: flink-clients/src/main/java/org/apache/flink/client/deployment/application/executors/EmbeddedExecutorFactory.java
##########
@@ -79,9 +79,9 @@ public PipelineExecutor getExecutor(final Configuration configuration) {
return new EmbeddedExecutor(
submittedJobIds,
dispatcherGateway,
- jobId -> {
+ (jobId, userCodeClassloader) -> {
Review comment:
The indentation seems off here, should be on the same level as the other parameters.
##########
File path: flink-clients/src/main/java/org/apache/flink/client/deployment/application/WebSubmissionJobClient.java
##########
@@ -43,7 +43,7 @@
private final JobID jobId;
- public WebSubmissionJobClient(final JobID jobId) {
+ public WebSubmissionJobClient(final JobID jobId, final ClassLoader userCodeClassloader) {
Review comment:
The `userCodeClassloader` is not used so the parameter doesn't need to be added.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] flinkbot edited a comment on pull request #13471: [FLINK-19124][datastream] Some JobClient methods are not ergonomic, require ClassLoader argument
Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #13471:
URL: https://github.com/apache/flink/pull/13471#issuecomment-698161948
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "1ec1d08fef3193159eaddf239a5b0d0302226d02",
"status" : "PENDING",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=6889",
"triggerID" : "1ec1d08fef3193159eaddf239a5b0d0302226d02",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* 1ec1d08fef3193159eaddf239a5b0d0302226d02 Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=6889)
<details>
<summary>Bot commands</summary>
The @flinkbot bot supports the following commands:
- `@flinkbot run travis` re-run the last Travis build
- `@flinkbot run azure` re-run the last Azure build
</details>
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] flinkbot edited a comment on pull request #13471: [FLINK-19124][datastream] Some JobClient methods are not ergonomic, require ClassLoader argument
Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #13471:
URL: https://github.com/apache/flink/pull/13471#issuecomment-698161948
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "1ec1d08fef3193159eaddf239a5b0d0302226d02",
"status" : "CANCELED",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=6889",
"triggerID" : "1ec1d08fef3193159eaddf239a5b0d0302226d02",
"triggerType" : "PUSH"
}, {
"hash" : "c7a539b5582c927dce191b8f937db1912abcb449",
"status" : "PENDING",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=6910",
"triggerID" : "c7a539b5582c927dce191b8f937db1912abcb449",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* 1ec1d08fef3193159eaddf239a5b0d0302226d02 Azure: [CANCELED](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=6889)
* c7a539b5582c927dce191b8f937db1912abcb449 Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=6910)
<details>
<summary>Bot commands</summary>
The @flinkbot bot supports the following commands:
- `@flinkbot run travis` re-run the last Travis build
- `@flinkbot run azure` re-run the last Azure build
</details>
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] flinkbot edited a comment on pull request #13471: [FLINK-19124][datastream] Some JobClient methods are not ergonomic, require ClassLoader argument
Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #13471:
URL: https://github.com/apache/flink/pull/13471#issuecomment-698161948
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "1ec1d08fef3193159eaddf239a5b0d0302226d02",
"status" : "DELETED",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=6889",
"triggerID" : "1ec1d08fef3193159eaddf239a5b0d0302226d02",
"triggerType" : "PUSH"
}, {
"hash" : "c7a539b5582c927dce191b8f937db1912abcb449",
"status" : "DELETED",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=6910",
"triggerID" : "c7a539b5582c927dce191b8f937db1912abcb449",
"triggerType" : "PUSH"
}, {
"hash" : "56ba62dd0ca89a5037144d5401d9aee23a7caed2",
"status" : "SUCCESS",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=6929",
"triggerID" : "56ba62dd0ca89a5037144d5401d9aee23a7caed2",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* 56ba62dd0ca89a5037144d5401d9aee23a7caed2 Azure: [SUCCESS](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=6929)
<details>
<summary>Bot commands</summary>
The @flinkbot bot supports the following commands:
- `@flinkbot run travis` re-run the last Travis build
- `@flinkbot run azure` re-run the last Azure build
</details>
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] SteNicholas commented on pull request #13471: [FLINK-19124][datastream] Some JobClient methods are not ergonomic, require ClassLoader argument
Posted by GitBox <gi...@apache.org>.
SteNicholas commented on pull request #13471:
URL: https://github.com/apache/flink/pull/13471#issuecomment-698655810
@aljoscha I have followed up with your comments. If you are available, please help to review the changes again. Thanks.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] flinkbot edited a comment on pull request #13471: [FLINK-19124][datastream] Some JobClient methods are not ergonomic, require ClassLoader argument
Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #13471:
URL: https://github.com/apache/flink/pull/13471#issuecomment-698150143
Thanks a lot for your contribution to the Apache Flink project. I'm the @flinkbot. I help the community
to review your pull request. We will use this comment to track the progress of the review.
## Automated Checks
Last check on commit 56ba62dd0ca89a5037144d5401d9aee23a7caed2 (Fri Feb 19 07:27:55 UTC 2021)
**Warnings:**
* No documentation files were touched! Remember to keep the Flink docs up to date!
<sub>Mention the bot in a comment to re-run the automated checks.</sub>
## Review Progress
* ❓ 1. The [description] looks good.
* ❓ 2. There is [consensus] that the contribution should go into to Flink.
* ❓ 3. Needs [attention] from.
* ❓ 4. The change fits into the overall [architecture].
* ❓ 5. Overall code [quality] is good.
Please see the [Pull Request Review Guide](https://flink.apache.org/contributing/reviewing-prs.html) for a full explanation of the review process.<details>
The Bot is tracking the review progress through labels. Labels are applied according to the order of the review items. For consensus, approval by a Flink committer of PMC member is required <summary>Bot commands</summary>
The @flinkbot bot supports the following commands:
- `@flinkbot approve description` to approve one or more aspects (aspects: `description`, `consensus`, `architecture` and `quality`)
- `@flinkbot approve all` to approve all aspects
- `@flinkbot approve-until architecture` to approve everything until `architecture`
- `@flinkbot attention @username1 [@username2 ..]` to require somebody's attention
- `@flinkbot disapprove architecture` to remove an approval you gave earlier
</details>
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] aljoscha closed pull request #13471: [FLINK-19124][datastream] Some JobClient methods are not ergonomic, require ClassLoader argument
Posted by GitBox <gi...@apache.org>.
aljoscha closed pull request #13471:
URL: https://github.com/apache/flink/pull/13471
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] aljoscha commented on pull request #13471: [FLINK-19124][datastream] Some JobClient methods are not ergonomic, require ClassLoader argument
Posted by GitBox <gi...@apache.org>.
aljoscha commented on pull request #13471:
URL: https://github.com/apache/flink/pull/13471#issuecomment-698317256
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] flinkbot edited a comment on pull request #13471: [FLINK-19124][datastream] Some JobClient methods are not ergonomic, require ClassLoader argument
Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #13471:
URL: https://github.com/apache/flink/pull/13471#issuecomment-698161948
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "1ec1d08fef3193159eaddf239a5b0d0302226d02",
"status" : "DELETED",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=6889",
"triggerID" : "1ec1d08fef3193159eaddf239a5b0d0302226d02",
"triggerType" : "PUSH"
}, {
"hash" : "c7a539b5582c927dce191b8f937db1912abcb449",
"status" : "SUCCESS",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=6910",
"triggerID" : "c7a539b5582c927dce191b8f937db1912abcb449",
"triggerType" : "PUSH"
}, {
"hash" : "56ba62dd0ca89a5037144d5401d9aee23a7caed2",
"status" : "UNKNOWN",
"url" : "TBD",
"triggerID" : "56ba62dd0ca89a5037144d5401d9aee23a7caed2",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* c7a539b5582c927dce191b8f937db1912abcb449 Azure: [SUCCESS](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=6910)
* 56ba62dd0ca89a5037144d5401d9aee23a7caed2 UNKNOWN
<details>
<summary>Bot commands</summary>
The @flinkbot bot supports the following commands:
- `@flinkbot run travis` re-run the last Travis build
- `@flinkbot run azure` re-run the last Azure build
</details>
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] SteNicholas removed a comment on pull request #13471: [FLINK-19124][datastream] Some JobClient methods are not ergonomic, require ClassLoader argument
Posted by GitBox <gi...@apache.org>.
SteNicholas removed a comment on pull request #13471:
URL: https://github.com/apache/flink/pull/13471#issuecomment-698150390
@aljoscha I have already removed the user-code `ClassLoader` from `getAccumulators()` and `getJobExecutionResult()`, which `ClassLoader` could configure when `PipelineExecutor` executes. Could you please review this pull request?
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] flinkbot edited a comment on pull request #13471: [FLINK-19124][datastream] Some JobClient methods are not ergonomic, require ClassLoader argument
Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #13471:
URL: https://github.com/apache/flink/pull/13471#issuecomment-698161948
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "1ec1d08fef3193159eaddf239a5b0d0302226d02",
"status" : "DELETED",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=6889",
"triggerID" : "1ec1d08fef3193159eaddf239a5b0d0302226d02",
"triggerType" : "PUSH"
}, {
"hash" : "c7a539b5582c927dce191b8f937db1912abcb449",
"status" : "SUCCESS",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=6910",
"triggerID" : "c7a539b5582c927dce191b8f937db1912abcb449",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* c7a539b5582c927dce191b8f937db1912abcb449 Azure: [SUCCESS](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=6910)
<details>
<summary>Bot commands</summary>
The @flinkbot bot supports the following commands:
- `@flinkbot run travis` re-run the last Travis build
- `@flinkbot run azure` re-run the last Azure build
</details>
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] SteNicholas commented on a change in pull request #13471: [FLINK-19124][datastream] Some JobClient methods are not ergonomic, require ClassLoader argument
Posted by GitBox <gi...@apache.org>.
SteNicholas commented on a change in pull request #13471:
URL: https://github.com/apache/flink/pull/13471#discussion_r494681838
##########
File path: flink-clients/src/main/java/org/apache/flink/client/deployment/application/executors/EmbeddedExecutorFactory.java
##########
@@ -79,9 +79,9 @@ public PipelineExecutor getExecutor(final Configuration configuration) {
return new EmbeddedExecutor(
submittedJobIds,
dispatcherGateway,
- jobId -> {
+ (jobId, userCodeClassloader) -> {
Review comment:
@aljoscha Sorry for this indentation missing, I have already updated this indentation.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] flinkbot commented on pull request #13471: [FLINK-19124][datastream] Some JobClient methods are not ergonomic, require ClassLoader argument
Posted by GitBox <gi...@apache.org>.
flinkbot commented on pull request #13471:
URL: https://github.com/apache/flink/pull/13471#issuecomment-698150143
Thanks a lot for your contribution to the Apache Flink project. I'm the @flinkbot. I help the community
to review your pull request. We will use this comment to track the progress of the review.
## Automated Checks
Last check on commit 1ec1d08fef3193159eaddf239a5b0d0302226d02 (Thu Sep 24 06:46:54 UTC 2020)
✅no warnings
<sub>Mention the bot in a comment to re-run the automated checks.</sub>
## Review Progress
* ❓ 1. The [description] looks good.
* ❓ 2. There is [consensus] that the contribution should go into to Flink.
* ❓ 3. Needs [attention] from.
* ❓ 4. The change fits into the overall [architecture].
* ❓ 5. Overall code [quality] is good.
Please see the [Pull Request Review Guide](https://flink.apache.org/contributing/reviewing-prs.html) for a full explanation of the review process.<details>
The Bot is tracking the review progress through labels. Labels are applied according to the order of the review items. For consensus, approval by a Flink committer of PMC member is required <summary>Bot commands</summary>
The @flinkbot bot supports the following commands:
- `@flinkbot approve description` to approve one or more aspects (aspects: `description`, `consensus`, `architecture` and `quality`)
- `@flinkbot approve all` to approve all aspects
- `@flinkbot approve-until architecture` to approve everything until `architecture`
- `@flinkbot attention @username1 [@username2 ..]` to require somebody's attention
- `@flinkbot disapprove architecture` to remove an approval you gave earlier
</details>
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] aljoscha commented on a change in pull request #13471: [FLINK-19124][datastream] Some JobClient methods are not ergonomic, require ClassLoader argument
Posted by GitBox <gi...@apache.org>.
aljoscha commented on a change in pull request #13471:
URL: https://github.com/apache/flink/pull/13471#discussion_r494385888
##########
File path: flink-clients/src/main/java/org/apache/flink/client/deployment/application/executors/EmbeddedExecutorFactory.java
##########
@@ -79,9 +79,9 @@ public PipelineExecutor getExecutor(final Configuration configuration) {
return new EmbeddedExecutor(
submittedJobIds,
dispatcherGateway,
- jobId -> {
+ (jobId, userCodeClassloader) -> {
Review comment:
The indentation seems off here, should be on the same level as the other parameters.
##########
File path: flink-clients/src/main/java/org/apache/flink/client/deployment/application/WebSubmissionJobClient.java
##########
@@ -43,7 +43,7 @@
private final JobID jobId;
- public WebSubmissionJobClient(final JobID jobId) {
+ public WebSubmissionJobClient(final JobID jobId, final ClassLoader userCodeClassloader) {
Review comment:
The `userCodeClassloader` is not used so the parameter doesn't need to be added.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] flinkbot edited a comment on pull request #13471: [FLINK-19124][datastream] Some JobClient methods are not ergonomic, require ClassLoader argument
Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #13471:
URL: https://github.com/apache/flink/pull/13471#issuecomment-698161948
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] flinkbot edited a comment on pull request #13471: [FLINK-19124][datastream] Some JobClient methods are not ergonomic, require ClassLoader argument
Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #13471:
URL: https://github.com/apache/flink/pull/13471#issuecomment-698161948
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "1ec1d08fef3193159eaddf239a5b0d0302226d02",
"status" : "PENDING",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=6889",
"triggerID" : "1ec1d08fef3193159eaddf239a5b0d0302226d02",
"triggerType" : "PUSH"
}, {
"hash" : "c7a539b5582c927dce191b8f937db1912abcb449",
"status" : "PENDING",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=6910",
"triggerID" : "c7a539b5582c927dce191b8f937db1912abcb449",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* 1ec1d08fef3193159eaddf239a5b0d0302226d02 Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=6889)
* c7a539b5582c927dce191b8f937db1912abcb449 Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=6910)
<details>
<summary>Bot commands</summary>
The @flinkbot bot supports the following commands:
- `@flinkbot run travis` re-run the last Travis build
- `@flinkbot run azure` re-run the last Azure build
</details>
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] aljoscha commented on pull request #13471: [FLINK-19124][datastream] Some JobClient methods are not ergonomic, require ClassLoader argument
Posted by GitBox <gi...@apache.org>.
aljoscha commented on pull request #13471:
URL: https://github.com/apache/flink/pull/13471#issuecomment-698317256
On it! 👌
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] SteNicholas commented on pull request #13471: [FLINK-19124][datastream] Some JobClient methods are not ergonomic, require ClassLoader argument
Posted by GitBox <gi...@apache.org>.
SteNicholas commented on pull request #13471:
URL: https://github.com/apache/flink/pull/13471#issuecomment-698260823
@aljoscha I have already removed the user-code ClassLoader from getAccumulators() and getJobExecutionResult(), which ClassLoader could configure when PipelineExecutor executes. Could you please review this pull request?
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] flinkbot commented on pull request #13471: [FLINK-19124][datastream] Some JobClient methods are not ergonomic, require ClassLoader argument
Posted by GitBox <gi...@apache.org>.
flinkbot commented on pull request #13471:
URL: https://github.com/apache/flink/pull/13471#issuecomment-698161948
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "1ec1d08fef3193159eaddf239a5b0d0302226d02",
"status" : "UNKNOWN",
"url" : "TBD",
"triggerID" : "1ec1d08fef3193159eaddf239a5b0d0302226d02",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* 1ec1d08fef3193159eaddf239a5b0d0302226d02 UNKNOWN
<details>
<summary>Bot commands</summary>
The @flinkbot bot supports the following commands:
- `@flinkbot run travis` re-run the last Travis build
- `@flinkbot run azure` re-run the last Azure build
</details>
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org