GitHub user yaochunnian opened a pull request:
https://github.com/apache/flink/pull/4720
Release 1.3.2 rc3
*Thank you very much for contributing to Apache Flink - we are happy that
you want to help us improve Flink. To help the community review your
contribution in the best possible way, please go through the checklist below,
which will get the contribution into a shape in which it can be best reviewed.*
*Please understand that we do not do this to make contributions to Flink a
hassle. In order to uphold a high standard of quality for code contributions,
while at the same time managing a large number of contributions, we need
contributors to prepare the contributions well, and give reviewers enough
contextual information for the review. Please also understand that
contributions that do not follow this guide will take longer to review and thus
typically be picked up with lower priority by the community.*
## Contribution Checklist
- Make sure that the pull request corresponds to a [JIRA
issue](https://issues.apache.org/jira/projects/FLINK/issues). Exceptions are
made for typos in JavaDoc or documentation files, which need no JIRA issue.
- Name the pull request in the form "[FLINK-XXXX] [component] Title of
the pull request", where *FLINK-XXXX* should be replaced by the actual issue
number. Skip *component* if you are unsure about which is the best component.
Typo fixes that have no associated JIRA issue should be named following
this pattern: `[hotfix] [docs] Fix typo in event time introduction` or
`[hotfix] [javadocs] Expand JavaDoc for PuncuatedWatermarkGenerator`.
- Fill out the template below to describe the changes contributed by the
pull request. That will give reviewers the context they need to do the review.
- Make sure that the change passes the automated tests, i.e., `mvn clean
verify` passes. You can set up Travis CI to do that following [this
guide](http://flink.apache.org/contribute-code.html#best-practices).
- Each pull request should address only one issue, not mix up code from
multiple issues.
- Each commit in the pull request has a meaningful commit message
(including the JIRA id)
- Once all items of the checklist are addressed, remove the above text
and this checklist, leaving only the filled out template below.
**(The sections below can be removed for hotfixes of typos)**
## What is the purpose of the change
*(For example: This pull request makes task deployment go through the blob
server, rather than through RPC. That way we avoid re-transferring them on each
deployment (during recovery).)*
## Brief change log
*(for example:)*
- *The TaskInfo is stored in the blob store on job creation time as a
persistent artifact*
- *Deployments RPC transmits only the blob storage reference*
- *TaskManagers retrieve the TaskInfo from the blob cache*
## Verifying this change
*(Please pick either of the following options)*
This change is a trivial rework / code cleanup without any test coverage.
*(or)*
This change is already covered by existing tests, such as *(please describe
tests)*.
*(or)*
This change added tests and can be verified as follows:
*(example:)*
- *Added integration tests for end-to-end deployment with large payloads
(100MB)*
- *Extended integration test for recovery after master (JobManager)
failure*
- *Added test that validates that TaskInfo is transferred only once
across recoveries*
- *Manually verified the change by running a 4 node cluser with 2
JobManagers and 4 TaskManagers, a stateful streaming program, and killing one
JobManager and two TaskManagers during the execution, verifying that recovery
happens correctly.*
## Does this pull request potentially affect one of the following parts:
- Dependencies (does it add or upgrade a dependency): (yes / no)
- The public API, i.e., is any changed class annotated with
`@Public(Evolving)`: (yes / no)
- The serializers: (yes / no / don't know)
- The runtime per-record code paths (performance sensitive): (yes / no /
don't know)
- Anything that affects deployment or recovery: JobManager (and its
components), Checkpointing, Yarn/Mesos, ZooKeeper: (yes / no / don't know)
## Documentation
- Does this pull request introduce a new feature? (yes / no)
- If yes, how is the feature documented? (not applicable / docs /
JavaDocs / not documented)
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/apache/flink release-1.3.2-rc3
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/4720.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 #4720
----
commit 5605feb5dd7c676a8e03102bd93dd6e1d43e19ad
Author: kkloudas <[email protected]>
Date: 2017-05-18T09:27:42Z
[FLINK-6624] [cep] Fix SharedBuffer#hashCode().
commit ca3e403e9f7845d455be4e3df0b00f8e4bac02db
Author: zentol <[email protected]>
Date: 2017-05-17T16:15:27Z
[FLINK-6031][yarn] Add config parameter for user-jar inclusion in classpath
This closes #3931
commit 44be162980d7f18e5859f215cd3283b71ae9d447
Author: zentol <[email protected]>
Date: 2017-05-16T07:19:15Z
[FLINK-6596][travis] Disable javadoc generation for jdk 7
commit 5569c4fafb08755ef12b7a96a173170dad883184
Author: zentol <[email protected]>
Date: 2017-05-16T08:19:18Z
[FLINK-6440][metrics] Downgrade fetching failure logging to DEBUG
commit 979228b3e2cac52c79c78855645a536d515befc9
Author: zentol <[email protected]>
Date: 2017-05-15T11:44:54Z
[FLINK-6416] Fix divide-by-zero in InputGateMetrics
commit 542068760901cba2fd6f2b3f3ff6a980aee0e23e
Author: Patrick Lucas <[email protected]>
Date: 2017-05-12T16:26:28Z
[hotfix] [docs] Fix link to docker-compose.yml
This closes #3887
commit 45923ffb8e5fcc98c569e55137e52a495cc7635f
Author: Greg Hogan <[email protected]>
Date: 2017-05-17T16:27:34Z
[FLINK-6616] [docs] Clarify provenance of official Docker images
Note that the official Docker images for Flink are community supported
and not an official release of the Apache Flink PMC.
This closes #3932
commit c794d6e0b2d5b0e26c2aa4e35ebe2f6c1e66e9c9
Author: twalthr <[email protected]>
Date: 2017-05-15T11:29:50Z
[FLINK-6585] [table] Fix execution of Table examples in IDE.
commit 0246ce51aaa12ce6ce4ac95898e014916a99ccd2
Author: twalthr <[email protected]>
Date: 2017-05-17T09:31:33Z
[FLINK-6543] [table] Deprecate toDataStream and add toAppendStream.
commit 51fb7ed791bc8c5c1c35dffcd9855a2e5a8f3087
Author: Fabian Hueske <[email protected]>
Date: 2017-05-17T14:26:27Z
[FLINK-6614] [table] Fix translation of group auxiliary functions (e.g.,
TUMBLE_END).
commit 6583fb4c1f85d5c4f57a81ec9a6294915ea165ac
Author: sunjincheng121 <[email protected]>
Date: 2017-05-18T05:02:24Z
[FLINK-6618] [table] Fix translation of WindowProperties in Table API.
commit cfb6a6982cce89f76209d7c4bea4c9905fd5092a
Author: Till Rohrmann <[email protected]>
Date: 2017-05-18T14:41:15Z
[hotfix] Restore KeySerializer only once
commit 6c573540f1e558192cbd3763446a9e6dd848efce
Author: Till Rohrmann <[email protected]>
Date: 2017-05-18T15:05:50Z
[hotfix] Remove some raw type usage in RocksDBKeyedStateBackend
Introduce more generic parameters
commit fe5b92f7e17a90315245706d5bc6868f9f729e56
Author: Till Rohrmann <[email protected]>
Date: 2017-05-18T15:48:30Z
[hotfix] Remove unnecessary job id from RocksDBKeyedStateBackend
commit 94111f98558274f6c17284ba7a9b627143ac7b1e
Author: Till Rohrmann <[email protected]>
Date: 2017-05-18T17:16:06Z
[hotfix] Correct equals & hashCode implementation of KryoSerializer
commit 1a43badcd2e7893819f6aba9e7cd7688176efc58
Author: Tzu-Li (Gordon) Tai <[email protected]>
Date: 2017-05-17T08:00:37Z
[FLINK-6608] [security, config] Relax Kerberos login contexts parsing
This closes #3928.
commit 58c4eed5accb0912472735bb00c148f6344a5679
Author: zjureel <[email protected]>
Date: 2017-05-15T09:41:47Z
[FLINK-6288] [kafka] New custom partitioner API that correctly handles
multiple Kafka sink topics
commit d3b587096b1fd694625429aa32557e70ed84955d
Author: Tzu-Li (Gordon) Tai <[email protected]>
Date: 2017-05-18T13:52:16Z
[FLINK-6288] [kafka] Cleanup and improvements to FlinkKafkaPartitioner
custom partitioning
This commit wraps up some general improvements to the new Kafka sink
custom partitioning API, most notably:
1. remove deprecated constructors from base classes, as they are not
user-facing.
2. modify producer IT test to test custom partitioning for dynamic
topics.
3. improve documentation and Javadocs of the new interfaces.
This closes #3901.
commit 0963718acf7137a481d7d1c28140e04ad613e71d
Author: Tzu-Li (Gordon) Tai <[email protected]>
Date: 2017-05-19T04:11:02Z
[hotfix] [kafka] Remove unused operator state store field in
FlinkKafkaProducerBase
commit f58fec70fef12056bd58b6cc2985532ccb07625e
Author: Till Rohrmann <[email protected]>
Date: 2017-05-17T12:52:04Z
[FLINK-6612] Allow ZooKeeperStateHandleStore to lock created ZNodes
In order to guard against deletions of ZooKeeper nodes which are still
being used
by a different ZooKeeperStateHandleStore, we have to introduce a locking
mechanism.
Only after all ZooKeeperStateHandleStores have released their lock, the
ZNode is
allowed to be deleted.
THe locking mechanism is implemented via ephemeral child nodes of the
respective
ZooKeeper node. Whenever a ZooKeeperStateHandleStore wants to lock a ZNode,
thus,
protecting it from being deleted, it creates an ephemeral child node. The
node's
name is unique to the ZooKeeperStateHandleStore instance. The delete
operations
will then only delete the node if it does not have any children associated.
In order to guard against oprhaned lock nodes, they are created as
ephemeral nodes.
This means that they will be deleted by ZooKeeper once the connection of the
ZooKeeper client which created the node timed out.
commit f6200407979fb6987f86d7029df81b345f0d9525
Author: Stefan Richter <[email protected]>
Date: 2017-05-16T10:32:05Z
[FLINK-6633] Register shared state before adding to CompletedCheckpointStore
commit d1cff3ae32665263e404c30d9bc21205092123db
Author: Greg Hogan <[email protected]>
Date: 2017-05-15T13:35:36Z
[FLINK-6582] [docs] Project from maven archetype is not buildable by default
The pom.xml for flink-quickstart-java and flink-quickstart-scala must
specify scala.version and scala.binary.version.
This closes #3910
commit 6d178a9597f5f9b79a0e3a6f4a61a10734188c85
Author: Haohui Mai <[email protected]>
Date: 2017-05-16T00:09:18Z
[FLINK-6574] [table] Support nested catalogs in ExternalCatalog.
commit 3dba48ee6ad3dc6bdb9abfaa91accbb8581cfd2a
Author: Wright, Eron <[email protected]>
Date: 2017-05-17T16:46:13Z
[FLINK-6606] Set UserCodeClassLoader as TCCL for MasterTriggerRestoreHook
- wrap calls to MasterTriggerRestoreHook (and its factory) such that the
user classloader is applied
This closes #3933.
commit f6a596fe3f8924602c34636959e3d7e48cb2262f
Author: Till Rohrmann <[email protected]>
Date: 2017-05-19T13:06:35Z
[FLINK-6606] Hide WrapperMasterHook by making it private
commit c62553c00d68c1d17078522652fd5ffbaf6bbb90
Author: kkloudas <[email protected]>
Date: 2017-05-19T08:40:44Z
[FLINK-6634] [cep] NFASerializer serializes ComputationState counter.
commit 17a4bb14821fd107131e1051b57326e43d660195
Author: zentol <[email protected]>
Date: 2017-05-10T14:50:18Z
[hotfix][rat] Add exclusion for all test snapshots/savepoints
This closes #3854.
commit 5fde739fd2b040a90d42a6a73f1d119648e863a7
Author: zjureel <[email protected]>
Date: 2017-05-15T10:14:11Z
[FLINK-6439] Fix close OutputStream && InputStream in OperatorSnapshotUtil
commit c3ab5c8253b32bddc3fb9bf0c1085813e7f97e2f
Author: zentol <[email protected]>
Date: 2017-05-15T11:56:06Z
[FLINK-6586] InputGateMetrics return 0 as min for local channels
commit 54b88d71c78a670762e152b337c04a2e68e8481d
Author: zentol <[email protected]>
Date: 2017-05-19T12:39:20Z
[FLINK-5636][metrics] Measure numRecordsIn in StreamTwoInputProcessor
----
---