[
https://issues.apache.org/jira/browse/BEAM-5677?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Uldis Barbans updated BEAM-5677:
--------------------------------
Description: {{LocalFileSystem.matchOne}} does support 'file:///some/path'
in {{spec}}, but {{LocalFileSystem.matchNewResource}} inconsistently treats the
same spec as the local relative path 'file:/some/path' - that's probably in
error. I expect that both methods would consistently accept 'file' URIs. (was:
{{LocalFileSystem.matchOne}} does support 'file:///some/path' in {{spec}}, but
{{LocalFileSystem.matchNewResource}} inconsistently treats the same spec as the
local path 'file:/some/path' - that's probably in error. I expect that both
methods would consistently accept 'file' URIs.)
> LocalFileSystem.matchNewResource fails to handle file scheme in URIs
> --------------------------------------------------------------------
>
> Key: BEAM-5677
> URL: https://issues.apache.org/jira/browse/BEAM-5677
> Project: Beam
> Issue Type: Bug
> Components: io-java-files
> Reporter: Uldis Barbans
> Assignee: Eugene Kirpichov
> Priority: Minor
>
> {{LocalFileSystem.matchOne}} does support 'file:///some/path' in {{spec}},
> but {{LocalFileSystem.matchNewResource}} inconsistently treats the same spec
> as the local relative path 'file:/some/path' - that's probably in error. I
> expect that both methods would consistently accept 'file' URIs.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)