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

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • 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

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

              Dates

                Created:
                Updated: