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 2022/01/12 08:34:57 UTC
[GitHub] [flink] wanglijie95 opened a new pull request #18336: [FLINK-25441][network] Wrap failure cuase with ProducerFailedException only for PipelinedSubpartitionView
wanglijie95 opened a new pull request #18336:
URL: https://github.com/apache/flink/pull/18336
## What is the purpose of the change
Move the wrapping of ProducerFailedException from to PartitionRequestQueue to PipelinedSubpartitionView. As described in FLINK-25441, the ProducerFailedException will cause batch jobs to hang. So we should only do the ProducerFailedException wrapping for PipelinedSubpartition/PipelinedSubpartitionView
## Brief change log
79980aac09b1eabe9a2d78ecfb0eb68b1d04b26c Wrap failure cuase with ProducerFailedException only for PipelinedSubpartitionView.
## Verifying this change
Unit tests.
## Does this pull request potentially affect one of the following parts:
- Dependencies (does it add or upgrade a dependency): (**no**)
- The public API, i.e., is any changed class annotated with `@Public(Evolving)`: (**no**)
- The serializers: (**no**)
- The runtime per-record code paths (performance sensitive): (**no**)
- Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: (**no**)
- The S3 file system connector: (**no**)
## Documentation
- Does this pull request introduce a new feature? (**no**)
- If yes, how is the feature documented? (**not applicable**)
--
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: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] wanglijie95 commented on pull request #18336: [FLINK-25441][network] Wrap failure cuase with ProducerFailedException only for PipelinedSubpartitionView
Posted by GitBox <gi...@apache.org>.
wanglijie95 commented on pull request #18336:
URL: https://github.com/apache/flink/pull/18336#issuecomment-1011797394
> Changes LGTM. Though the test failure seems unrelated, could please you re-trigger it and get a green build? @wanglijie95 W
Sure, and I will squash the commits.
--
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: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] flinkbot commented on pull request #18336: [FLINK-25441][network] Wrap failure cuase with ProducerFailedException only for PipelinedSubpartitionView
Posted by GitBox <gi...@apache.org>.
flinkbot commented on pull request #18336:
URL: https://github.com/apache/flink/pull/18336#issuecomment-1010777588
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "79980aac09b1eabe9a2d78ecfb0eb68b1d04b26c",
"status" : "UNKNOWN",
"url" : "TBD",
"triggerID" : "79980aac09b1eabe9a2d78ecfb0eb68b1d04b26c",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* 79980aac09b1eabe9a2d78ecfb0eb68b1d04b26c UNKNOWN
<details>
<summary>Bot commands</summary>
The @flinkbot bot supports the following commands:
- `@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.
To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] pnowojski commented on pull request #18336: [FLINK-25441][network] Wrap failure cuase with ProducerFailedException only for PipelinedSubpartitionView
Posted by GitBox <gi...@apache.org>.
pnowojski commented on pull request #18336:
URL: https://github.com/apache/flink/pull/18336#issuecomment-1012168767
Thanks! all is green, merging.
--
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: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] flinkbot edited a comment on pull request #18336: [FLINK-25441][network] Wrap failure cuase with ProducerFailedException only for PipelinedSubpartitionView
Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #18336:
URL: https://github.com/apache/flink/pull/18336#issuecomment-1010777588
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "79980aac09b1eabe9a2d78ecfb0eb68b1d04b26c",
"status" : "DELETED",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=29299",
"triggerID" : "79980aac09b1eabe9a2d78ecfb0eb68b1d04b26c",
"triggerType" : "PUSH"
}, {
"hash" : "e4908ed15a2fdc344d53d4dc40d71c3fbcae8623",
"status" : "CANCELED",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=29306",
"triggerID" : "e4908ed15a2fdc344d53d4dc40d71c3fbcae8623",
"triggerType" : "PUSH"
}, {
"hash" : "86b6155caba9160268797213db5e9c0a18c95a09",
"status" : "PENDING",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=29312",
"triggerID" : "86b6155caba9160268797213db5e9c0a18c95a09",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* e4908ed15a2fdc344d53d4dc40d71c3fbcae8623 Azure: [CANCELED](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=29306)
* 86b6155caba9160268797213db5e9c0a18c95a09 Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=29312)
<details>
<summary>Bot commands</summary>
The @flinkbot bot supports the following commands:
- `@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.
To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] pnowojski merged pull request #18336: [FLINK-25441][network] Wrap failure cuase with ProducerFailedException only for PipelinedSubpartitionView
Posted by GitBox <gi...@apache.org>.
pnowojski merged pull request #18336:
URL: https://github.com/apache/flink/pull/18336
--
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: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] flinkbot edited a comment on pull request #18336: [FLINK-25441][network] Wrap failure cuase with ProducerFailedException only for PipelinedSubpartitionView
Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #18336:
URL: https://github.com/apache/flink/pull/18336#issuecomment-1010777588
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "79980aac09b1eabe9a2d78ecfb0eb68b1d04b26c",
"status" : "CANCELED",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=29299",
"triggerID" : "79980aac09b1eabe9a2d78ecfb0eb68b1d04b26c",
"triggerType" : "PUSH"
}, {
"hash" : "e4908ed15a2fdc344d53d4dc40d71c3fbcae8623",
"status" : "PENDING",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=29306",
"triggerID" : "e4908ed15a2fdc344d53d4dc40d71c3fbcae8623",
"triggerType" : "PUSH"
}, {
"hash" : "86b6155caba9160268797213db5e9c0a18c95a09",
"status" : "PENDING",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=29312",
"triggerID" : "86b6155caba9160268797213db5e9c0a18c95a09",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* 79980aac09b1eabe9a2d78ecfb0eb68b1d04b26c Azure: [CANCELED](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=29299)
* e4908ed15a2fdc344d53d4dc40d71c3fbcae8623 Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=29306)
* 86b6155caba9160268797213db5e9c0a18c95a09 Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=29312)
<details>
<summary>Bot commands</summary>
The @flinkbot bot supports the following commands:
- `@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.
To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] wsry commented on pull request #18336: [FLINK-25441][network] Wrap failure cuase with ProducerFailedException only for PipelinedSubpartitionView
Posted by GitBox <gi...@apache.org>.
wsry commented on pull request #18336:
URL: https://github.com/apache/flink/pull/18336#issuecomment-1011790899
Changes LGTM. Though the test failure seems unrelated, could please you re-trigger it and get a green build? @wanglijie95 W
--
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: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] pnowojski commented on a change in pull request #18336: [FLINK-25441][network] Wrap failure cuase with ProducerFailedException only for PipelinedSubpartitionView
Posted by GitBox <gi...@apache.org>.
pnowojski commented on a change in pull request #18336:
URL: https://github.com/apache/flink/pull/18336#discussion_r782836619
##########
File path: flink-runtime/src/main/java/org/apache/flink/runtime/io/network/partition/PipelinedSubpartitionView.java
##########
@@ -91,7 +91,11 @@ public AvailabilityWithBacklog getAvailabilityAndBacklog(int numCreditsAvailable
@Override
public Throwable getFailureCause() {
- return parent.getFailureCause();
+ Throwable cause = parent.getFailureCause();
+ if (cause != null) {
+ return new ProducerFailedException(cause);
+ }
+ return null;
Review comment:
Can you document this contract in the `ResultSubpartitionView#getFailureCause` java doc? That:
> subpartition view can decide whether the failure cause should be reported to consumer as failure (primary failure) or as cancellation (secondary failure). Secondary failure can be reported only if producer (upstream task) is guaranteed to failover. Beware: incorrectly reporting failure cause as primary failure, can hide the true cause of the failure from the user.
?
--
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: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] flinkbot edited a comment on pull request #18336: [FLINK-25441][network] Wrap failure cuase with ProducerFailedException only for PipelinedSubpartitionView
Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #18336:
URL: https://github.com/apache/flink/pull/18336#issuecomment-1010777588
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "79980aac09b1eabe9a2d78ecfb0eb68b1d04b26c",
"status" : "CANCELED",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=29299",
"triggerID" : "79980aac09b1eabe9a2d78ecfb0eb68b1d04b26c",
"triggerType" : "PUSH"
}, {
"hash" : "e4908ed15a2fdc344d53d4dc40d71c3fbcae8623",
"status" : "PENDING",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=29306",
"triggerID" : "e4908ed15a2fdc344d53d4dc40d71c3fbcae8623",
"triggerType" : "PUSH"
}, {
"hash" : "86b6155caba9160268797213db5e9c0a18c95a09",
"status" : "UNKNOWN",
"url" : "TBD",
"triggerID" : "86b6155caba9160268797213db5e9c0a18c95a09",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* 79980aac09b1eabe9a2d78ecfb0eb68b1d04b26c Azure: [CANCELED](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=29299)
* e4908ed15a2fdc344d53d4dc40d71c3fbcae8623 Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=29306)
* 86b6155caba9160268797213db5e9c0a18c95a09 UNKNOWN
<details>
<summary>Bot commands</summary>
The @flinkbot bot supports the following commands:
- `@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.
To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] flinkbot edited a comment on pull request #18336: [FLINK-25441][network] Wrap failure cuase with ProducerFailedException only for PipelinedSubpartitionView
Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #18336:
URL: https://github.com/apache/flink/pull/18336#issuecomment-1010777588
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "79980aac09b1eabe9a2d78ecfb0eb68b1d04b26c",
"status" : "PENDING",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=29299",
"triggerID" : "79980aac09b1eabe9a2d78ecfb0eb68b1d04b26c",
"triggerType" : "PUSH"
}, {
"hash" : "e4908ed15a2fdc344d53d4dc40d71c3fbcae8623",
"status" : "UNKNOWN",
"url" : "TBD",
"triggerID" : "e4908ed15a2fdc344d53d4dc40d71c3fbcae8623",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* 79980aac09b1eabe9a2d78ecfb0eb68b1d04b26c Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=29299)
* e4908ed15a2fdc344d53d4dc40d71c3fbcae8623 UNKNOWN
<details>
<summary>Bot commands</summary>
The @flinkbot bot supports the following commands:
- `@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.
To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] flinkbot edited a comment on pull request #18336: [FLINK-25441][network] Wrap failure cuase with ProducerFailedException only for PipelinedSubpartitionView
Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #18336:
URL: https://github.com/apache/flink/pull/18336#issuecomment-1010777588
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "79980aac09b1eabe9a2d78ecfb0eb68b1d04b26c",
"status" : "PENDING",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=29299",
"triggerID" : "79980aac09b1eabe9a2d78ecfb0eb68b1d04b26c",
"triggerType" : "PUSH"
}, {
"hash" : "e4908ed15a2fdc344d53d4dc40d71c3fbcae8623",
"status" : "PENDING",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=29306",
"triggerID" : "e4908ed15a2fdc344d53d4dc40d71c3fbcae8623",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* 79980aac09b1eabe9a2d78ecfb0eb68b1d04b26c Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=29299)
* e4908ed15a2fdc344d53d4dc40d71c3fbcae8623 Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=29306)
<details>
<summary>Bot commands</summary>
The @flinkbot bot supports the following commands:
- `@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.
To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] wanglijie95 commented on a change in pull request #18336: [FLINK-25441][network] Wrap failure cuase with ProducerFailedException only for PipelinedSubpartitionView
Posted by GitBox <gi...@apache.org>.
wanglijie95 commented on a change in pull request #18336:
URL: https://github.com/apache/flink/pull/18336#discussion_r782859526
##########
File path: flink-runtime/src/main/java/org/apache/flink/runtime/io/network/partition/PipelinedSubpartitionView.java
##########
@@ -91,7 +91,11 @@ public AvailabilityWithBacklog getAvailabilityAndBacklog(int numCreditsAvailable
@Override
public Throwable getFailureCause() {
- return parent.getFailureCause();
+ Throwable cause = parent.getFailureCause();
+ if (cause != null) {
+ return new ProducerFailedException(cause);
+ }
+ return null;
Review comment:
OK, I will add 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.
To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] flinkbot edited a comment on pull request #18336: [FLINK-25441][network] Wrap failure cuase with ProducerFailedException only for PipelinedSubpartitionView
Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #18336:
URL: https://github.com/apache/flink/pull/18336#issuecomment-1010777588
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "79980aac09b1eabe9a2d78ecfb0eb68b1d04b26c",
"status" : "DELETED",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=29299",
"triggerID" : "79980aac09b1eabe9a2d78ecfb0eb68b1d04b26c",
"triggerType" : "PUSH"
}, {
"hash" : "e4908ed15a2fdc344d53d4dc40d71c3fbcae8623",
"status" : "DELETED",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=29306",
"triggerID" : "e4908ed15a2fdc344d53d4dc40d71c3fbcae8623",
"triggerType" : "PUSH"
}, {
"hash" : "86b6155caba9160268797213db5e9c0a18c95a09",
"status" : "DELETED",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=29312",
"triggerID" : "86b6155caba9160268797213db5e9c0a18c95a09",
"triggerType" : "PUSH"
}, {
"hash" : "1a960b7f82e85d42e2a4f5eb9e9d63a203ed9de5",
"status" : "SUCCESS",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=29358",
"triggerID" : "1a960b7f82e85d42e2a4f5eb9e9d63a203ed9de5",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* 1a960b7f82e85d42e2a4f5eb9e9d63a203ed9de5 Azure: [SUCCESS](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=29358)
<details>
<summary>Bot commands</summary>
The @flinkbot bot supports the following commands:
- `@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.
To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] flinkbot edited a comment on pull request #18336: [FLINK-25441][network] Wrap failure cuase with ProducerFailedException only for PipelinedSubpartitionView
Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #18336:
URL: https://github.com/apache/flink/pull/18336#issuecomment-1010777588
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "79980aac09b1eabe9a2d78ecfb0eb68b1d04b26c",
"status" : "PENDING",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=29299",
"triggerID" : "79980aac09b1eabe9a2d78ecfb0eb68b1d04b26c",
"triggerType" : "PUSH"
}, {
"hash" : "e4908ed15a2fdc344d53d4dc40d71c3fbcae8623",
"status" : "UNKNOWN",
"url" : "TBD",
"triggerID" : "e4908ed15a2fdc344d53d4dc40d71c3fbcae8623",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* 79980aac09b1eabe9a2d78ecfb0eb68b1d04b26c Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=29299)
* e4908ed15a2fdc344d53d4dc40d71c3fbcae8623 UNKNOWN
<details>
<summary>Bot commands</summary>
The @flinkbot bot supports the following commands:
- `@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.
To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] flinkbot commented on pull request #18336: [FLINK-25441][network] Wrap failure cuase with ProducerFailedException only for PipelinedSubpartitionView
Posted by GitBox <gi...@apache.org>.
flinkbot commented on pull request #18336:
URL: https://github.com/apache/flink/pull/18336#issuecomment-1010776403
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 79980aac09b1eabe9a2d78ecfb0eb68b1d04b26c (Wed Jan 12 08:37:54 UTC 2022)
**Warnings:**
* No documentation files were touched! Remember to keep the Flink docs up to date!
* **This pull request references an unassigned [Jira ticket](https://issues.apache.org/jira/browse/FLINK-25441).** According to the [code contribution guide](https://flink.apache.org/contributing/contribute-code.html), tickets need to be assigned before starting with the implementation work.
<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.
To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] flinkbot edited a comment on pull request #18336: [FLINK-25441][network] Wrap failure cuase with ProducerFailedException only for PipelinedSubpartitionView
Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #18336:
URL: https://github.com/apache/flink/pull/18336#issuecomment-1010777588
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "79980aac09b1eabe9a2d78ecfb0eb68b1d04b26c",
"status" : "DELETED",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=29299",
"triggerID" : "79980aac09b1eabe9a2d78ecfb0eb68b1d04b26c",
"triggerType" : "PUSH"
}, {
"hash" : "e4908ed15a2fdc344d53d4dc40d71c3fbcae8623",
"status" : "DELETED",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=29306",
"triggerID" : "e4908ed15a2fdc344d53d4dc40d71c3fbcae8623",
"triggerType" : "PUSH"
}, {
"hash" : "86b6155caba9160268797213db5e9c0a18c95a09",
"status" : "FAILURE",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=29312",
"triggerID" : "86b6155caba9160268797213db5e9c0a18c95a09",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* 86b6155caba9160268797213db5e9c0a18c95a09 Azure: [FAILURE](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=29312)
<details>
<summary>Bot commands</summary>
The @flinkbot bot supports the following commands:
- `@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.
To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] flinkbot edited a comment on pull request #18336: [FLINK-25441][network] Wrap failure cuase with ProducerFailedException only for PipelinedSubpartitionView
Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #18336:
URL: https://github.com/apache/flink/pull/18336#issuecomment-1010777588
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "79980aac09b1eabe9a2d78ecfb0eb68b1d04b26c",
"status" : "PENDING",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=29299",
"triggerID" : "79980aac09b1eabe9a2d78ecfb0eb68b1d04b26c",
"triggerType" : "PUSH"
}, {
"hash" : "e4908ed15a2fdc344d53d4dc40d71c3fbcae8623",
"status" : "PENDING",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=29306",
"triggerID" : "e4908ed15a2fdc344d53d4dc40d71c3fbcae8623",
"triggerType" : "PUSH"
}, {
"hash" : "86b6155caba9160268797213db5e9c0a18c95a09",
"status" : "UNKNOWN",
"url" : "TBD",
"triggerID" : "86b6155caba9160268797213db5e9c0a18c95a09",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* 79980aac09b1eabe9a2d78ecfb0eb68b1d04b26c Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=29299)
* e4908ed15a2fdc344d53d4dc40d71c3fbcae8623 Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=29306)
* 86b6155caba9160268797213db5e9c0a18c95a09 UNKNOWN
<details>
<summary>Bot commands</summary>
The @flinkbot bot supports the following commands:
- `@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.
To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] flinkbot edited a comment on pull request #18336: [FLINK-25441][network] Wrap failure cuase with ProducerFailedException only for PipelinedSubpartitionView
Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #18336:
URL: https://github.com/apache/flink/pull/18336#issuecomment-1010777588
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "79980aac09b1eabe9a2d78ecfb0eb68b1d04b26c",
"status" : "DELETED",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=29299",
"triggerID" : "79980aac09b1eabe9a2d78ecfb0eb68b1d04b26c",
"triggerType" : "PUSH"
}, {
"hash" : "e4908ed15a2fdc344d53d4dc40d71c3fbcae8623",
"status" : "DELETED",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=29306",
"triggerID" : "e4908ed15a2fdc344d53d4dc40d71c3fbcae8623",
"triggerType" : "PUSH"
}, {
"hash" : "86b6155caba9160268797213db5e9c0a18c95a09",
"status" : "FAILURE",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=29312",
"triggerID" : "86b6155caba9160268797213db5e9c0a18c95a09",
"triggerType" : "PUSH"
}, {
"hash" : "1a960b7f82e85d42e2a4f5eb9e9d63a203ed9de5",
"status" : "UNKNOWN",
"url" : "TBD",
"triggerID" : "1a960b7f82e85d42e2a4f5eb9e9d63a203ed9de5",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* 86b6155caba9160268797213db5e9c0a18c95a09 Azure: [FAILURE](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=29312)
* 1a960b7f82e85d42e2a4f5eb9e9d63a203ed9de5 UNKNOWN
<details>
<summary>Bot commands</summary>
The @flinkbot bot supports the following commands:
- `@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.
To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] flinkbot edited a comment on pull request #18336: [FLINK-25441][network] Wrap failure cuase with ProducerFailedException only for PipelinedSubpartitionView
Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #18336:
URL: https://github.com/apache/flink/pull/18336#issuecomment-1010777588
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "79980aac09b1eabe9a2d78ecfb0eb68b1d04b26c",
"status" : "PENDING",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=29299",
"triggerID" : "79980aac09b1eabe9a2d78ecfb0eb68b1d04b26c",
"triggerType" : "PUSH"
}, {
"hash" : "e4908ed15a2fdc344d53d4dc40d71c3fbcae8623",
"status" : "PENDING",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=29306",
"triggerID" : "e4908ed15a2fdc344d53d4dc40d71c3fbcae8623",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* 79980aac09b1eabe9a2d78ecfb0eb68b1d04b26c Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=29299)
* e4908ed15a2fdc344d53d4dc40d71c3fbcae8623 Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=29306)
<details>
<summary>Bot commands</summary>
The @flinkbot bot supports the following commands:
- `@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.
To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] flinkbot edited a comment on pull request #18336: [FLINK-25441][network] Wrap failure cuase with ProducerFailedException only for PipelinedSubpartitionView
Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #18336:
URL: https://github.com/apache/flink/pull/18336#issuecomment-1010777588
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "79980aac09b1eabe9a2d78ecfb0eb68b1d04b26c",
"status" : "PENDING",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=29299",
"triggerID" : "79980aac09b1eabe9a2d78ecfb0eb68b1d04b26c",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* 79980aac09b1eabe9a2d78ecfb0eb68b1d04b26c Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=29299)
<details>
<summary>Bot commands</summary>
The @flinkbot bot supports the following commands:
- `@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.
To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] wanglijie95 commented on pull request #18336: [FLINK-25441][network] Wrap failure cuase with ProducerFailedException only for PipelinedSubpartitionView
Posted by GitBox <gi...@apache.org>.
wanglijie95 commented on pull request #18336:
URL: https://github.com/apache/flink/pull/18336#issuecomment-1010826751
> Are you sure it should be this way? That `SortMergeSubpartitionReader` is always throwing "primary" failures without wrapping "ProducerFailedException"?
Yes, I'm sure. The `SortMergeSubpartitionReader` is only used by BLOCKING result partition, whose producer was FINISHED when be consumed
--
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: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] pnowojski commented on a change in pull request #18336: [FLINK-25441][network] Wrap failure cuase with ProducerFailedException only for PipelinedSubpartitionView
Posted by GitBox <gi...@apache.org>.
pnowojski commented on a change in pull request #18336:
URL: https://github.com/apache/flink/pull/18336#discussion_r782885250
##########
File path: flink-runtime/src/main/java/org/apache/flink/runtime/io/network/partition/ResultSubpartitionView.java
##########
@@ -55,6 +55,14 @@ default void notifyPriorityEvent(int priorityBufferNumber) {}
void acknowledgeAllDataProcessed();
+ /**
+ * {@link ResultSubpartitionView} can decide whether the failure cause should be reported to
+ * consumer as failure (primary failure) or as cancellation (secondary failure). Secondary
Review comment:
Maybe let's rephrase this and replace `as cancellation` with `{@link ProducerFailedException}`?
--
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: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] flinkbot edited a comment on pull request #18336: [FLINK-25441][network] Wrap failure cuase with ProducerFailedException only for PipelinedSubpartitionView
Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #18336:
URL: https://github.com/apache/flink/pull/18336#issuecomment-1010777588
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "79980aac09b1eabe9a2d78ecfb0eb68b1d04b26c",
"status" : "DELETED",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=29299",
"triggerID" : "79980aac09b1eabe9a2d78ecfb0eb68b1d04b26c",
"triggerType" : "PUSH"
}, {
"hash" : "e4908ed15a2fdc344d53d4dc40d71c3fbcae8623",
"status" : "DELETED",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=29306",
"triggerID" : "e4908ed15a2fdc344d53d4dc40d71c3fbcae8623",
"triggerType" : "PUSH"
}, {
"hash" : "86b6155caba9160268797213db5e9c0a18c95a09",
"status" : "FAILURE",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=29312",
"triggerID" : "86b6155caba9160268797213db5e9c0a18c95a09",
"triggerType" : "PUSH"
}, {
"hash" : "1a960b7f82e85d42e2a4f5eb9e9d63a203ed9de5",
"status" : "PENDING",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=29358",
"triggerID" : "1a960b7f82e85d42e2a4f5eb9e9d63a203ed9de5",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* 86b6155caba9160268797213db5e9c0a18c95a09 Azure: [FAILURE](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=29312)
* 1a960b7f82e85d42e2a4f5eb9e9d63a203ed9de5 Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=29358)
<details>
<summary>Bot commands</summary>
The @flinkbot bot supports the following commands:
- `@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.
To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [flink] flinkbot edited a comment on pull request #18336: [FLINK-25441][network] Wrap failure cuase with ProducerFailedException only for PipelinedSubpartitionView
Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #18336:
URL: https://github.com/apache/flink/pull/18336#issuecomment-1010777588
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "79980aac09b1eabe9a2d78ecfb0eb68b1d04b26c",
"status" : "PENDING",
"url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=29299",
"triggerID" : "79980aac09b1eabe9a2d78ecfb0eb68b1d04b26c",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* 79980aac09b1eabe9a2d78ecfb0eb68b1d04b26c Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=29299)
<details>
<summary>Bot commands</summary>
The @flinkbot bot supports the following commands:
- `@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.
To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org