It definitely matches files. I successfully ran the same pattern and files
in a batch job using v0.6.0. After digging deeper into this I created a bug
as it seems to be broken in 2.0:
https://issues.apache.org/jira/browse/BEAM-2338.

On Mon, May 22, 2017 at 4:47 PM, Chamikara Jayalath <[email protected]>
wrote:

> What is the glob pattern and the runner you are using ? Please note that
> FileBasedSource fails for empty glob-patterns. So make sore that your
> pattern matches to at least one file.
>
> Thanks,
> Cham
>
>
> On Mon, May 22, 2017 at 4:44 AM Vilhelm von Ehrenheim <
> [email protected]> wrote:
>
>> Hi!
>> Have anyone else had problems with glob patterns in 2.0? My pipelines are
>> failing w the `No files found based on the file pattern %s' % pattern`
>> error. Trying to run `FileSystems.match()` on patterns seem to only give me
>> results is there is no star in the pattern.
>>
>> Am I missing something obvious here? Do I need to update some dependency
>> or something to get this working?
>>
>> Thanks,
>> Vilhelm von Ehrenheim
>>
>

Reply via email to