[ 
https://issues.apache.org/jira/browse/FLINK-8794?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16383295#comment-16383295
 ] 

Piotr Nowojski commented on FLINK-8794:
---------------------------------------

[~Backlight] 

3.What kind of downstream processor? Can not it just ignore the files with 
"*pending" or "*in-progress" sufixes and "_" prefix?

I also don't think this is a bug, but designed feature ( 
https://issues.apache.org/jira/browse/FLINK-5054 ) of the BucketingSink. On the 
other hand, we could change this behaviour/add an option for BucketingSink to 
use temporary "in-progress" and "pending" directories instead of prefixes.

Also [~kkl0u] could you elaborate why rescaling forced us to keep lingering 
files? 

 

> When using BucketingSink, it happens that one of the files is always in the 
> [.in-progress] state
> ------------------------------------------------------------------------------------------------
>
>                 Key: FLINK-8794
>                 URL: https://issues.apache.org/jira/browse/FLINK-8794
>             Project: Flink
>          Issue Type: Bug
>          Components: filesystem-connector
>    Affects Versions: 1.4.0, 1.4.1
>            Reporter: yanxiaobin
>            Priority: Major
>
> When using BucketingSink, it happens that one of the files is always in the 
> [.in-progress] state. And this state has never changed after that.  The 
> underlying use of S3 as storage.
>  
> {code:java}
> // code placeholder
> {code}
> 2018-02-28 11:58:42  147341619 {color:#d04437}_part-28-0.in-progress{color}
> 2018-02-28 12:06:27  147315059 part-0-0
> 2018-02-28 12:06:27  147462359 part-1-0
> 2018-02-28 12:06:27  147316006 part-10-0
> 2018-02-28 12:06:28  147349854 part-100-0
> 2018-02-28 12:06:27  147421625 part-101-0
> 2018-02-28 12:06:27  147443830 part-102-0
> 2018-02-28 12:06:27  147372801 part-103-0
> 2018-02-28 12:06:27  147343670 part-104-0
> ......



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to