-
Notifications
You must be signed in to change notification settings - Fork 13.8k
[FLINK-10168] [Core & DataStream] Add FileFilter to FileInputFormat and FileModTimeFilter which sets a read start position for files by modification time #6979
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Member
Author
… FileModTimeFilter which sets a read start position for files by modification time
…ntext in CollectionExecutor This closes #7213
…() and act accordingly. This closes #7047.
The code examples for Scala and Java are both broken, and set a bad example in terms of efficiency. This closes #7232.
…nator only if job is running (#7216)
…ksDB in multi device setups.
…operators This closes #6918
This enables submission of multiple jobs in the Jepsen tests. The job specifications are in an .edn file that must be passed as command line arguments. The checker verifies that all jobs are running at the end of the test. The job cancellation function now cancels all jobs at once. Delete script/run-tests.sh and move code to docker/run-tests.sh.
This enables toggling the setup of test dependencies, such as Hadooop, Mesos, and, ZooKeeper through the --test-spec edn file. The type of the Flink cluster can also be specified via: :flink-yarn-job :flink-yarn-session :flink-mesos-session, and :flink-standalone-session. Retryable operations that exhausted all attempts, now propagate the exception by default. This is to fail fast if during the db/setup!, an operation, such as Flink job submission, fails to complete.
…tions This closes #7211.
…itting records We need to make sure that concurrent access to the RecordWriter is protected by a lock. It seems that everything but the StreamIterationHead was synchronizing on the checkpoint lock and hence we sync here as well.
…k start document. This closes #7269
…ANCELED This closes #7004.
… tests should fail if exception isn't thrown This commit strengthens tests in StateBackendMigrationTestBase that depend on a certain state operation (restoring state, accessing state, etc.) to be failing to assert correct behaviour. However, we previously do not really fail the test if no exception was thrown when there should be. This also caught some bugs in the test itself which had the tests verifying incorrect behaviour.
…ackend should always be compatible Previously, we were only checking if the new namespace serializer is incompatible, while properly we should be checking that it is strictly compatible. This doesn't affect any user expected behaviour, since the namespace serializer is never exposed to users.
The traversal of the DAG is not efficient enough at some places which can lead to very long plan creation times. This introduces caching for the traversal to avoid traversing nodes multiple times. Caching is performed at two places: - when registering Kryo types - when determining the maximum parallelism
… doc This closes #7311.
…ckend and add harness tests for CollectAggFunction This closes #7253
…iable This closes #7267.
…Sink. This closes #6774.
The test completes in 500ms on my machine. On Travis the resources are much more limited and it fails occasionally. The following should ensure the test does not fail anymore: - Increase test timeout to 30 seconds - Reduce complexity of tests by decreasing branching factor
… FileModTimeFilter which sets a read start position for files by modification time
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What is the purpose of the change
The motivation is
Brief change log
FileFilterinterface that users can access all available information of a file and set filtering rulesFileFiltertoFileInputFormatFileModTimeFilter, in which users can set a read start position for files so Flink only process files that are modified after the given timestampVerifying this change
This change added tests and can be verified as follows:
FileInputFormatTestFileModTimeFilterTestDoes this pull request potentially affect one of the following parts:
@Public(Evolving): (yes )Documentation