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

    https://github.com/apache/spark/pull/16451#discussion_r95078082
  
    --- Diff: 
streaming/src/test/scala/org/apache/spark/streaming/CheckpointSuite.scala ---
    @@ -755,7 +755,14 @@ class CheckpointSuite extends TestSuiteBase with 
DStreamCheckpointTester
             assert(outputBuffer.asScala.flatten.toSet === expectedOutput.toSet)
           }
         } finally {
    -      Utils.deleteRecursively(testDir)
    +      try {
    +        // As the driver shuts down in the middle of processing above, 
`testDir` is not closed
    +        // correctly which causes the test failure on Windows.
    +        Utils.deleteRecursively(testDir)
    +      } catch {
    +        case e: IOException if Utils.isWindows =>
    +          logWarning(e.getMessage)
    +      }
    --- End diff --
    
    Here, it seems it shuts down in the middle of processing for testing. So, 
it looks ending up with not closing it.


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