Github user taoli91 commented on a diff in the pull request:
https://github.com/apache/spark/pull/12696#discussion_r61046274
--- Diff: core/src/test/scala/org/apache/spark/storage/DiskStoreSuite.scala
---
@@ -22,10 +22,12 @@ import java.util.Arrays
import org.apache.spark.{SparkConf, SparkFunSuite}
import org.apache.spark.util.io.ChunkedByteBuffer
+import org.apache.spark.util.Utils
class DiskStoreSuite extends SparkFunSuite {
test("reads of memory-mapped and non memory-mapped files are
equivalent") {
+ assume(!Utils.isWindows)
--- End diff --
It will cause error when we tried to re-open the filestore and the
memory-mapped byte buffer to the file has not been GC.
Ref: http://bugs.java.com/bugdatabase/view_bug.do?bug_id=4724038
http://stackoverflow.com/questions/3602783/file-access-synchronized-on-java-object
---
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]