beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Work logged] (BEAM-5036) Optimize FileBasedSink's WriteOperation.moveToOutput()
Date Fri, 21 Sep 2018 18:01:01 GMT


ASF GitHub Bot logged work on BEAM-5036:

                Author: ASF GitHub Bot
            Created on: 21/Sep/18 18:00
            Start Date: 21/Sep/18 18:00
    Worklog Time Spent: 10m 
      Work Description: lukecwik commented on issue #6289: [BEAM-5036] Optimize the FileBasedSink
   What we are trying to say is that FileSystems will have a convenient and
   nice interface that does the right thing yet each FileSystem will have an
   arbitrary and/or overly complex interface. If we have users only relying on
   using FileSystems, why do we need that complexity within FileSystem
   On Thu, Sep 20, 2018 at 12:46 PM Tim Robertson <>
   > Thanks everyone.
   > @chamikaramj <> - if we are to correctly
   > support an OVERWRITE_EXISTING_FILES flag I think we'd either have to pass
   > the flag down into the filesystem implementations themselves, or do like
   > the HDFS one does now and always throw FileAlreadyExistsException (note a
   > user reports that issue today on user@ with AvroIO and LocalFileSystem)
   > when the target is in place. The later would require some of them to do a
   > "does target exist" check before attempting the move. Do you have a
   > preference on that?
   > —
   > You are receiving this because you were mentioned.
   > Reply to this email directly, view it on GitHub
   > <>, or mute
   > the thread
   > <>
   > .

This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:

Issue Time Tracking

    Worklog Id:     (was: 146503)
    Time Spent: 3h 20m  (was: 3h 10m)

> Optimize FileBasedSink's WriteOperation.moveToOutput()
> ------------------------------------------------------
>                 Key: BEAM-5036
>                 URL:
>             Project: Beam
>          Issue Type: Improvement
>          Components: io-java-files
>    Affects Versions: 2.5.0
>            Reporter: Jozef Vilcek
>            Assignee: Tim Robertson
>            Priority: Major
>          Time Spent: 3h 20m
>  Remaining Estimate: 0h
> moveToOutput() methods in FileBasedSink.WriteOperation implements move by copy+delete.
It would be better to use a rename() which can be much more effective for some filesystems.
> Filesystem must support cross-directory rename. BEAM-4861 is related to this for the
case of HDFS filesystem.
> Feature was discussed here:

This message was sent by Atlassian JIRA

View raw message