You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2019/01/08 13:13:00 UTC

[jira] [Work logged] (BEAM-5910) FileSystems should retrieve lastModified time

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

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

                Author: ASF GitHub Bot
            Created on: 08/Jan/19 13:12
            Start Date: 08/Jan/19 13:12
    Worklog Time Spent: 10m 
      Work Description: iemejia commented on issue #6914: [BEAM-5910] Add lastModified field to MatchResult.Metadata
URL: https://github.com/apache/beam/pull/6914#issuecomment-452293133
 
 
   Sure @jklukas sorry for the delay will take a look ASAP (Just back from christmass holidays).
 
----------------------------------------------------------------
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:
users@infra.apache.org


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

    Worklog Id:     (was: 182376)
    Time Spent: 1h 40m  (was: 1.5h)

> FileSystems should retrieve lastModified time
> ---------------------------------------------
>
>                 Key: BEAM-5910
>                 URL: https://issues.apache.org/jira/browse/BEAM-5910
>             Project: Beam
>          Issue Type: Improvement
>          Components: sdk-java-core
>            Reporter: Jeff Klukas
>            Assignee: Jeff Klukas
>            Priority: Minor
>          Time Spent: 1h 40m
>  Remaining Estimate: 0h
>
> In the Java SDK, the Filesystems.match facilities are aimed at listing file names and collect very limited additional metadata from the filesystem (sizeBytes and isReadSeekEfficient). I propose adding a new field for lastModified time to MatchResult.Metadata that each FileSystem would populate when listing files.
> This would be a basis for a future improvement to FileIO.match(...).continuously(...) where we could let the user opt to poll not just for new file names, but also for existing file names if their content has been updated.
> In the near term, the addition of lastModified to Metadata would allow users to implement their own polling logic on top of Filesystems.match to detect and download new files from any of the supported filesystems.



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