Github user steveloughran commented on a diff in the pull request:

    https://github.com/apache/spark/pull/14731#discussion_r103183646
  
    --- Diff: 
streaming/src/main/scala/org/apache/spark/streaming/dstream/FileInputDStream.scala
 ---
    @@ -140,7 +137,7 @@ class FileInputDStream[K, V, F <: NewInputFormat[K, V]](
        * a union RDD out of them. Note that this maintains the list of files 
that were processed
        * in the latest modification time in the previous call to this method. 
This is because the
        * modification time returned by the FileStatus API seems to return 
times only at the
    -   * granularity of seconds. And new files may have the same modification 
time as the
    +   * granularity of seconds in HDFS. And new files may have the same 
modification time as the
        * latest modification time in the previous call to this method yet was 
not reported in
    --- End diff --
    
    no, it really is HDFS alone. We have no idea whatsoever about the 
granuarity of other filesystems. Could be 2 seconds (is FAT 32 supported? Hope 
not) NTFS is in nanoseconds 
[apparently](https://msdn.microsoft.com/en-us/library/windows/desktop/ms724290(v=vs.85).aspx).


---
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]

Reply via email to