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/21 16:06:05 UTC

[GitHub] [flink] link3280 opened a new pull request #16927: [FLINK-18592][Connectors/FileSystem] StreamingFileSink fails due to truncating HDFS file failure

link3280 opened a new pull request #16927:
URL: https://github.com/apache/flink/pull/16927


   ## What is the purpose of the change
   
   In the case of HDFS, upon job recovery, StreamingFileSink would not wait for lease recoveries to complete before truncating a file (now it would try to truncate the file after a timeout, no matter if the lease is revoked or not). This may lead to an IOException because the file length could be behind the actual length and the checkpointed length. What's worse, the job may fall into an endless restart loop, because a new invoke of #recoverLease will interrupt the previous one (see [HBase's RecoverLeaseFSUtils](https://github.com/apache/hbase/blob/a9a1b9524daa9e33541c655620b9c07d5a93d533/hbase-asyncfs/src/main/java/org/apache/hadoop/hbase/util/RecoverLeaseFSUtils.java#L68)).
   
   Moreover, we should wait for block recoveries which may be triggered by truncate calls (as mentioned in [Hadoop FileSystem Javadoc](https://hadoop.apache.org/docs/current/api/org/apache/hadoop/fs/FileSystem.html#truncate)), before appending to the recovered files.
   
   This PR fixes the problem, but with two hard-coded timeout thresholds since it requires interfaces changes to make these timeouts configurable. If the lease recovery of the block recovery fails, an IOException would be thrown, which triggers a restart of the job.
   
   ## Brief change log
   
   - Wait for lease recoveries to complete before truncating in-progress files.
   - Wait for possible block recoveries to complete before appending to recovered files.
   
   ## Verifying this change
   
   I simply tested it on an HDFS cluster with 3 nodes, but it may require further tests.
   
   This change added tests and can be verified as follows:
   
   1. Start a Flink job writing recoverable HDFS files.
   2. Manually kill a DateNode which StreamingFileSink is writing to (to trigger lease recovery and block recovery).
   3. Restart the job from the latest successful checkpoint. The files should be properly recovered.
   
   ## 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 / 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 commented on pull request #16927: [FLINK-18592][Connectors/FileSystem] StreamingFileSink fails due to truncating HDFS file failure

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


   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 d0fbb5aa88be503514642bb0571a4af183a21edf (Sat Aug 21 16:08:14 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-18592).** 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] link3280 commented on a change in pull request #16927: [FLINK-18592][Connectors/FileSystem] StreamingFileSink fails due to truncating HDFS file failure

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



##########
File path: flink-filesystems/flink-hadoop-fs/src/main/java/org/apache/flink/runtime/fs/hdfs/HadoopRecoverableFsDataOutputStream.java
##########
@@ -53,7 +56,9 @@
 @Internal
 class HadoopRecoverableFsDataOutputStream extends RecoverableFsDataOutputStream {
 
-    private static final long LEASE_TIMEOUT = 100_000L;
+    private static final long LEASE_RECOVERY_TIMEOUT_MS = 9_000_000L;

Review comment:
       @aubdiy Your blog is very informative. Thanks. But I didn't receive your friend request. Could you check if it succeeded?




-- 
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 #16927: [FLINK-18592][Connectors/FileSystem] StreamingFileSink fails due to truncating HDFS file failure

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


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "d0fbb5aa88be503514642bb0571a4af183a21edf",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22603",
       "triggerID" : "d0fbb5aa88be503514642bb0571a4af183a21edf",
       "triggerType" : "PUSH"
     }, {
       "hash" : "eb7461868ad1a358c99fbc8bb71a81cf8e274b94",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22609",
       "triggerID" : "eb7461868ad1a358c99fbc8bb71a81cf8e274b94",
       "triggerType" : "PUSH"
     }, {
       "hash" : "d2d4f6457570342426d401ddc42264e648499f47",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22614",
       "triggerID" : "d2d4f6457570342426d401ddc42264e648499f47",
       "triggerType" : "PUSH"
     }, {
       "hash" : "92a72d04d07cfdbe1ef3a56d8a0a62977705436d",
       "status" : "CANCELED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22625",
       "triggerID" : "92a72d04d07cfdbe1ef3a56d8a0a62977705436d",
       "triggerType" : "PUSH"
     }, {
       "hash" : "92a72d04d07cfdbe1ef3a56d8a0a62977705436d",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22627",
       "triggerID" : "903407935",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "92a72d04d07cfdbe1ef3a56d8a0a62977705436d",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22627",
       "triggerID" : "92a72d04d07cfdbe1ef3a56d8a0a62977705436d",
       "triggerType" : "PUSH"
     }, {
       "hash" : "92a72d04d07cfdbe1ef3a56d8a0a62977705436d",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22649",
       "triggerID" : "903610520",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "92a72d04d07cfdbe1ef3a56d8a0a62977705436d",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22627",
       "triggerID" : "903610520",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "92a72d04d07cfdbe1ef3a56d8a0a62977705436d",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=24421",
       "triggerID" : "925527858",
       "triggerType" : "MANUAL"
     } ]
   }-->
   ## CI report:
   
   * 92a72d04d07cfdbe1ef3a56d8a0a62977705436d Azure: [CANCELED](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22625) Azure: [FAILURE](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22649) Azure: [FAILURE](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22627) Azure: [FAILURE](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=24421) 
   
   <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] link3280 edited a comment on pull request #16927: [FLINK-18592][Connectors/FileSystem] StreamingFileSink fails due to truncating HDFS file failure

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


   It's a bit weird that CI was good on my forked repo. I'm giving it one more shot. 


