Ismaël Mejía created BEAM-6213:
----------------------------------

             Summary: Beam LocalFilesystem does not match glob patterns in 
windows
                 Key: BEAM-6213
                 URL: https://issues.apache.org/jira/browse/BEAM-6213
             Project: Beam
          Issue Type: Bug
          Components: sdk-java-core
    Affects Versions: 2.8.0
            Reporter: Ismaël Mejía
            Assignee: Ismaël Mejía


Reported stack trace:
[WARNING]
org.apache.beam.sdk.Pipeline$PipelineExecutionException: 
java.nio.file.InvalidPathException: Illegal char <*> at index 0: *.xml
        at 
org.apache.beam.runners.direct.DirectRunner$DirectPipelineResult.waitUntilFinish(DirectRunner.java:332)
        at 
org.apache.beam.runners.direct.DirectRunner$DirectPipelineResult.waitUntilFinish(DirectRunner.java:302)
        at 
org.apache.beam.runners.direct.DirectRunner.run(DirectRunner.java:197)
        at org.apache.beam.runners.direct.DirectRunner.run(DirectRunner.java:64)
        at org.apache.beam.sdk.Pipeline.run(Pipeline.java:313)
        at org.apache.beam.sdk.Pipeline.run(Pipeline.java:299)
        at org.apache.beam.examples.TestFileIO.runCopyFile(TestFileIO.java:80)
        at org.apache.beam.examples.TestFileIO.main(TestFileIO.java:35)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:282)
        at java.lang.Thread.run(Thread.java:748)
Caused by: java.nio.file.InvalidPathException: Illegal char <*> at index 0: 
*.xml
        at sun.nio.fs.WindowsPathParser.normalize(WindowsPathParser.java:182)
        at sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:153)
        at sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:77)
        at sun.nio.fs.WindowsPath.parse(WindowsPath.java:94)
        at sun.nio.fs.WindowsFileSystem.getPath(WindowsFileSystem.java:255)
        at java.nio.file.Paths.get(Paths.java:84)
        at 
org.apache.beam.sdk.io.LocalFileSystem.matchOne(LocalFileSystem.java:217)
        at org.apache.beam.sdk.io.LocalFileSystem.match(LocalFileSystem.java:90)
        at org.apache.beam.sdk.io.FileSystems.match(FileSystems.java:119)
        at org.apache.beam.sdk.io.FileSystems.match(FileSystems.java:140)
        at org.apache.beam.sdk.io.FileSystems.match(FileSystems.java:152)
        at 
org.apache.beam.sdk.io.FileIO$MatchAll$MatchFn.process(FileIO.java:636)
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to