[
https://issues.apache.org/jira/browse/BEAM-4672?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17123281#comment-17123281
]
Beam JIRA Bot commented on BEAM-4672:
-------------------------------------
This issue is P2 but has been unassigned without any comment for 60 days so it
has been labeled "stale-P2". If this issue is still affecting you, we care!
Please comment and remove the label. Otherwise, in 14 days the issue will be
moved to P3.
Please see https://beam.apache.org/contribute/jira-priorities/ for a detailed
explanation of what these priorities mean.
> Dynamic destination write to HDFS fails with IntervalWindow in shard template
> -----------------------------------------------------------------------------
>
> Key: BEAM-4672
> URL: https://issues.apache.org/jira/browse/BEAM-4672
> Project: Beam
> Issue Type: Bug
> Components: io-java-hadoop-file-system
> Affects Versions: 2.4.0
> Reporter: Jozef Vilcek
> Priority: P2
> Labels: stale-P2
>
> I am doing a windowed write with dynamic destinations and it is failing with
> error message :
> {noformat}
> java.lang.IllegalArgumentException: Expect srcResourceIds and destResourceIds
> have the same scheme, but received hdfs, window-1970-01-01T00{noformat}
>
> I am writing from IntervalWindow, for which target file name created by
> DefaultFilenamePolicy is going to look something like this:
> {noformat}
> window-1970-01-01T00:00:00.000Z-1970-01-01T01:00:00.000Z-pane-0-last-00000-of-00001.avro{noformat}
> When resolving the path, HadoopResourceId is used and this one is backed by
> java URI. The filename like above is parsed incorrectly because of ':'
> character introduced by window-to-string.
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)