Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-376

FileSystem.listStatus should report the current length of a file if it has been sync'd

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      If a writer calls sync(), it should be possible to get the current file size via FileSystem.listStatus, rather than listStatus returning 0 for the file size until the file lease times out or the file is closed.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                jimk Jim Kellerman
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated: