Skip to content

fs.put_file flakily uploading 0 bytes #868

@brandon-leapyear

Description

@brandon-leapyear

We're running into a flaky issue where using fsspec to upload data to WebHDFS is uploading 0 bytes. Printing the contents of the file before and after fs.put_file() confirms that the file on disk is non-empty. I have also found that this line is returning an empty string on the first (and only) iteration of the loop:

data = f1.read(self.blocksize)

This is happening in CI (Circle CI), so resource/disk constraints is not out of the question, but it's very odd that I can read the file before and after. Let me know what other information would be helpful to debug and I can try to get those to you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions