You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Alexander Preuss (Jira)" <ji...@apache.org> on 2022/03/09 14:04:00 UTC

[jira] [Commented] (FLINK-26322) Test FileSink compaction manually

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

Alexander Preuss commented on FLINK-26322:
------------------------------------------

I tested the FileSink's compaction and here are my observations for the scenarios:
 # Working as expected
 # Working as expected
 # Throws  java.lang.IllegalStateException: Illegal committable to compact, pending file is null
 # Does not finish/seems to be stuck. No logs after the job has been submitted

> Test FileSink compaction manually
> ---------------------------------
>
>                 Key: FLINK-26322
>                 URL: https://issues.apache.org/jira/browse/FLINK-26322
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Connectors / FileSystem
>    Affects Versions: 1.15.0
>            Reporter: Yun Gao
>            Assignee: Alexander Preuss
>            Priority: Blocker
>              Labels: release-testing
>             Fix For: 1.15.0
>
>
> Documentation of compaction on FileSink: [https://nightlies.apache.org/flink/flink-docs-master/docs/connectors/datastream/filesystem/#compaction]
> Possible scenarios might include
>  # Enable compaction with file-size based compaction strategy.
>  # Enable compaction with number-checkpoints based compaction strategy.
>  # Enable compaction, stop-with-savepoint and restarted with compaction disabled.
>  # Disable compaction, stop-with-savepoint and restarted with compaction enabled.
> For each scenario, it might need to verify that
>  # No repeat and missed records.
>  # The resulted files' size exceeds the specified condition.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)