Github user JoshRosen commented on the pull request:
https://github.com/apache/spark/pull/3704#issuecomment-67052062
The root issue is that this code is trying to return a unique file system
path that meets two conditions:
- The path does not correspond to an existing file.
- Files / directories created at that path will be cleaned up by the test
suite.
I think this was the intent expressed by the original
`Random.nextString(10)` code. One approach would be to have the _directory_ be
random and per-test and to just use a fixed filename within that directory.
This precludes parallel execution of the tests within a single copy of the
write-ahead log suites, but I don't think we're pursuing that type of
parallelism right now so I don't think that will be a huge deal.
---
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]