Github user zsxwing commented on a diff in the pull request:
    --- Diff: 
    @@ -73,4 +83,44 @@ class FileStreamSourceSuite extends SparkFunSuite {
         assert(map.isNewFile(FileEntry("b", 10)))
    +  testWithUninterruptibleThread("do not recheck that files exist during 
getBatch") {
    +    withTempDir { temp =>
    +      spark.conf.set(
    +        s"fs.$scheme.impl",
    +        classOf[ExistsThrowsExceptionFileSystem].getName)
    +      // add the metadata entries as a pre-req
    +      val dir = new File(temp, "dir") // use non-existent directory to 
test whether log make the dir
    +      val metadataLog = new HDFSMetadataLog[Array[FileEntry]](spark, 
    --- End diff --
    Need to use `FileStreamSourceLog` here to add FileEntry.

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 or file a JIRA ticket
with INFRA.

To unsubscribe, e-mail:
For additional commands, e-mail:

Reply via email to