-- 
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 #16927: [FLINK-18592][Connectors/FileSystem] StreamingFileSink fails due to truncating HDFS file failure

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


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "d0fbb5aa88be503514642bb0571a4af183a21edf",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22603",
       "triggerID" : "d0fbb5aa88be503514642bb0571a4af183a21edf",
       "triggerType" : "PUSH"
     }, {
       "hash" : "eb7461868ad1a358c99fbc8bb71a81cf8e274b94",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "eb7461868ad1a358c99fbc8bb71a81cf8e274b94",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * d0fbb5aa88be503514642bb0571a4af183a21edf Azure: [FAILURE](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22603) 
   * eb7461868ad1a358c99fbc8bb71a81cf8e274b94 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 #16927: [FLINK-18592][Connectors/FileSystem] StreamingFileSink fails due to truncating HDFS file failure

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


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "d0fbb5aa88be503514642bb0571a4af183a21edf",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22603",
       "triggerID" : "d0fbb5aa88be503514642bb0571a4af183a21edf",
       "triggerType" : "PUSH"
     }, {
       "hash" : "eb7461868ad1a358c99fbc8bb71a81cf8e274b94",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22609",
       "triggerID" : "eb7461868ad1a358c99fbc8bb71a81cf8e274b94",
       "triggerType" : "PUSH"
     }, {
       "hash" : "d2d4f6457570342426d401ddc42264e648499f47",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22614",
       "triggerID" : "d2d4f6457570342426d401ddc42264e648499f47",
       "triggerType" : "PUSH"
     }, {
       "hash" : "92a72d04d07cfdbe1ef3a56d8a0a62977705436d",
       "status" : "CANCELED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22625",
       "triggerID" : "92a72d04d07cfdbe1ef3a56d8a0a62977705436d",
       "triggerType" : "PUSH"
     }, {
       "hash" : "92a72d04d07cfdbe1ef3a56d8a0a62977705436d",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22627",
       "triggerID" : "903407935",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "92a72d04d07cfdbe1ef3a56d8a0a62977705436d",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22627",
       "triggerID" : "92a72d04d07cfdbe1ef3a56d8a0a62977705436d",
       "triggerType" : "PUSH"
     }, {
       "hash" : "92a72d04d07cfdbe1ef3a56d8a0a62977705436d",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22649",
       "triggerID" : "903610520",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "92a72d04d07cfdbe1ef3a56d8a0a62977705436d",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22627",
       "triggerID" : "903610520",
       "triggerType" : "MANUAL"
     } ]
   }-->
   ## CI report:
   
   * 92a72d04d07cfdbe1ef3a56d8a0a62977705436d Azure: [CANCELED](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22625) Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22649) Azure: [FAILURE](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22627) 
   
   <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] aubdiy commented on a change in pull request #16927: [FLINK-18592][Connectors/FileSystem] StreamingFileSink fails due to truncating HDFS file failure

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



##########
File path: flink-filesystems/flink-hadoop-fs/src/main/java/org/apache/flink/runtime/fs/hdfs/HadoopRecoverableFsDataOutputStream.java
##########
@@ -53,7 +56,9 @@
 @Internal
 class HadoopRecoverableFsDataOutputStream extends RecoverableFsDataOutputStream {
 
-    private static final long LEASE_TIMEOUT = 100_000L;
+    private static final long LEASE_RECOVERY_TIMEOUT_MS = 9_000_000L;

Review comment:
       @link3280    i have added you ,   and  Wrote a blog about this issue.




-- 
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] link3280 commented on pull request #16927: [FLINK-18592][Connectors/FileSystem] StreamingFileSink fails due to truncating HDFS file failure

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


   @flinkbot run azure


