[ 
https://issues.apache.org/jira/browse/BEAM-8577?focusedWorklogId=366842&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-366842
 ]

ASF GitHub Bot logged work on BEAM-8577:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 06/Jan/20 18:42
            Start Date: 06/Jan/20 18:42
    Worklog Time Spent: 10m 
      Work Description: mxm commented on issue #10027: [BEAM-8577] Initialize 
FileSystems during Coder deserialization in Re…
URL: https://github.com/apache/beam/pull/10027#issuecomment-571258190
 
 
   I used a rebased version of David's commit, that's why this PR doesn't 
close. Sorry about that. Authorship is preserved through 
2dc923b0aeb627d0db5d7b2a41f56865659fd629 via the parent 
785609f22d013411b7973bbf9e2d15c3c8171fb2.
   
   Thank you!
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 366842)
    Time Spent: 2.5h  (was: 2h 20m)

> FileSystems may have not be initialized during ResourceId deserialization
> -------------------------------------------------------------------------
>
>                 Key: BEAM-8577
>                 URL: https://issues.apache.org/jira/browse/BEAM-8577
>             Project: Beam
>          Issue Type: Bug
>          Components: runner-flink
>    Affects Versions: 2.16.0
>            Reporter: David Morávek
>            Assignee: David Morávek
>            Priority: Major
>             Fix For: 2.19.0
>
>          Time Spent: 2.5h
>  Remaining Estimate: 0h
>
> - FileSystems use static registration using 
> *FileSystems#setDefaultPipelineOptions* method.
> - *#setDefaultPipelineOptions* is called either when deserializaing 
> SerializablePipelineOptions or during opening of various beam operators. 
> - *FileIO#matchAll* is expanded using *Reshuffle.viaRandomKey()*.
> - Reshuffle is implemented using *.rebalance*, that doesn't have a 
> "RichFunction" lifecycle, so we need to find another way to register 
> FileSystems, as the deserialization may happen before other "rich operators" 
> get executed on particular task manager.
> This results in random pipeline fails as the task assignment is not 
> deterministic.
> We can workaround this, by registering FileSystems during coder 
> deserialization.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to