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 2021/08/13 12:35:09 UTC

[GitHub] [flink] AHeise opened a new pull request #16817: [FLINK-23767][streaming] FLIP-180: Adjust StreamStatus and Idleness definition.

AHeise opened a new pull request #16817:
URL: https://github.com/apache/flink/pull/16817


   <!--
   *Thank you very much for contributing to Apache Flink - we are happy that you want to help us improve Flink. To help the community review your contribution in the best possible way, please go through the checklist below, which will get the contribution into a shape in which it can be best reviewed.*
   
   *Please understand that we do not do this to make contributions to Flink a hassle. In order to uphold a high standard of quality for code contributions, while at the same time managing a large number of contributions, we need contributors to prepare the contributions well, and give reviewers enough contextual information for the review. Please also understand that contributions that do not follow this guide will take longer to review and thus typically be picked up with lower priority by the community.*
   
   ## Contribution Checklist
   
     - Make sure that the pull request corresponds to a [JIRA issue](https://issues.apache.org/jira/projects/FLINK/issues). Exceptions are made for typos in JavaDoc or documentation files, which need no JIRA issue.
     
     - Name the pull request in the form "[FLINK-XXXX] [component] Title of the pull request", where *FLINK-XXXX* should be replaced by the actual issue number. Skip *component* if you are unsure about which is the best component.
     Typo fixes that have no associated JIRA issue should be named following this pattern: `[hotfix] [docs] Fix typo in event time introduction` or `[hotfix] [javadocs] Expand JavaDoc for PuncuatedWatermarkGenerator`.
   
     - Fill out the template below to describe the changes contributed by the pull request. That will give reviewers the context they need to do the review.
     
     - Make sure that the change passes the automated tests, i.e., `mvn clean verify` passes. You can set up Azure Pipelines CI to do that following [this guide](https://cwiki.apache.org/confluence/display/FLINK/Azure+Pipelines#AzurePipelines-Tutorial:SettingupAzurePipelinesforaforkoftheFlinkrepository).
   
     - Each pull request should address only one issue, not mix up code from multiple issues.
     
     - Each commit in the pull request has a meaningful commit message (including the JIRA id)
   
     - Once all items of the checklist are addressed, remove the above text and this checklist, leaving only the filled out template below.
   
   
   **(The sections below can be removed for hotfixes of typos)**
   -->
   
   ## What is the purpose of the change
   
   StreamStatus is currently defined as follows:
   
   >    A Stream Status element informs stream tasks whether or not they should continue to expect records and watermarks from the input stream that sent them. There are 2 kinds of status, namely IDLE and ACTIVE. Stream Status elements are generated at the sources, and may be propagated through the tasks of the topology. They directly infer the current status of the emitting task; a SourceStreamTask or StreamTask emits a IDLE if it will temporarily halt to emit any records or watermarks (i.e. is idle), and emits a ACTIVE once it resumes to do so (i.e. is active).
   
   However that definition is quite problematic. Operators with delayed responses, such as AsyncIO, windows, or time-based process functions, might output elements when they are actually idle. So by that definition, they would need to switch from idle to active, emit an element, and go back to idle. It's not entirely clear when they would go back to idle (after each element or after some time?). Furthermore, under heavy backpressure, these additional StreamStatuses delay progress quite a bit.
   
   At this point, it makes sense to revise the original intent of StreamStatus: being able to advance the watermark without data. Indeed, there is no reason to expand the definition towards records; we could simply limit the definition to watermarks as this is the only use case for StreamStatus in the code base currently. Moreover, that's exactly how it's implemented in Flink so far. So, in this FLIP we propose to adjust the definition to reality and act on that.
   
   This is the implementation PR for [FLIP-180](https://cwiki.apache.org/confluence/display/FLINK/FLIP-180%3A+Adjust+StreamStatus+and+Idleness+definition).
   
   ## Brief change log
   
   - Update definition of StreamStatus.
   - Rename StreamStatus to WatermarkStatus.
   - Add WatermarkOutput#markActive. 
   
   ## Verifying this change
   
   Mostly renaming that is covered by existing tests.
   
   ## 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, 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.

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 #16817: [FLINK-23767][streaming] FLIP-180: Adjust StreamStatus and Idleness definition.

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #16817:
URL: https://github.com/apache/flink/pull/16817#issuecomment-898452176


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "4e707fd29a0a3935096ce09e5a46efa4cf171f25",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22114",
       "triggerID" : "4e707fd29a0a3935096ce09e5a46efa4cf171f25",
       "triggerType" : "PUSH"
     }, {
       "hash" : "1aac295e2144d042d44c141b6dda88bfdea5214b",
       "status" : "CANCELED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22118",
       "triggerID" : "1aac295e2144d042d44c141b6dda88bfdea5214b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "a928b42d37aea7e709503facf5d45717ab439947",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "a928b42d37aea7e709503facf5d45717ab439947",
       "triggerType" : "PUSH"
     }, {
       "hash" : "146063d345435024451246fcc66eb4a235309439",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22149",
       "triggerID" : "146063d345435024451246fcc66eb4a235309439",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 1aac295e2144d042d44c141b6dda88bfdea5214b Azure: [CANCELED](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22118) 
   * a928b42d37aea7e709503facf5d45717ab439947 UNKNOWN
   * 146063d345435024451246fcc66eb4a235309439 Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22149) 
   
   <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.

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 #16817: [FLINK-23767][streaming] FLIP-180: Adjust StreamStatus and Idleness definition.

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #16817:
URL: https://github.com/apache/flink/pull/16817#issuecomment-898452176


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "4e707fd29a0a3935096ce09e5a46efa4cf171f25",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22114",
       "triggerID" : "4e707fd29a0a3935096ce09e5a46efa4cf171f25",
       "triggerType" : "PUSH"
     }, {
       "hash" : "1aac295e2144d042d44c141b6dda88bfdea5214b",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22118",
       "triggerID" : "1aac295e2144d042d44c141b6dda88bfdea5214b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "a928b42d37aea7e709503facf5d45717ab439947",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "a928b42d37aea7e709503facf5d45717ab439947",
       "triggerType" : "PUSH"
     }, {
       "hash" : "146063d345435024451246fcc66eb4a235309439",
       "status" : "CANCELED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22149",
       "triggerID" : "146063d345435024451246fcc66eb4a235309439",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b1b4dae27a1b4a030596cf9fce7cba1a56c1290d",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22152",
       "triggerID" : "b1b4dae27a1b4a030596cf9fce7cba1a56c1290d",
       "triggerType" : "PUSH"
     }, {
       "hash" : "8bd74477e5d245ad8e2c480bcb85f9c040743406",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "8bd74477e5d245ad8e2c480bcb85f9c040743406",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * a928b42d37aea7e709503facf5d45717ab439947 UNKNOWN
   * 146063d345435024451246fcc66eb4a235309439 Azure: [CANCELED](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22149) 
   * b1b4dae27a1b4a030596cf9fce7cba1a56c1290d Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22152) 
   * 8bd74477e5d245ad8e2c480bcb85f9c040743406 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.

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 #16817: [FLINK-23767][streaming] FLIP-180: Adjust StreamStatus and Idleness definition.

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #16817:
URL: https://github.com/apache/flink/pull/16817#issuecomment-898452176


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "4e707fd29a0a3935096ce09e5a46efa4cf171f25",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22114",
       "triggerID" : "4e707fd29a0a3935096ce09e5a46efa4cf171f25",
       "triggerType" : "PUSH"
     }, {
       "hash" : "1aac295e2144d042d44c141b6dda88bfdea5214b",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22118",
       "triggerID" : "1aac295e2144d042d44c141b6dda88bfdea5214b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "a928b42d37aea7e709503facf5d45717ab439947",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "a928b42d37aea7e709503facf5d45717ab439947",
       "triggerType" : "PUSH"
     }, {
       "hash" : "146063d345435024451246fcc66eb4a235309439",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22149",
       "triggerID" : "146063d345435024451246fcc66eb4a235309439",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b1b4dae27a1b4a030596cf9fce7cba1a56c1290d",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22152",
       "triggerID" : "b1b4dae27a1b4a030596cf9fce7cba1a56c1290d",
       "triggerType" : "PUSH"
     }, {
       "hash" : "8bd74477e5d245ad8e2c480bcb85f9c040743406",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22156",
       "triggerID" : "8bd74477e5d245ad8e2c480bcb85f9c040743406",
       "triggerType" : "PUSH"
     }, {
       "hash" : "786da0bb5582146e87a74daf96540c9ce73af426",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "786da0bb5582146e87a74daf96540c9ce73af426",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b8494a9bcd18e0893826253da7da303e136c1499",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22186",
       "triggerID" : "b8494a9bcd18e0893826253da7da303e136c1499",
       "triggerType" : "PUSH"
     }, {
       "hash" : "aba07324c2ae4cc5410090d5ef5d5b776c7781f8",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "aba07324c2ae4cc5410090d5ef5d5b776c7781f8",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * a928b42d37aea7e709503facf5d45717ab439947 UNKNOWN
   * 786da0bb5582146e87a74daf96540c9ce73af426 UNKNOWN
   * b8494a9bcd18e0893826253da7da303e136c1499 Azure: [SUCCESS](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22186) 
   * aba07324c2ae4cc5410090d5ef5d5b776c7781f8 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.

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 #16817: [FLINK-23767][streaming] FLIP-180: Adjust StreamStatus and Idleness definition.

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #16817:
URL: https://github.com/apache/flink/pull/16817#issuecomment-898452176


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "4e707fd29a0a3935096ce09e5a46efa4cf171f25",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22114",
       "triggerID" : "4e707fd29a0a3935096ce09e5a46efa4cf171f25",
       "triggerType" : "PUSH"
     }, {
       "hash" : "1aac295e2144d042d44c141b6dda88bfdea5214b",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22118",
       "triggerID" : "1aac295e2144d042d44c141b6dda88bfdea5214b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "a928b42d37aea7e709503facf5d45717ab439947",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "a928b42d37aea7e709503facf5d45717ab439947",
       "triggerType" : "PUSH"
     }, {
       "hash" : "146063d345435024451246fcc66eb4a235309439",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22149",
       "triggerID" : "146063d345435024451246fcc66eb4a235309439",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b1b4dae27a1b4a030596cf9fce7cba1a56c1290d",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22152",
       "triggerID" : "b1b4dae27a1b4a030596cf9fce7cba1a56c1290d",
       "triggerType" : "PUSH"
     }, {
       "hash" : "8bd74477e5d245ad8e2c480bcb85f9c040743406",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22156",
       "triggerID" : "8bd74477e5d245ad8e2c480bcb85f9c040743406",
       "triggerType" : "PUSH"
     }, {
       "hash" : "786da0bb5582146e87a74daf96540c9ce73af426",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "786da0bb5582146e87a74daf96540c9ce73af426",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b8494a9bcd18e0893826253da7da303e136c1499",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22186",
       "triggerID" : "b8494a9bcd18e0893826253da7da303e136c1499",
       "triggerType" : "PUSH"
     }, {
       "hash" : "aba07324c2ae4cc5410090d5ef5d5b776c7781f8",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22261",
       "triggerID" : "aba07324c2ae4cc5410090d5ef5d5b776c7781f8",
       "triggerType" : "PUSH"
     }, {
       "hash" : "2e9ddfab1a18bd068621a7eaf26d9c587c0cc33f",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "2e9ddfab1a18bd068621a7eaf26d9c587c0cc33f",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * a928b42d37aea7e709503facf5d45717ab439947 UNKNOWN
   * 786da0bb5582146e87a74daf96540c9ce73af426 UNKNOWN
   * aba07324c2ae4cc5410090d5ef5d5b776c7781f8 Azure: [FAILURE](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22261) 
   * 2e9ddfab1a18bd068621a7eaf26d9c587c0cc33f 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.

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 #16817: [FLINK-23767][streaming] FLIP-180: Adjust StreamStatus and Idleness definition.

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #16817:
URL: https://github.com/apache/flink/pull/16817#issuecomment-898452176


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "4e707fd29a0a3935096ce09e5a46efa4cf171f25",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22114",
       "triggerID" : "4e707fd29a0a3935096ce09e5a46efa4cf171f25",
       "triggerType" : "PUSH"
     }, {
       "hash" : "1aac295e2144d042d44c141b6dda88bfdea5214b",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22118",
       "triggerID" : "1aac295e2144d042d44c141b6dda88bfdea5214b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "a928b42d37aea7e709503facf5d45717ab439947",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "a928b42d37aea7e709503facf5d45717ab439947",
       "triggerType" : "PUSH"
     }, {
       "hash" : "146063d345435024451246fcc66eb4a235309439",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22149",
       "triggerID" : "146063d345435024451246fcc66eb4a235309439",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b1b4dae27a1b4a030596cf9fce7cba1a56c1290d",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22152",
       "triggerID" : "b1b4dae27a1b4a030596cf9fce7cba1a56c1290d",
       "triggerType" : "PUSH"
     }, {
       "hash" : "8bd74477e5d245ad8e2c480bcb85f9c040743406",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22156",
       "triggerID" : "8bd74477e5d245ad8e2c480bcb85f9c040743406",
       "triggerType" : "PUSH"
     }, {
       "hash" : "786da0bb5582146e87a74daf96540c9ce73af426",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "786da0bb5582146e87a74daf96540c9ce73af426",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b8494a9bcd18e0893826253da7da303e136c1499",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22186",
       "triggerID" : "b8494a9bcd18e0893826253da7da303e136c1499",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * a928b42d37aea7e709503facf5d45717ab439947 UNKNOWN
   * 786da0bb5582146e87a74daf96540c9ce73af426 UNKNOWN
   * b8494a9bcd18e0893826253da7da303e136c1499 Azure: [SUCCESS](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22186) 
   
   <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.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] fapaul commented on a change in pull request #16817: [FLINK-23767][streaming] FLIP-180: Adjust StreamStatus and Idleness definition.