-- 
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 #16927: [FLINK-18592][Connectors/FileSystem] StreamingFileSink fails due to truncating HDFS file failure

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


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "d0fbb5aa88be503514642bb0571a4af183a21edf",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "d0fbb5aa88be503514642bb0571a4af183a21edf",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * d0fbb5aa88be503514642bb0571a4af183a21edf 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 #16927: [FLINK-18592][Connectors/FileSystem] StreamingFileSink fails due to truncating HDFS file failure

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


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "d0fbb5aa88be503514642bb0571a4af183a21edf",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22603",
       "triggerID" : "d0fbb5aa88be503514642bb0571a4af183a21edf",
       "triggerType" : "PUSH"
     }, {
       "hash" : "eb7461868ad1a358c99fbc8bb71a81cf8e274b94",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22609",
       "triggerID" : "eb7461868ad1a358c99fbc8bb71a81cf8e274b94",
       "triggerType" : "PUSH"
     }, {
       "hash" : "d2d4f6457570342426d401ddc42264e648499f47",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22614",
       "triggerID" : "d2d4f6457570342426d401ddc42264e648499f47",
       "triggerType" : "PUSH"
     }, {
       "hash" : "92a72d04d07cfdbe1ef3a56d8a0a62977705436d",
       "status" : "CANCELED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22625",
       "triggerID" : "92a72d04d07cfdbe1ef3a56d8a0a62977705436d",
       "triggerType" : "PUSH"
     }, {
       "hash" : "92a72d04d07cfdbe1ef3a56d8a0a62977705436d",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22627",
       "triggerID" : "903407935",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "92a72d04d07cfdbe1ef3a56d8a0a62977705436d",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22627",
       "triggerID" : "92a72d04d07cfdbe1ef3a56d8a0a62977705436d",
       "triggerType" : "PUSH"
     }, {
       "hash" : "92a72d04d07cfdbe1ef3a56d8a0a62977705436d",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22649",
       "triggerID" : "903610520",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "92a72d04d07cfdbe1ef3a56d8a0a62977705436d",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22627",
       "triggerID" : "903610520",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "92a72d04d07cfdbe1ef3a56d8a0a62977705436d",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=24421",
       "triggerID" : "925527858",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "f6eeaac02654638d1265f2e74e03a13defc5ab89",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "f6eeaac02654638d1265f2e74e03a13defc5ab89",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 92a72d04d07cfdbe1ef3a56d8a0a62977705436d Azure: [CANCELED](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22625) Azure: [FAILURE](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22649) Azure: [FAILURE](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22627) Azure: [FAILURE](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=24421) 
   * f6eeaac02654638d1265f2e74e03a13defc5ab89 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 #16927: [FLINK-18592][Connectors/FileSystem] StreamingFileSink fails due to truncating HDFS file failure

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


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "d0fbb5aa88be503514642bb0571a4af183a21edf",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22603",
       "triggerID" : "d0fbb5aa88be503514642bb0571a4af183a21edf",
       "triggerType" : "PUSH"
     }, {
       "hash" : "eb7461868ad1a358c99fbc8bb71a81cf8e274b94",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22609",
       "triggerID" : "eb7461868ad1a358c99fbc8bb71a81cf8e274b94",
       "triggerType" : "PUSH"
     }, {
       "hash" : "d2d4f6457570342426d401ddc42264e648499f47",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "d2d4f6457570342426d401ddc42264e648499f47",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * eb7461868ad1a358c99fbc8bb71a81cf8e274b94 Azure: [FAILURE](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22609) 
   * d2d4f6457570342426d401ddc42264e648499f47 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 #16927: [FLINK-18592][Connectors/FileSystem] StreamingFileSink fails due to truncating HDFS file failure

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


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "d0fbb5aa88be503514642bb0571a4af183a21edf",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22603",
       "triggerID" : "d0fbb5aa88be503514642bb0571a4af183a21edf",
       "triggerType" : "PUSH"
     }, {
       "hash" : "eb7461868ad1a358c99fbc8bb71a81cf8e274b94",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22609",
       "triggerID" : "eb7461868ad1a358c99fbc8bb71a81cf8e274b94",
       "triggerType" : "PUSH"
     }, {
       "hash" : "d2d4f6457570342426d401ddc42264e648499f47",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22614",
       "triggerID" : "d2d4f6457570342426d401ddc42264e648499f47",
       "triggerType" : "PUSH"
     }, {
       "hash" : "92a72d04d07cfdbe1ef3a56d8a0a62977705436d",
       "status" : "CANCELED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22625",
       "triggerID" : "92a72d04d07cfdbe1ef3a56d8a0a62977705436d",
       "triggerType" : "PUSH"
     }, {
       "hash" : "92a72d04d07cfdbe1ef3a56d8a0a62977705436d",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22627",
       "triggerID" : "903407935",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "92a72d04d07cfdbe1ef3a56d8a0a62977705436d",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22627",
       "triggerID" : "92a72d04d07cfdbe1ef3a56d8a0a62977705436d",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 92a72d04d07cfdbe1ef3a56d8a0a62977705436d Azure: [CANCELED](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22625) Azure: [FAILURE](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22627) 
   
   <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 #16927: [FLINK-18592][Connectors/FileSystem] StreamingFileSink fails due to truncating HDFS file failure

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


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "d0fbb5aa88be503514642bb0571a4af183a21edf",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22603",
       "triggerID" : "d0fbb5aa88be503514642bb0571a4af183a21edf",
       "triggerType" : "PUSH"
     }, {
       "hash" : "eb7461868ad1a358c99fbc8bb71a81cf8e274b94",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22609",
       "triggerID" : "eb7461868ad1a358c99fbc8bb71a81cf8e274b94",
       "triggerType" : "PUSH"
     }, {
       "hash" : "d2d4f6457570342426d401ddc42264e648499f47",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22614",
       "triggerID" : "d2d4f6457570342426d401ddc42264e648499f47",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * d2d4f6457570342426d401ddc42264e648499f47 Azure: [FAILURE](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22614) 
   
   <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] aubdiy commented on a change in pull request #16927: [FLINK-18592][Connectors/FileSystem] StreamingFileSink fails due to truncating HDFS file failure

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



