Github user liyezhang556520 commented on the pull request:
https://github.com/apache/spark/pull/5886#issuecomment-99322278
Hi @vanzin , you are correct that a single call to `listStatus` will return
all information of the all available log files, but I'm not sure about the
details of `listStatus` in HDFS, it seems when there are too many items in the
directory, HDFS will fetch them in batch, and between the batches, there is a
time gap. in which some of the write operations can be inserted. So my concern
is whether the `getModificationTime` provided by HDFS `FileStatus` can be fully
trusted? May be there are some scenarios that HDFS can guarantee.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]