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

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

GitHub user pnowojski opened a pull request:

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

    [FLINK-8984][network] Drop taskmanager.exactly-once.blocking.data.enabled 
config option

    Previously there were twe options:
    
    taskmanager.network.credit-based-flow-control.enabled
    
    and
    
    taskmanager.exactly-once.blocking.data.enabled
    
    If we disabled first one, but keept default value for the second one 
deadlocks will occur.
    
    By dropping taskmanager.exactly-once.blocking.data.enabled we can always 
use:
     - blocking BarrierBuffer for credit based flow control
     - spilling BarrierBuffer for non credit based flow control.
    
    ## 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)
      - The S3 file system connector: (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/pnowojski/flink f8984

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

    https://github.com/apache/flink/pull/5708.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 #5708
    
----
commit ed992c58502779d22e3e9b5c1a120329fc20c1a6
Author: Piotr Nowojski <piotr.nowojski@...>
Date:   2018-03-16T12:28:08Z

    [FLINK-8984][network] Drop taskmanager.exactly-once.blocking.data.enabled 
config option
    
    Previously there were twe options:
    
    taskmanager.network.credit-based-flow-control.enabled
    
    and
    
    taskmanager.exactly-once.blocking.data.enabled
    
    If we disabled first one, but keept default value for the second one 
deadlocks will occur.
    
    By dropping taskmanager.exactly-once.blocking.data.enabled we can always 
use:
     - blocking BarrierBuffer for credit based flow control
     - spilling BarrierBuffer for non credit based flow control.

----


> Disabling credit based flow control deadlocks Flink on checkpoint
> -----------------------------------------------------------------
>
>                 Key: FLINK-8984
>                 URL: https://issues.apache.org/jira/browse/FLINK-8984
>             Project: Flink
>          Issue Type: Bug
>          Components: Network
>    Affects Versions: 1.5.0
>            Reporter: Piotr Nowojski
>            Assignee: Piotr Nowojski
>            Priority: Blocker
>             Fix For: 1.5.0
>
>
> This is configuration issue. There are two options: 
> taskmanager.network.credit-based-flow-control.enabled
> and
> taskmanager.exactly-once.blocking.data.enabled
> If we disable first one, but remain default value for the second one 
> deadlocks will occur. I think we can safely drop the second config value 
> altogether and always use blocking BarrierBuffer for credit based flow 
> control and spilling BarrierBuffer for non credit based flow control.
> cc [~zjwang]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to