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

ASF GitHub Bot commented on FLINK-4960:
---------------------------------------

GitHub user kl0u opened a pull request:

    https://github.com/apache/flink/pull/2747

    [FLINK-4960] Allow the AbstractStreamOperatorTestHarness to test scaling 
down

    As the title describes, this PR just adds a method in the 
`AbstractStreamOperatorTestHarness` that allows multiple partial operator 
states takes with the `snapshot()` method, to be combined into a single one. 
This, combined with the already existing functionality, will allow testing 
arbitrary  rescaling scenarios.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/kl0u/flink scaling_down_tests

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/flink/pull/2747.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 #2747
    
----
commit df4769d5cd26a1b84e39e1884b6e8b22975134dc
Author: kl0u <kklou...@gmail.com>
Date:   2016-10-28T13:37:42Z

    Allows the AbstractStreamOperatorTestHarness to re-scale arbitrarily

commit b129eacda31fa4ed449405004d74ffdb600fcf70
Author: kl0u <kklou...@gmail.com>
Date:   2016-11-03T10:57:57Z

    [FLINK-4960] Allow the AbstractStreamOperatorTestHarness to test scaling 
down

----


> Allow the AbstractStreamOperatorTestHarness to test scaling down
> ----------------------------------------------------------------
>
>                 Key: FLINK-4960
>                 URL: https://issues.apache.org/jira/browse/FLINK-4960
>             Project: Flink
>          Issue Type: New Feature
>          Components: Tests
>            Reporter: Kostas Kloudas
>            Assignee: Kostas Kloudas
>             Fix For: 1.2.0
>
>
> Currently the AbstractStreamOperatorTestHarness allows for testing an 
> operator when scaling up, through snapshot and restore. This is not enough 
> as many interesting corner cases arise when scaling down or during 
> arbitrary combinations of scaling up and down.
> This issue targets to add this functionality so that an operator can snapshot 
> its state, restore with different parallelism, and later scale down or 
> further up.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to