Posted by GitBox <gi...@apache.org>.
fapaul commented on a change in pull request #16817:
URL: https://github.com/apache/flink/pull/16817#discussion_r688488266



##########
File path: flink-streaming-java/src/main/java/org/apache/flink/streaming/runtime/watermarkstatus/WatermarkStatus.java
##########
@@ -28,11 +28,11 @@
 /**
  * A Stream Status element informs stream tasks whether or not they should continue to expect

Review comment:
       Unfortunately, it seems that we also use `Stream status` in our codebase you probably also need to replace those occurrences.

##########
File path: flink-streaming-java/src/main/java/org/apache/flink/streaming/runtime/watermarkstatus/StatusWatermarkValve.java
##########
@@ -1,11 +1,10 @@
 /*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with

Review comment:
       The formatting changes do not belong to this commit.

##########
File path: flink-connectors/flink-connector-kafka/src/main/java/org/apache/flink/streaming/connectors/kafka/internals/SourceContextWatermarkOutputAdapter.java
##########
@@ -42,4 +42,9 @@ public void emitWatermark(Watermark watermark) {
     public void markIdle() {
         sourceContext.markAsTemporarilyIdle();
     }
+
+    @Override
+    public void markActive() {
+        // will be set active with next watermark

Review comment:
       Do we need some kind of follow-up to implement this?

##########
File path: flink-streaming-java/src/main/java/org/apache/flink/streaming/runtime/watermarkstatus/WatermarkStatus.java
##########
@@ -1,11 +1,10 @@
 /*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with

Review comment:
       Same here wrong commit.

##########
File path: flink-streaming-java/src/main/java/org/apache/flink/streaming/api/operators/source/WatermarkToDataOutput.java
##########
@@ -83,4 +80,25 @@ public void markIdle() {
             throw new ExceptionInChainedOperatorException(e);
         }
     }
+
+    @Override
+    public void markActive() {
+        try {
+            markActiveInternally();
+        } catch (ExceptionInChainedOperatorException e) {
+            throw e;
+        } catch (Exception e) {
+            throw new ExceptionInChainedOperatorException(e);
+        }
+    }

Review comment:
       Why do we handle the exceptions differently than before?




-- 
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 #16817: [FLINK-23767][streaming] FLIP-180: Adjust StreamStatus and Idleness definition.

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #16817:
URL: https://github.com/apache/flink/pull/16817#issuecomment-898452176


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "4e707fd29a0a3935096ce09e5a46efa4cf171f25",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22114",
       "triggerID" : "4e707fd29a0a3935096ce09e5a46efa4cf171f25",
       "triggerType" : "PUSH"
     }, {
       "hash" : "1aac295e2144d042d44c141b6dda88bfdea5214b",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22118",
       "triggerID" : "1aac295e2144d042d44c141b6dda88bfdea5214b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "a928b42d37aea7e709503facf5d45717ab439947",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "a928b42d37aea7e709503facf5d45717ab439947",
       "triggerType" : "PUSH"
     }, {
       "hash" : "146063d345435024451246fcc66eb4a235309439",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22149",
       "triggerID" : "146063d345435024451246fcc66eb4a235309439",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b1b4dae27a1b4a030596cf9fce7cba1a56c1290d",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22152",
       "triggerID" : "b1b4dae27a1b4a030596cf9fce7cba1a56c1290d",
       "triggerType" : "PUSH"
     }, {
       "hash" : "8bd74477e5d245ad8e2c480bcb85f9c040743406",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22156",
       "triggerID" : "8bd74477e5d245ad8e2c480bcb85f9c040743406",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * a928b42d37aea7e709503facf5d45717ab439947 UNKNOWN
   * 8bd74477e5d245ad8e2c480bcb85f9c040743406 Azure: [FAILURE](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22156) 
   
   <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.

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 #16817: [FLINK-23767][streaming] FLIP-180: Adjust StreamStatus and Idleness definition.

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #16817:
URL: https://github.com/apache/flink/pull/16817#issuecomment-898452176


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "4e707fd29a0a3935096ce09e5a46efa4cf171f25",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22114",
       "triggerID" : "4e707fd29a0a3935096ce09e5a46efa4cf171f25",
       "triggerType" : "PUSH"
     }, {
       "hash" : "1aac295e2144d042d44c141b6dda88bfdea5214b",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22118",
       "triggerID" : "1aac295e2144d042d44c141b6dda88bfdea5214b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "a928b42d37aea7e709503facf5d45717ab439947",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "a928b42d37aea7e709503facf5d45717ab439947",
       "triggerType" : "PUSH"
     }, {
       "hash" : "146063d345435024451246fcc66eb4a235309439",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22149",
       "triggerID" : "146063d345435024451246fcc66eb4a235309439",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b1b4dae27a1b4a030596cf9fce7cba1a56c1290d",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22152",
       "triggerID" : "b1b4dae27a1b4a030596cf9fce7cba1a56c1290d",
       "triggerType" : "PUSH"
     }, {
       "hash" : "8bd74477e5d245ad8e2c480bcb85f9c040743406",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22156",
       "triggerID" : "8bd74477e5d245ad8e2c480bcb85f9c040743406",
       "triggerType" : "PUSH"
     }, {
       "hash" : "786da0bb5582146e87a74daf96540c9ce73af426",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "786da0bb5582146e87a74daf96540c9ce73af426",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * a928b42d37aea7e709503facf5d45717ab439947 UNKNOWN
   * 8bd74477e5d245ad8e2c480bcb85f9c040743406 Azure: [FAILURE](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22156) 
   * 786da0bb5582146e87a74daf96540c9ce73af426 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.

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 #16817: [FLINK-23767][streaming] FLIP-180: Adjust StreamStatus and Idleness definition.

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #16817:
URL: https://github.com/apache/flink/pull/16817#issuecomment-898452176


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "4e707fd29a0a3935096ce09e5a46efa4cf171f25",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22114",
       "triggerID" : "4e707fd29a0a3935096ce09e5a46efa4cf171f25",
       "triggerType" : "PUSH"
     }, {
       "hash" : "1aac295e2144d042d44c141b6dda88bfdea5214b",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22118",
       "triggerID" : "1aac295e2144d042d44c141b6dda88bfdea5214b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "a928b42d37aea7e709503facf5d45717ab439947",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "a928b42d37aea7e709503facf5d45717ab439947",
       "triggerType" : "PUSH"
     }, {
       "hash" : "146063d345435024451246fcc66eb4a235309439",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22149",
       "triggerID" : "146063d345435024451246fcc66eb4a235309439",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b1b4dae27a1b4a030596cf9fce7cba1a56c1290d",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22152",
       "triggerID" : "b1b4dae27a1b4a030596cf9fce7cba1a56c1290d",
       "triggerType" : "PUSH"
     }, {
       "hash" : "8bd74477e5d245ad8e2c480bcb85f9c040743406",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22156",
       "triggerID" : "8bd74477e5d245ad8e2c480bcb85f9c040743406",
       "triggerType" : "PUSH"
     }, {
       "hash" : "786da0bb5582146e87a74daf96540c9ce73af426",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "786da0bb5582146e87a74daf96540c9ce73af426",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b8494a9bcd18e0893826253da7da303e136c1499",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22186",
       "triggerID" : "b8494a9bcd18e0893826253da7da303e136c1499",
       "triggerType" : "PUSH"
     }, {
       "hash" : "aba07324c2ae4cc5410090d5ef5d5b776c7781f8",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22261",
       "triggerID" : "aba07324c2ae4cc5410090d5ef5d5b776c7781f8",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * a928b42d37aea7e709503facf5d45717ab439947 UNKNOWN
   * 786da0bb5582146e87a74daf96540c9ce73af426 UNKNOWN
   * aba07324c2ae4cc5410090d5ef5d5b776c7781f8 Azure: [FAILURE](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22261) 
   
   <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.

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 #16817: [FLINK-23767][streaming] FLIP-180: Adjust StreamStatus and Idleness definition.

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #16817:
URL: https://github.com/apache/flink/pull/16817#issuecomment-898452176


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "4e707fd29a0a3935096ce09e5a46efa4cf171f25",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22114",
       "triggerID" : "4e707fd29a0a3935096ce09e5a46efa4cf171f25",
       "triggerType" : "PUSH"
     }, {
       "hash" : "1aac295e2144d042d44c141b6dda88bfdea5214b",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22118",
       "triggerID" : "1aac295e2144d042d44c141b6dda88bfdea5214b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "a928b42d37aea7e709503facf5d45717ab439947",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "a928b42d37aea7e709503facf5d45717ab439947",
       "triggerType" : "PUSH"
     }, {
       "hash" : "146063d345435024451246fcc66eb4a235309439",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22149",
       "triggerID" : "146063d345435024451246fcc66eb4a235309439",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b1b4dae27a1b4a030596cf9fce7cba1a56c1290d",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22152",
       "triggerID" : "b1b4dae27a1b4a030596cf9fce7cba1a56c1290d",
       "triggerType" : "PUSH"
     }, {
       "hash" : "8bd74477e5d245ad8e2c480bcb85f9c040743406",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22156",
       "triggerID" : "8bd74477e5d245ad8e2c480bcb85f9c040743406",
       "triggerType" : "PUSH"
     }, {
       "hash" : "786da0bb5582146e87a74daf96540c9ce73af426",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "786da0bb5582146e87a74daf96540c9ce73af426",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b8494a9bcd18e0893826253da7da303e136c1499",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22186",
       "triggerID" : "b8494a9bcd18e0893826253da7da303e136c1499",
       "triggerType" : "PUSH"
     }, {
       "hash" : "aba07324c2ae4cc5410090d5ef5d5b776c7781f8",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22261",
       "triggerID" : "aba07324c2ae4cc5410090d5ef5d5b776c7781f8",
       "triggerType" : "PUSH"
     }, {
       "hash" : "2e9ddfab1a18bd068621a7eaf26d9c587c0cc33f",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22287",
       "triggerID" : "2e9ddfab1a18bd068621a7eaf26d9c587c0cc33f",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * a928b42d37aea7e709503facf5d45717ab439947 UNKNOWN
   * 786da0bb5582146e87a74daf96540c9ce73af426 UNKNOWN
   * aba07324c2ae4cc5410090d5ef5d5b776c7781f8 Azure: [FAILURE](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22261) 
   * 2e9ddfab1a18bd068621a7eaf26d9c587c0cc33f Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22287) 
   
   <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.

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 #16817: [FLINK-23767][streaming] FLIP-180: Adjust StreamStatus and Idleness definition.

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #16817:
URL: https://github.com/apache/flink/pull/16817#issuecomment-898452176


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "4e707fd29a0a3935096ce09e5a46efa4cf171f25",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22114",
       "triggerID" : "4e707fd29a0a3935096ce09e5a46efa4cf171f25",
       "triggerType" : "PUSH"
     }, {
       "hash" : "1aac295e2144d042d44c141b6dda88bfdea5214b",
       "status" : "CANCELED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22118",
       "triggerID" : "1aac295e2144d042d44c141b6dda88bfdea5214b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "a928b42d37aea7e709503facf5d45717ab439947",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "a928b42d37aea7e709503facf5d45717ab439947",
       "triggerType" : "PUSH"
     }, {
       "hash" : "146063d345435024451246fcc66eb4a235309439",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22149",
       "triggerID" : "146063d345435024451246fcc66eb4a235309439",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b1b4dae27a1b4a030596cf9fce7cba1a56c1290d",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "b1b4dae27a1b4a030596cf9fce7cba1a56c1290d",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 1aac295e2144d042d44c141b6dda88bfdea5214b Azure: [CANCELED](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22118) 
   * a928b42d37aea7e709503facf5d45717ab439947 UNKNOWN
   * 146063d345435024451246fcc66eb4a235309439 Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22149) 
   * b1b4dae27a1b4a030596cf9fce7cba1a56c1290d 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.

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 #16817: [FLINK-23767][streaming] FLIP-180: Adjust StreamStatus and Idleness definition.

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #16817:
URL: https://github.com/apache/flink/pull/16817#issuecomment-898452176


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "4e707fd29a0a3935096ce09e5a46efa4cf171f25",
       "status" : "CANCELED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22114",
       "triggerID" : "4e707fd29a0a3935096ce09e5a46efa4cf171f25",
       "triggerType" : "PUSH"
     }, {
       "hash" : "1aac295e2144d042d44c141b6dda88bfdea5214b",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22118",
       "triggerID" : "1aac295e2144d042d44c141b6dda88bfdea5214b",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 4e707fd29a0a3935096ce09e5a46efa4cf171f25 Azure: [CANCELED](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22114) 
   * 1aac295e2144d042d44c141b6dda88bfdea5214b Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22118) 
   
   <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.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] AHeise commented on a change in pull request #16817: [FLINK-23767][streaming] FLIP-180: Adjust StreamStatus and Idleness definition.

Posted by GitBox <gi...@apache.org>.
AHeise commented on a change in pull request #16817:
URL: https://github.com/apache/flink/pull/16817#discussion_r689348065



##########
File path: flink-core/src/main/java/org/apache/flink/api/common/eventtime/CombinedWatermarkStatus.java
##########
@@ -69,7 +69,6 @@ public boolean updateCombinedWatermark() {
         // if we don't have any outputs minimumOverAllOutputs is not valid, it's still
         // at its initial Long.MAX_VALUE state and we must not emit that
         if (partialWatermarks.isEmpty()) {
-            this.idle = combinedWatermark > Long.MIN_VALUE;

Review comment:
       Good question; I'm also not sure if it's trivial to implement on a higher level... I'm almost assuming that source implementors need to implement it themselves. But afaik we also don't encourage it. @dawidwys WDYT?




-- 
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] AHeise commented on a change in pull request #16817: [FLINK-23767][streaming] FLIP-180: Adjust StreamStatus and Idleness definition.

Posted by GitBox <gi...@apache.org>.
AHeise commented on a change in pull request #16817:
URL: https://github.com/apache/flink/pull/16817#discussion_r688510015



##########
File path: flink-streaming-java/src/main/java/org/apache/flink/streaming/api/operators/source/WatermarkToDataOutput.java
##########
@@ -83,4 +80,25 @@ public void markIdle() {
             throw new ExceptionInChainedOperatorException(e);
         }
     }
+
+    @Override
+    public void markActive() {
+        try {
+            markActiveInternally();
+        } catch (ExceptionInChainedOperatorException e) {
+            throw e;
+        } catch (Exception e) {
+            throw new ExceptionInChainedOperatorException(e);
+        }
+    }

Review comment:
       This method did not exist before; I copied the handling from #markIdle and #emitWatermark without thinking too much tbh.




-- 
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 #16817: [FLINK-23767][streaming] FLIP-180: Adjust StreamStatus and Idleness definition.

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #16817:
URL: https://github.com/apache/flink/pull/16817#issuecomment-898452176


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "4e707fd29a0a3935096ce09e5a46efa4cf171f25",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22114",
       "triggerID" : "4e707fd29a0a3935096ce09e5a46efa4cf171f25",
       "triggerType" : "PUSH"
     }, {
       "hash" : "1aac295e2144d042d44c141b6dda88bfdea5214b",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22118",
       "triggerID" : "1aac295e2144d042d44c141b6dda88bfdea5214b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "a928b42d37aea7e709503facf5d45717ab439947",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "a928b42d37aea7e709503facf5d45717ab439947",
       "triggerType" : "PUSH"
     }, {
       "hash" : "146063d345435024451246fcc66eb4a235309439",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22149",
       "triggerID" : "146063d345435024451246fcc66eb4a235309439",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b1b4dae27a1b4a030596cf9fce7cba1a56c1290d",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22152",
       "triggerID" : "b1b4dae27a1b4a030596cf9fce7cba1a56c1290d",
       "triggerType" : "PUSH"
     }, {
       "hash" : "8bd74477e5d245ad8e2c480bcb85f9c040743406",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22156",
       "triggerID" : "8bd74477e5d245ad8e2c480bcb85f9c040743406",
       "triggerType" : "PUSH"
     }, {
       "hash" : "786da0bb5582146e87a74daf96540c9ce73af426",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "786da0bb5582146e87a74daf96540c9ce73af426",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b8494a9bcd18e0893826253da7da303e136c1499",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22186",
       "triggerID" : "b8494a9bcd18e0893826253da7da303e136c1499",
       "triggerType" : "PUSH"
     }, {
       "hash" : "aba07324c2ae4cc5410090d5ef5d5b776c7781f8",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22261",
       "triggerID" : "aba07324c2ae4cc5410090d5ef5d5b776c7781f8",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * a928b42d37aea7e709503facf5d45717ab439947 UNKNOWN
   * 786da0bb5582146e87a74daf96540c9ce73af426 UNKNOWN
   * b8494a9bcd18e0893826253da7da303e136c1499 Azure: [SUCCESS](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22186) 
   * aba07324c2ae4cc5410090d5ef5d5b776c7781f8 Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22261) 
   
   <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.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] AHeise merged pull request #16817: [FLINK-23767][streaming] FLIP-180: Adjust StreamStatus and Idleness definition.

Posted by GitBox <gi...@apache.org>.
AHeise merged pull request #16817:
URL: https://github.com/apache/flink/pull/16817


   


-- 
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 #16817: [FLINK-23767][streaming] FLIP-180: Adjust StreamStatus and Idleness definition.

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #16817:
URL: https://github.com/apache/flink/pull/16817#issuecomment-898452176


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "4e707fd29a0a3935096ce09e5a46efa4cf171f25",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22114",
       "triggerID" : "4e707fd29a0a3935096ce09e5a46efa4cf171f25",
       "triggerType" : "PUSH"
     }, {
       "hash" : "1aac295e2144d042d44c141b6dda88bfdea5214b",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22118",
       "triggerID" : "1aac295e2144d042d44c141b6dda88bfdea5214b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "a928b42d37aea7e709503facf5d45717ab439947",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "a928b42d37aea7e709503facf5d45717ab439947",
       "triggerType" : "PUSH"
     }, {
       "hash" : "146063d345435024451246fcc66eb4a235309439",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22149",
       "triggerID" : "146063d345435024451246fcc66eb4a235309439",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b1b4dae27a1b4a030596cf9fce7cba1a56c1290d",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22152",
       "triggerID" : "b1b4dae27a1b4a030596cf9fce7cba1a56c1290d",
       "triggerType" : "PUSH"
     }, {
       "hash" : "8bd74477e5d245ad8e2c480bcb85f9c040743406",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22156",
       "triggerID" : "8bd74477e5d245ad8e2c480bcb85f9c040743406",
       "triggerType" : "PUSH"
     }, {
       "hash" : "786da0bb5582146e87a74daf96540c9ce73af426",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "786da0bb5582146e87a74daf96540c9ce73af426",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b8494a9bcd18e0893826253da7da303e136c1499",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "b8494a9bcd18e0893826253da7da303e136c1499",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * a928b42d37aea7e709503facf5d45717ab439947 UNKNOWN
   * 8bd74477e5d245ad8e2c480bcb85f9c040743406 Azure: [FAILURE](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22156) 
   * 786da0bb5582146e87a74daf96540c9ce73af426 UNKNOWN
   * b8494a9bcd18e0893826253da7da303e136c1499 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.

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 #16817: [FLINK-23767][streaming] FLIP-180: Adjust StreamStatus and Idleness definition.

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #16817:
URL: https://github.com/apache/flink/pull/16817#issuecomment-898452176


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "4e707fd29a0a3935096ce09e5a46efa4cf171f25",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22114",
       "triggerID" : "4e707fd29a0a3935096ce09e5a46efa4cf171f25",
       "triggerType" : "PUSH"
     }, {
       "hash" : "1aac295e2144d042d44c141b6dda88bfdea5214b",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22118",
       "triggerID" : "1aac295e2144d042d44c141b6dda88bfdea5214b",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 4e707fd29a0a3935096ce09e5a46efa4cf171f25 Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22114) 
   * 1aac295e2144d042d44c141b6dda88bfdea5214b Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22118) 
   
   <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.

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 #16817: [FLINK-23767][streaming] FLIP-180: Adjust StreamStatus and Idleness definition.

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #16817:
URL: https://github.com/apache/flink/pull/16817#issuecomment-898452176


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "4e707fd29a0a3935096ce09e5a46efa4cf171f25",
       "status" : "CANCELED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22114",
       "triggerID" : "4e707fd29a0a3935096ce09e5a46efa4cf171f25",
       "triggerType" : "PUSH"
     }, {
       "hash" : "1aac295e2144d042d44c141b6dda88bfdea5214b",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22118",
       "triggerID" : "1aac295e2144d042d44c141b6dda88bfdea5214b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "a928b42d37aea7e709503facf5d45717ab439947",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "a928b42d37aea7e709503facf5d45717ab439947",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 4e707fd29a0a3935096ce09e5a46efa4cf171f25 Azure: [CANCELED](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22114) 
   * 1aac295e2144d042d44c141b6dda88bfdea5214b Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22118) 
   * a928b42d37aea7e709503facf5d45717ab439947 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.

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 #16817: [FLINK-23767][streaming] FLIP-180: Adjust StreamStatus and Idleness definition.

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #16817:
URL: https://github.com/apache/flink/pull/16817#issuecomment-898452176


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "4e707fd29a0a3935096ce09e5a46efa4cf171f25",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22114",
       "triggerID" : "4e707fd29a0a3935096ce09e5a46efa4cf171f25",
       "triggerType" : "PUSH"
     }, {
       "hash" : "1aac295e2144d042d44c141b6dda88bfdea5214b",
       "status" : "CANCELED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22118",
       "triggerID" : "1aac295e2144d042d44c141b6dda88bfdea5214b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "a928b42d37aea7e709503facf5d45717ab439947",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "a928b42d37aea7e709503facf5d45717ab439947",
       "triggerType" : "PUSH"
     }, {
       "hash" : "146063d345435024451246fcc66eb4a235309439",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22149",
       "triggerID" : "146063d345435024451246fcc66eb4a235309439",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b1b4dae27a1b4a030596cf9fce7cba1a56c1290d",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22152",
       "triggerID" : "b1b4dae27a1b4a030596cf9fce7cba1a56c1290d",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 1aac295e2144d042d44c141b6dda88bfdea5214b Azure: [CANCELED](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22118) 
   * a928b42d37aea7e709503facf5d45717ab439947 UNKNOWN
   * 146063d345435024451246fcc66eb4a235309439 Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22149) 
   * b1b4dae27a1b4a030596cf9fce7cba1a56c1290d Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22152) 
   
   <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.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] fapaul commented on a change in pull request #16817: [FLINK-23767][streaming] FLIP-180: Adjust StreamStatus and Idleness definition.

Posted by GitBox <gi...@apache.org>.
fapaul commented on a change in pull request #16817:
URL: https://github.com/apache/flink/pull/16817#discussion_r689302172



##########
File path: flink-core/src/main/java/org/apache/flink/api/common/eventtime/CombinedWatermarkStatus.java
##########
@@ -69,7 +69,6 @@ public boolean updateCombinedWatermark() {
         // if we don't have any outputs minimumOverAllOutputs is not valid, it's still
         // at its initial Long.MAX_VALUE state and we must not emit that
         if (partialWatermarks.isEmpty()) {
-            this.idle = combinedWatermark > Long.MIN_VALUE;

Review comment:
       Do we want to provide some default Watermark strategy to mimic this behavior? This can be probably done through a follow-up.




-- 
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 #16817: [FLINK-23767][streaming] FLIP-180: Adjust StreamStatus and Idleness definition.

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #16817:
URL: https://github.com/apache/flink/pull/16817#issuecomment-898452176


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "4e707fd29a0a3935096ce09e5a46efa4cf171f25",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22114",
       "triggerID" : "4e707fd29a0a3935096ce09e5a46efa4cf171f25",
       "triggerType" : "PUSH"
     }, {
       "hash" : "1aac295e2144d042d44c141b6dda88bfdea5214b",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "1aac295e2144d042d44c141b6dda88bfdea5214b",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 4e707fd29a0a3935096ce09e5a46efa4cf171f25 Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22114) 
   * 1aac295e2144d042d44c141b6dda88bfdea5214b 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.

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 #16817: [FLINK-23767][streaming] FLIP-180: Adjust StreamStatus and Idleness definition.

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #16817:
URL: https://github.com/apache/flink/pull/16817#issuecomment-898452176


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "4e707fd29a0a3935096ce09e5a46efa4cf171f25",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22114",
       "triggerID" : "4e707fd29a0a3935096ce09e5a46efa4cf171f25",
       "triggerType" : "PUSH"
     }, {
       "hash" : "1aac295e2144d042d44c141b6dda88bfdea5214b",
       "status" : "CANCELED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22118",
       "triggerID" : "1aac295e2144d042d44c141b6dda88bfdea5214b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "a928b42d37aea7e709503facf5d45717ab439947",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "a928b42d37aea7e709503facf5d45717ab439947",
       "triggerType" : "PUSH"
     }, {
       "hash" : "146063d345435024451246fcc66eb4a235309439",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "146063d345435024451246fcc66eb4a235309439",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 1aac295e2144d042d44c141b6dda88bfdea5214b Azure: [CANCELED](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22118) 
   * a928b42d37aea7e709503facf5d45717ab439947 UNKNOWN
   * 146063d345435024451246fcc66eb4a235309439 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.

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 #16817: [FLINK-23767][streaming] FLIP-180: Adjust StreamStatus and Idleness definition.

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #16817:
URL: https://github.com/apache/flink/pull/16817#issuecomment-898452176


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "4e707fd29a0a3935096ce09e5a46efa4cf171f25",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22114",
       "triggerID" : "4e707fd29a0a3935096ce09e5a46efa4cf171f25",
       "triggerType" : "PUSH"
     }, {
       "hash" : "1aac295e2144d042d44c141b6dda88bfdea5214b",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22118",
       "triggerID" : "1aac295e2144d042d44c141b6dda88bfdea5214b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "a928b42d37aea7e709503facf5d45717ab439947",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "a928b42d37aea7e709503facf5d45717ab439947",
       "triggerType" : "PUSH"
     }, {
       "hash" : "146063d345435024451246fcc66eb4a235309439",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22149",
       "triggerID" : "146063d345435024451246fcc66eb4a235309439",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b1b4dae27a1b4a030596cf9fce7cba1a56c1290d",
       "status" : "CANCELED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22152",
       "triggerID" : "b1b4dae27a1b4a030596cf9fce7cba1a56c1290d",
       "triggerType" : "PUSH"
     }, {
       "hash" : "8bd74477e5d245ad8e2c480bcb85f9c040743406",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22156",
       "triggerID" : "8bd74477e5d245ad8e2c480bcb85f9c040743406",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * a928b42d37aea7e709503facf5d45717ab439947 UNKNOWN
   * b1b4dae27a1b4a030596cf9fce7cba1a56c1290d Azure: [CANCELED](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22152) 
   * 8bd74477e5d245ad8e2c480bcb85f9c040743406 Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22156) 
   
   <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.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] AHeise commented on a change in pull request #16817: [FLINK-23767][streaming] FLIP-180: Adjust StreamStatus and Idleness definition.

Posted by GitBox <gi...@apache.org>.
AHeise commented on a change in pull request #16817:
URL: https://github.com/apache/flink/pull/16817#discussion_r688509218



##########
File path: flink-connectors/flink-connector-kafka/src/main/java/org/apache/flink/streaming/connectors/kafka/internals/SourceContextWatermarkOutputAdapter.java
##########
@@ -42,4 +42,9 @@ public void emitWatermark(Watermark watermark) {
     public void markIdle() {
         sourceContext.markAsTemporarilyIdle();
     }
+
+    @Override
+    public void markActive() {
+        // will be set active with next watermark

Review comment:
       This is the old interface; so I'd like to avoid 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 commented on pull request #16817: [FLINK-23767][streaming] FLIP-180: Adjust StreamStatus and Idleness definition.

Posted by GitBox <gi...@apache.org>.
flinkbot commented on pull request #16817:
URL: https://github.com/apache/flink/pull/16817#issuecomment-898452176


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "4e707fd29a0a3935096ce09e5a46efa4cf171f25",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "4e707fd29a0a3935096ce09e5a46efa4cf171f25",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 4e707fd29a0a3935096ce09e5a46efa4cf171f25 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.

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 #16817: [FLINK-23767][streaming] FLIP-180: Adjust StreamStatus and Idleness definition.

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on pull request #16817:
URL: https://github.com/apache/flink/pull/16817#issuecomment-898452176


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "4e707fd29a0a3935096ce09e5a46efa4cf171f25",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22114",
       "triggerID" : "4e707fd29a0a3935096ce09e5a46efa4cf171f25",
       "triggerType" : "PUSH"
     }, {
       "hash" : "1aac295e2144d042d44c141b6dda88bfdea5214b",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22118",
       "triggerID" : "1aac295e2144d042d44c141b6dda88bfdea5214b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "a928b42d37aea7e709503facf5d45717ab439947",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "a928b42d37aea7e709503facf5d45717ab439947",
       "triggerType" : "PUSH"
     }, {
       "hash" : "146063d345435024451246fcc66eb4a235309439",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22149",
       "triggerID" : "146063d345435024451246fcc66eb4a235309439",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b1b4dae27a1b4a030596cf9fce7cba1a56c1290d",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22152",
       "triggerID" : "b1b4dae27a1b4a030596cf9fce7cba1a56c1290d",
       "triggerType" : "PUSH"
     }, {
       "hash" : "8bd74477e5d245ad8e2c480bcb85f9c040743406",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22156",
       "triggerID" : "8bd74477e5d245ad8e2c480bcb85f9c040743406",
       "triggerType" : "PUSH"
     }, {
       "hash" : "786da0bb5582146e87a74daf96540c9ce73af426",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "786da0bb5582146e87a74daf96540c9ce73af426",
       "triggerType" : "PUSH"
     }, {
       "hash" : "b8494a9bcd18e0893826253da7da303e136c1499",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22186",
       "triggerID" : "b8494a9bcd18e0893826253da7da303e136c1499",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * a928b42d37aea7e709503facf5d45717ab439947 UNKNOWN
   * 8bd74477e5d245ad8e2c480bcb85f9c040743406 Azure: [FAILURE](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22156) 
   * 786da0bb5582146e87a74daf96540c9ce73af426 UNKNOWN
   * b8494a9bcd18e0893826253da7da303e136c1499 Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22186) 
   
   <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.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [flink] AHeise commented on a change in pull request #16817: [FLINK-23767][streaming] FLIP-180: Adjust StreamStatus and Idleness definition.

Posted by GitBox <gi...@apache.org>.
AHeise commented on a change in pull request #16817:
URL: https://github.com/apache/flink/pull/16817#discussion_r688508984



##########
File path: flink-streaming-java/src/main/java/org/apache/flink/streaming/runtime/watermarkstatus/WatermarkStatus.java
##########
@@ -28,11 +28,11 @@
 /**
  * A Stream Status element informs stream tasks whether or not they should continue to expect

Review comment:
       I added 3 more grep patterns. Good catch!




-- 
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 #16817: [FLINK-23767][streaming] FLIP-180: Adjust StreamStatus and Idleness definition.

Posted by GitBox <gi...@apache.org>.
flinkbot commented on pull request #16817:
URL: https://github.com/apache/flink/pull/16817#issuecomment-898429300


   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 4e707fd29a0a3935096ce09e5a46efa4cf171f25 (Fri Aug 13 12:37:58 UTC 2021)
   
   **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-23767).** 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