[
https://issues.apache.org/jira/browse/FLINK-8980?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16425450#comment-16425450
]
ASF GitHub Bot commented on FLINK-8980:
---------------------------------------
GitHub user twalthr opened a pull request:
https://github.com/apache/flink/pull/5813
[FLINK-8980] [e2e] Add a BucketingSink end-to-end test
## What is the purpose of the change
This PR adds a end-to-end test for the BucketingSink. The job contains
stateful functions and writes out into multiple buckets. During the execution
task managers are killed and restarted.
This PR contains the fix from FLINK-9113. The changes in the file can be
remove once FLINK-9113 is resolved.
## Brief change log
- Added test job and test scripts
## Verifying this change
- Added test job and test scripts
## Does this pull request potentially affect one of the following parts:
- Dependencies (does it add or upgrade a dependency): yes
- 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: no
## Documentation
- Does this pull request introduce a new feature? no
- If yes, how is the feature documented? JavaDocs
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/twalthr/flink FLINK-8980
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/5813.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #5813
----
commit e57677688e3d56f545b9a770026037a5a7623c07
Author: Timo Walther <twalthr@...>
Date: 2018-03-27T15:44:58Z
[FLINK-8980] [e2e] Add a BucketingSink end-to-end test
----
> End-to-end test: BucketingSink
> ------------------------------
>
> Key: FLINK-8980
> URL: https://issues.apache.org/jira/browse/FLINK-8980
> Project: Flink
> Issue Type: Sub-task
> Components: Tests
> Affects Versions: 1.5.0
> Reporter: Till Rohrmann
> Assignee: Timo Walther
> Priority: Blocker
> Fix For: 1.5.0
>
>
> In order to verify the {{BucketingSink}}, we should add an end-to-end test
> which verifies that the {{BucketingSink}} does not lose data under failures.
> An idea would be to have a CountUp job which simply counts up a counter which
> is persisted. The emitted values will be written to disk by the
> {{BucketingSink}}. Now we should kill randomly Flink processes (cluster
> entrypoint and TaskExecutors) to simulate failures. Even after these
> failures, the written files should contain the correct sequence of numbers.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)