You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 11, 2022. It is now read-only.
java.lang.RuntimeException: Failed to read from source: com.google.cloud.dataflow.sdk.runners.worker.TextSource@644baf4a
...
Caused by: java.io.IOException: No match for file pattern 'C:\Users\jroy\AppData\Local\Temp\test8262931969830113037.txt'
at com.google.cloud.dataflow.sdk.runners.worker.FileBasedSource.iterator(FileBasedSource.java:100)
The file exists, so this exception is unexpected.
The bug is in FileIOChannelFactory::match(), which improperly appends the value returned by File::getAbsolutePath() to a glob expression. On Windows, getAbsolutePath() returns the path with backslash path separators, which are interpreted as escape characters by FileSystem::getPathMatcher(). So no matches are returned.
The text was updated successfully, but these errors were encountered:
I wanted to follow up that we have addressed several Windows-specific issues in the codebase, including this one and a few separate unit test failures.
We'd appreciate reports of any additional issues that may come up. Thanks!
Apologies if this is not the right place to submit issues.
The following code
throws an exception on a Windows client:
The file exists, so this exception is unexpected.
The bug is in
FileIOChannelFactory::match()
, which improperly appends the value returned byFile::getAbsolutePath()
to a glob expression. On Windows,getAbsolutePath()
returns the path with backslash path separators, which are interpreted as escape characters byFileSystem::getPathMatcher()
. So no matches are returned.The text was updated successfully, but these errors were encountered: