Abacn commented on issue #33965:
URL: https://github.com/apache/beam/issues/33965#issuecomment-2669458845

   >  the method does not update revisions and schemas simultaneously,
   
   setDefaultPipelineOptions() is supposed to be called once, per job, on 
worker, at the beginning of pipeline execution. Because it initializes 
FileSystems with a given PipelineOption.
   
   A second invocation will overwrite the PipelineOption in FileSystem, if it 
is still used by the first pipeline, then the first pipeline is running into 
inconsistent state where its FileSystem interface are overriden by others
   
   However it is used in other place that really shouldn't to, to be able to 
use Beam FileSystem outside pipeline execution, and SerializablePipelineOptions 
constructor is one of it.
   
   So I think a proper fix is to eliminate setDefaultPipelineOptions and change 
to registerFileSystemsOnce


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to