##########
File path: flink-filesystems/flink-hadoop-fs/src/main/java/org/apache/flink/runtime/fs/hdfs/HadoopRecoverableFsDataOutputStream.java
##########
@@ -53,7 +56,9 @@
 @Internal
 class HadoopRecoverableFsDataOutputStream extends RecoverableFsDataOutputStream {
 
-    private static final long LEASE_TIMEOUT = 100_000L;
+    private static final long LEASE_RECOVERY_TIMEOUT_MS = 9_000_000L;

Review comment:
       @link3280    i have added you ,   and  Wrote a blog about this issue.

##########
File path: flink-filesystems/flink-hadoop-fs/src/main/java/org/apache/flink/runtime/fs/hdfs/HadoopRecoverableFsDataOutputStream.java
##########
@@ -53,7 +56,9 @@
 @Internal
 class HadoopRecoverableFsDataOutputStream extends RecoverableFsDataOutputStream {
 
-    private static final long LEASE_TIMEOUT = 100_000L;
+    private static final long LEASE_RECOVERY_TIMEOUT_MS = 9_000_000L;

Review comment:
       @link3280    i have added you ,   and  Wrote a blog about this issue.    [https://blog.csdn.net/aubdiy/article/details/122941621](https://blog.csdn.net/aubdiy/article/details/122941621)




-- 
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 #16927: [FLINK-18592][Connectors/FileSystem] StreamingFileSink fails due to truncating HDFS file failure

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


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "d0fbb5aa88be503514642bb0571a4af183a21edf",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22603",
       "triggerID" : "d0fbb5aa88be503514642bb0571a4af183a21edf",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * d0fbb5aa88be503514642bb0571a4af183a21edf Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22603) 
   
   <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 #16927: [FLINK-18592][Connectors/FileSystem] StreamingFileSink fails due to truncating HDFS file failure

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


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "d0fbb5aa88be503514642bb0571a4af183a21edf",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22603",
       "triggerID" : "d0fbb5aa88be503514642bb0571a4af183a21edf",
       "triggerType" : "PUSH"
     }, {
       "hash" : "eb7461868ad1a358c99fbc8bb71a81cf8e274b94",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22609",
       "triggerID" : "eb7461868ad1a358c99fbc8bb71a81cf8e274b94",
       "triggerType" : "PUSH"
     }, {
       "hash" : "d2d4f6457570342426d401ddc42264e648499f47",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22614",
       "triggerID" : "d2d4f6457570342426d401ddc42264e648499f47",
       "triggerType" : "PUSH"
     }, {
       "hash" : "92a72d04d07cfdbe1ef3a56d8a0a62977705436d",
       "status" : "CANCELED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22625",
       "triggerID" : "92a72d04d07cfdbe1ef3a56d8a0a62977705436d",
       "triggerType" : "PUSH"
     }, {
       "hash" : "92a72d04d07cfdbe1ef3a56d8a0a62977705436d",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22627",
       "triggerID" : "903407935",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "92a72d04d07cfdbe1ef3a56d8a0a62977705436d",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22627",
       "triggerID" : "92a72d04d07cfdbe1ef3a56d8a0a62977705436d",
       "triggerType" : "PUSH"
     }, {
       "hash" : "92a72d04d07cfdbe1ef3a56d8a0a62977705436d",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22649",
       "triggerID" : "903610520",
       "triggerType" : "MANUAL"
     } ]
   }-->
   ## CI report:
   
   * 92a72d04d07cfdbe1ef3a56d8a0a62977705436d Azure: [CANCELED](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22625) Azure: [FAILURE](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22627) Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22649) 
   
   <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 #16927: [FLINK-18592][Connectors/FileSystem] StreamingFileSink fails due to truncating HDFS file failure

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


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "d0fbb5aa88be503514642bb0571a4af183a21edf",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22603",
       "triggerID" : "d0fbb5aa88be503514642bb0571a4af183a21edf",
       "triggerType" : "PUSH"
     }, {
       "hash" : "eb7461868ad1a358c99fbc8bb71a81cf8e274b94",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22609",
       "triggerID" : "eb7461868ad1a358c99fbc8bb71a81cf8e274b94",
       "triggerType" : "PUSH"
     }, {
       "hash" : "d2d4f6457570342426d401ddc42264e648499f47",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22614",
       "triggerID" : "d2d4f6457570342426d401ddc42264e648499f47",
       "triggerType" : "PUSH"
     }, {
       "hash" : "92a72d04d07cfdbe1ef3a56d8a0a62977705436d",
       "status" : "CANCELED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22625",
       "triggerID" : "92a72d04d07cfdbe1ef3a56d8a0a62977705436d",
       "triggerType" : "PUSH"
     }, {
       "hash" : "92a72d04d07cfdbe1ef3a56d8a0a62977705436d",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22627",
       "triggerID" : "903407935",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "92a72d04d07cfdbe1ef3a56d8a0a62977705436d",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22627",
       "triggerID" : "92a72d04d07cfdbe1ef3a56d8a0a62977705436d",
       "triggerType" : "PUSH"
     }, {
       "hash" : "92a72d04d07cfdbe1ef3a56d8a0a62977705436d",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22649",
       "triggerID" : "903610520",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "92a72d04d07cfdbe1ef3a56d8a0a62977705436d",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22627",
       "triggerID" : "903610520",
       "triggerType" : "MANUAL"
     } ]
   }-->
   ## CI report:
   
   * 92a72d04d07cfdbe1ef3a56d8a0a62977705436d Azure: [CANCELED](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22625) Azure: [FAILURE](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22649) Azure: [FAILURE](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22627) 
   
   <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 #16927: [FLINK-18592][Connectors/FileSystem] StreamingFileSink fails due to truncating HDFS file failure

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


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "d0fbb5aa88be503514642bb0571a4af183a21edf",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22603",
       "triggerID" : "d0fbb5aa88be503514642bb0571a4af183a21edf",
       "triggerType" : "PUSH"
     }, {
       "hash" : "eb7461868ad1a358c99fbc8bb71a81cf8e274b94",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22609",
       "triggerID" : "eb7461868ad1a358c99fbc8bb71a81cf8e274b94",
       "triggerType" : "PUSH"
     }, {
       "hash" : "d2d4f6457570342426d401ddc42264e648499f47",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22614",
       "triggerID" : "d2d4f6457570342426d401ddc42264e648499f47",
       "triggerType" : "PUSH"
     }, {
       "hash" : "92a72d04d07cfdbe1ef3a56d8a0a62977705436d",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22625",
       "triggerID" : "92a72d04d07cfdbe1ef3a56d8a0a62977705436d",
       "triggerType" : "PUSH"
     }, {
       "hash" : "92a72d04d07cfdbe1ef3a56d8a0a62977705436d",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22627",
       "triggerID" : "903407935",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "92a72d04d07cfdbe1ef3a56d8a0a62977705436d",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22627",
       "triggerID" : "92a72d04d07cfdbe1ef3a56d8a0a62977705436d",
       "triggerType" : "PUSH"
     }, {
       "hash" : "92a72d04d07cfdbe1ef3a56d8a0a62977705436d",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22649",
       "triggerID" : "903610520",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "92a72d04d07cfdbe1ef3a56d8a0a62977705436d",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22627",
       "triggerID" : "903610520",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "92a72d04d07cfdbe1ef3a56d8a0a62977705436d",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=24421",
       "triggerID" : "925527858",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "f6eeaac02654638d1265f2e74e03a13defc5ab89",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=31741",
       "triggerID" : "f6eeaac02654638d1265f2e74e03a13defc5ab89",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * f6eeaac02654638d1265f2e74e03a13defc5ab89 Azure: [FAILURE](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=31741) 
   
   <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] aubdiy commented on a change in pull request #16927: [FLINK-18592][Connectors/FileSystem] StreamingFileSink fails due to truncating HDFS file failure

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



##########
File path: flink-filesystems/flink-hadoop-fs/src/main/java/org/apache/flink/runtime/fs/hdfs/HadoopRecoverableFsDataOutputStream.java
##########
@@ -53,7 +56,9 @@
 @Internal
 class HadoopRecoverableFsDataOutputStream extends RecoverableFsDataOutputStream {
 
-    private static final long LEASE_TIMEOUT = 100_000L;
+    private static final long LEASE_RECOVERY_TIMEOUT_MS = 9_000_000L;

Review comment:
       @link3280    i have added you ,   and  Wrote a blog about this issue.    [https://blog.csdn.net/aubdiy/article/details/122941621](https://blog.csdn.net/aubdiy/article/details/122941621)




-- 
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] link3280 commented on a change in pull request #16927: [FLINK-18592][Connectors/FileSystem] StreamingFileSink fails due to truncating HDFS file failure

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



##########
File path: flink-filesystems/flink-hadoop-fs/src/main/java/org/apache/flink/runtime/fs/hdfs/HadoopRecoverableFsDataOutputStream.java
##########
@@ -53,7 +56,9 @@
 @Internal
 class HadoopRecoverableFsDataOutputStream extends RecoverableFsDataOutputStream {
 
-    private static final long LEASE_TIMEOUT = 100_000L;
+    private static final long LEASE_RECOVERY_TIMEOUT_MS = 9_000_000L;

Review comment:
       You can contact me at wechat link3280.




-- 
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] link3280 commented on pull request #16927: [FLINK-18592][Connectors/FileSystem] StreamingFileSink fails due to truncating HDFS file failure

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


   @flinkbot run azure


-- 
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 #16927: [FLINK-18592][Connectors/FileSystem] StreamingFileSink fails due to truncating HDFS file failure

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


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "d0fbb5aa88be503514642bb0571a4af183a21edf",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22603",
       "triggerID" : "d0fbb5aa88be503514642bb0571a4af183a21edf",
       "triggerType" : "PUSH"
     }, {
       "hash" : "eb7461868ad1a358c99fbc8bb71a81cf8e274b94",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22609",
       "triggerID" : "eb7461868ad1a358c99fbc8bb71a81cf8e274b94",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * eb7461868ad1a358c99fbc8bb71a81cf8e274b94 Azure: [FAILURE](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22609) 
   
   <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 #16927: [FLINK-18592][Connectors/FileSystem] StreamingFileSink fails due to truncating HDFS file failure

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


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "d0fbb5aa88be503514642bb0571a4af183a21edf",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22603",
       "triggerID" : "d0fbb5aa88be503514642bb0571a4af183a21edf",
       "triggerType" : "PUSH"
     }, {
       "hash" : "eb7461868ad1a358c99fbc8bb71a81cf8e274b94",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22609",
       "triggerID" : "eb7461868ad1a358c99fbc8bb71a81cf8e274b94",
       "triggerType" : "PUSH"
     }, {
       "hash" : "d2d4f6457570342426d401ddc42264e648499f47",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22614",
       "triggerID" : "d2d4f6457570342426d401ddc42264e648499f47",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * eb7461868ad1a358c99fbc8bb71a81cf8e274b94 Azure: [FAILURE](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22609) 
   * d2d4f6457570342426d401ddc42264e648499f47 Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22614) 
   
   <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 #16927: [FLINK-18592][Connectors/FileSystem] StreamingFileSink fails due to truncating HDFS file failure

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


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "d0fbb5aa88be503514642bb0571a4af183a21edf",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22603",
       "triggerID" : "d0fbb5aa88be503514642bb0571a4af183a21edf",
       "triggerType" : "PUSH"
     }, {
       "hash" : "eb7461868ad1a358c99fbc8bb71a81cf8e274b94",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22609",
       "triggerID" : "eb7461868ad1a358c99fbc8bb71a81cf8e274b94",
       "triggerType" : "PUSH"
     }, {
       "hash" : "d2d4f6457570342426d401ddc42264e648499f47",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22614",
       "triggerID" : "d2d4f6457570342426d401ddc42264e648499f47",
       "triggerType" : "PUSH"
     }, {
       "hash" : "92a72d04d07cfdbe1ef3a56d8a0a62977705436d",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22625",
       "triggerID" : "92a72d04d07cfdbe1ef3a56d8a0a62977705436d",
       "triggerType" : "PUSH"
     }, {
       "hash" : "92a72d04d07cfdbe1ef3a56d8a0a62977705436d",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22627",
       "triggerID" : "903407935",
       "triggerType" : "MANUAL"
     } ]
   }-->
   ## CI report:
   
   * d2d4f6457570342426d401ddc42264e648499f47 Azure: [FAILURE](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22614) 
   * 92a72d04d07cfdbe1ef3a56d8a0a62977705436d Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22625) Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22627) 
   
   <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 #16927: [FLINK-18592][Connectors/FileSystem] StreamingFileSink fails due to truncating HDFS file failure

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


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "d0fbb5aa88be503514642bb0571a4af183a21edf",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22603",
       "triggerID" : "d0fbb5aa88be503514642bb0571a4af183a21edf",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * d0fbb5aa88be503514642bb0571a4af183a21edf Azure: [FAILURE](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22603) 
   
   <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] aubdiy commented on a change in pull request #16927: [FLINK-18592][Connectors/FileSystem] StreamingFileSink fails due to truncating HDFS file failure

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



##########
File path: flink-filesystems/flink-hadoop-fs/src/main/java/org/apache/flink/runtime/fs/hdfs/HadoopRecoverableFsDataOutputStream.java
##########
@@ -53,7 +56,9 @@
 @Internal
 class HadoopRecoverableFsDataOutputStream extends RecoverableFsDataOutputStream {
 
-    private static final long LEASE_TIMEOUT = 100_000L;
+    private static final long LEASE_RECOVERY_TIMEOUT_MS = 9_000_000L;

Review comment:
       Reference habse,
   I guess you want to set 'LEASE_RECOVERY_TIMEOUT_MS'  to  `9_00_000L`(15 minute),  not `9_000_000L`




-- 
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] link3280 commented on a change in pull request #16927: [FLINK-18592][Connectors/FileSystem] StreamingFileSink fails due to truncating HDFS file failure

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



##########
File path: flink-filesystems/flink-hadoop-fs/src/main/java/org/apache/flink/runtime/fs/hdfs/HadoopRecoverableFsDataOutputStream.java
##########
@@ -53,7 +56,9 @@
 @Internal
 class HadoopRecoverableFsDataOutputStream extends RecoverableFsDataOutputStream {
 
-    private static final long LEASE_TIMEOUT = 100_000L;
+    private static final long LEASE_RECOVERY_TIMEOUT_MS = 9_000_000L;

Review comment:
       Good catch! Thanks. @aubdiy 




-- 
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 #16927: [FLINK-18592][Connectors/FileSystem] StreamingFileSink fails due to truncating HDFS file failure

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


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "d0fbb5aa88be503514642bb0571a4af183a21edf",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22603",
       "triggerID" : "d0fbb5aa88be503514642bb0571a4af183a21edf",
       "triggerType" : "PUSH"
     }, {
       "hash" : "eb7461868ad1a358c99fbc8bb71a81cf8e274b94",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22609",
       "triggerID" : "eb7461868ad1a358c99fbc8bb71a81cf8e274b94",
       "triggerType" : "PUSH"
     }, {
       "hash" : "d2d4f6457570342426d401ddc42264e648499f47",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22614",
       "triggerID" : "d2d4f6457570342426d401ddc42264e648499f47",
       "triggerType" : "PUSH"
     }, {
       "hash" : "92a72d04d07cfdbe1ef3a56d8a0a62977705436d",
       "status" : "CANCELED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22625",
       "triggerID" : "92a72d04d07cfdbe1ef3a56d8a0a62977705436d",
       "triggerType" : "PUSH"
     }, {
       "hash" : "92a72d04d07cfdbe1ef3a56d8a0a62977705436d",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22627",
       "triggerID" : "903407935",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "92a72d04d07cfdbe1ef3a56d8a0a62977705436d",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22627",
       "triggerID" : "92a72d04d07cfdbe1ef3a56d8a0a62977705436d",
       "triggerType" : "PUSH"
     }, {
       "hash" : "92a72d04d07cfdbe1ef3a56d8a0a62977705436d",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22649",
       "triggerID" : "903610520",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "92a72d04d07cfdbe1ef3a56d8a0a62977705436d",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22627",
       "triggerID" : "903610520",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "92a72d04d07cfdbe1ef3a56d8a0a62977705436d",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=24421",
       "triggerID" : "925527858",
       "triggerType" : "MANUAL"
     } ]
   }-->
   ## CI report:
   
   * 92a72d04d07cfdbe1ef3a56d8a0a62977705436d Azure: [CANCELED](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22625) Azure: [FAILURE](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22649) Azure: [FAILURE](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22627) Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=24421) 
   
   <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 #16927: [FLINK-18592][Connectors/FileSystem] StreamingFileSink fails due to truncating HDFS file failure

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


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "d0fbb5aa88be503514642bb0571a4af183a21edf",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22603",
       "triggerID" : "d0fbb5aa88be503514642bb0571a4af183a21edf",
       "triggerType" : "PUSH"
     }, {
       "hash" : "eb7461868ad1a358c99fbc8bb71a81cf8e274b94",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22609",
       "triggerID" : "eb7461868ad1a358c99fbc8bb71a81cf8e274b94",
       "triggerType" : "PUSH"
     }, {
       "hash" : "d2d4f6457570342426d401ddc42264e648499f47",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22614",
       "triggerID" : "d2d4f6457570342426d401ddc42264e648499f47",
       "triggerType" : "PUSH"
     }, {
       "hash" : "92a72d04d07cfdbe1ef3a56d8a0a62977705436d",
       "status" : "CANCELED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22625",
       "triggerID" : "92a72d04d07cfdbe1ef3a56d8a0a62977705436d",
       "triggerType" : "PUSH"
     }, {
       "hash" : "92a72d04d07cfdbe1ef3a56d8a0a62977705436d",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22627",
       "triggerID" : "903407935",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "92a72d04d07cfdbe1ef3a56d8a0a62977705436d",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22627",
       "triggerID" : "92a72d04d07cfdbe1ef3a56d8a0a62977705436d",
       "triggerType" : "PUSH"
     }, {
       "hash" : "92a72d04d07cfdbe1ef3a56d8a0a62977705436d",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22649",
       "triggerID" : "903610520",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "92a72d04d07cfdbe1ef3a56d8a0a62977705436d",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22627",
       "triggerID" : "903610520",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "92a72d04d07cfdbe1ef3a56d8a0a62977705436d",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=24421",
       "triggerID" : "925527858",
       "triggerType" : "MANUAL"
     } ]
   }-->
   ## CI report:
   
   * 92a72d04d07cfdbe1ef3a56d8a0a62977705436d Azure: [CANCELED](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22625) Azure: [FAILURE](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22649) Azure: [FAILURE](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22627) Azure: [FAILURE](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=24421) 
   
   <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 #16927: [FLINK-18592][Connectors/FileSystem] StreamingFileSink fails due to truncating HDFS file failure

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


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "d0fbb5aa88be503514642bb0571a4af183a21edf",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22603",
       "triggerID" : "d0fbb5aa88be503514642bb0571a4af183a21edf",
       "triggerType" : "PUSH"
     }, {
       "hash" : "eb7461868ad1a358c99fbc8bb71a81cf8e274b94",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22609",
       "triggerID" : "eb7461868ad1a358c99fbc8bb71a81cf8e274b94",
       "triggerType" : "PUSH"
     }, {
       "hash" : "d2d4f6457570342426d401ddc42264e648499f47",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22614",
       "triggerID" : "d2d4f6457570342426d401ddc42264e648499f47",
       "triggerType" : "PUSH"
     }, {
       "hash" : "92a72d04d07cfdbe1ef3a56d8a0a62977705436d",
       "status" : "CANCELED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22625",
       "triggerID" : "92a72d04d07cfdbe1ef3a56d8a0a62977705436d",
       "triggerType" : "PUSH"
     }, {
       "hash" : "92a72d04d07cfdbe1ef3a56d8a0a62977705436d",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22627",
       "triggerID" : "903407935",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "92a72d04d07cfdbe1ef3a56d8a0a62977705436d",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22627",
       "triggerID" : "92a72d04d07cfdbe1ef3a56d8a0a62977705436d",
       "triggerType" : "PUSH"
     }, {
       "hash" : "92a72d04d07cfdbe1ef3a56d8a0a62977705436d",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22649",
       "triggerID" : "903610520",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "92a72d04d07cfdbe1ef3a56d8a0a62977705436d",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22627",
       "triggerID" : "903610520",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "92a72d04d07cfdbe1ef3a56d8a0a62977705436d",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=24421",
       "triggerID" : "925527858",
       "triggerType" : "MANUAL"
     }, {
       "hash" : "f6eeaac02654638d1265f2e74e03a13defc5ab89",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=31741",
       "triggerID" : "f6eeaac02654638d1265f2e74e03a13defc5ab89",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 92a72d04d07cfdbe1ef3a56d8a0a62977705436d Azure: [CANCELED](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22625) Azure: [FAILURE](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22649) Azure: [FAILURE](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22627) Azure: [FAILURE](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=24421) 
   * f6eeaac02654638d1265f2e74e03a13defc5ab89 Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=31741) 
   
   <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] link3280 commented on pull request #16927: [FLINK-18592][Connectors/FileSystem] StreamingFileSink fails due to truncating HDFS file failure

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


   @flinkbot run azure


