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 2018/10/11 09:57:40 UTC
[GitHub] kent2171 opened a new pull request #6824: FLINK-9592
[flink-connector-filesystem] added ability to add hooks for file state
changing
kent2171 opened a new pull request #6824: FLINK-9592 [flink-connector-filesystem] added ability to add hooks for file state changing
URL: https://github.com/apache/flink/pull/6824
What is the purpose of the change:
This pull-request adds ability to hook the moment of file state changing
Brief change log:
- when file is moved from inProgress to pending state the list of pre-configured hooks will be called
- when file is moved from pending into final state the list of pre-configured hooks will be called
Verifying this change:
The following tests verify that hooks are called in proper time:
- testThatOnInProgressToPendingCallbackIsFiredWhenFilesAreMovedToPendingStateByTimeout
- testThatOnInProgressToPendingCallbackIsFiredWhenFilesAreMovedToPendingStateBySize
- testThatOnInProgressToPendingCallbackIsFiredWhenFunctionIsClosed
- testThatOnPendingToFinalCallbackIsFiredWhenCheckpointingIsCompleted
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, Yarn/Mesos, ZooKeeper: (no)
The S3 file system connector: (yes)
Documentation:
Does this pull request introduce a new feature? (yes)
If yes, how is the feature documented? add documentation and usage information in the description of **org.apache.flink.streaming.connectors.fs.bucketing.BucketingSink** class
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services