-- 
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 #16927: [FLINK-18592][Connectors/FileSystem] StreamingFileSink fails due to truncating HDFS file failure

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


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "d0fbb5aa88be503514642bb0571a4af183a21edf",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22603",
       "triggerID" : "d0fbb5aa88be503514642bb0571a4af183a21edf",
       "triggerType" : "PUSH"
     }, {
       "hash" : "eb7461868ad1a358c99fbc8bb71a81cf8e274b94",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22609",
       "triggerID" : "eb7461868ad1a358c99fbc8bb71a81cf8e274b94",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * d0fbb5aa88be503514642bb0571a4af183a21edf Azure: [FAILURE](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22603) 
   * eb7461868ad1a358c99fbc8bb71a81cf8e274b94 Azure: [PENDING](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22609) 
   
   <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 #16927: [FLINK-18592][Connectors/FileSystem] StreamingFileSink fails due to truncating HDFS file failure

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


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "d0fbb5aa88be503514642bb0571a4af183a21edf",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22603",
       "triggerID" : "d0fbb5aa88be503514642bb0571a4af183a21edf",
       "triggerType" : "PUSH"
     }, {
       "hash" : "eb7461868ad1a358c99fbc8bb71a81cf8e274b94",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22609",
       "triggerID" : "eb7461868ad1a358c99fbc8bb71a81cf8e274b94",
       "triggerType" : "PUSH"
     }, {
       "hash" : "d2d4f6457570342426d401ddc42264e648499f47",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22614",
       "triggerID" : "d2d4f6457570342426d401ddc42264e648499f47",
       "triggerType" : "PUSH"
     }, {
       "hash" : "92a72d04d07cfdbe1ef3a56d8a0a62977705436d",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "92a72d04d07cfdbe1ef3a56d8a0a62977705436d",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * d2d4f6457570342426d401ddc42264e648499f47 Azure: [FAILURE](https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=22614) 
   * 92a72d04d07cfdbe1ef3a56d8a0a62977705436d 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] link3280 commented on pull request #16927: [FLINK-18592][Connectors/FileSystem] StreamingFileSink fails due to truncating HDFS file failure

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


   It's a bit weird that CI was good on my forked repo. I'm giving it one more shot. 
   
   @flinkbot run azure


-- 
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] link3280 removed a comment on pull request #16927: [FLINK-18592][Connectors/FileSystem] StreamingFileSink fails due to truncating HDFS file failure

Posted by GitBox <gi...@apache.org>.
link3280 removed a comment on pull request #16927:
URL: https://github.com/apache/flink/pull/16927#issuecomment-903407935


   @flinkbot run azure


-- 
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] aubdiy commented on a change in pull request #16927: [FLINK-18592][Connectors/FileSystem] StreamingFileSink fails due to truncating HDFS file failure

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



##########
File path: flink-filesystems/flink-hadoop-fs/src/main/java/org/apache/flink/runtime/fs/hdfs/HadoopRecoverableFsDataOutputStream.java
##########
@@ -53,7 +56,9 @@
 @Internal
 class HadoopRecoverableFsDataOutputStream extends RecoverableFsDataOutputStream {
 
-    private static final long LEASE_TIMEOUT = 100_000L;
+    private static final long LEASE_RECOVERY_TIMEOUT_MS = 9_000_000L;

Review comment:
       @link3280  Are you Chinese?   I have some questions. Can I communicate with Wechat or QQ or nails?




-- 
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] link3280 commented on a change in pull request #16927: [FLINK-18592][Connectors/FileSystem] StreamingFileSink fails due to truncating HDFS file failure

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



##########
File path: flink-filesystems/flink-hadoop-fs/src/main/java/org/apache/flink/runtime/fs/hdfs/HadoopRecoverableFsDataOutputStream.java
##########
@@ -53,7 +56,9 @@
 @Internal
 class HadoopRecoverableFsDataOutputStream extends RecoverableFsDataOutputStream {
 
-    private static final long LEASE_TIMEOUT = 100_000L;
+    private static final long LEASE_RECOVERY_TIMEOUT_MS = 9_000_000L;

Review comment:
       You can contact me at wechat link3280.




-- 
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